- Posts: 532
- Thank you received: 327
Trajectory Planner using Ruckig Lib
- Joco
- Offline
- Platinum Member
-
Less
More
2 years 11 months ago #286745
by Joco
Replied by Joco on topic Trajectory Planner using Ruckig Lib
But what accelerations are you running? That’s where the challenges start to appear.
Please Log in or Create an account to join the conversation.
- Mecanix
- Offline
- Platinum Member
-
Less
More
- Posts: 447
- Thank you received: 229
2 years 11 months ago - 2 years 11 months ago #286746
by Mecanix
Replied by Mecanix on topic Trajectory Planner using Ruckig Lib
An algo that converts linear moves into velocity continuous splines (i.e. compressor) would sort it. Ain't a programmer's job though (methink), more or less for another world's Master/Adv. Mathematician Job Advert rather! Seeing line-line blending being tested by Grotius is mind-blowing already though...
You guys rock. Hands down. And, Thank you.
You guys rock. Hands down. And, Thank you.
Last edit: 2 years 11 months ago by Mecanix.
Please Log in or Create an account to join the conversation.
- Joco
- Offline
- Platinum Member
-
Less
More
- Posts: 532
- Thank you received: 327
2 years 11 months ago #286754
by Joco
Replied by Joco on topic Trajectory Planner using Ruckig Lib
@Grotius - did another test and all 4 joints generate follow errors as soon as push the "run" button. Homing works fine.
Attached is the config file in use.
I have run the same ngc using a standard setup of axis with no issues. See attached
Thanks - J.
Attached is the config file in use.
I have run the same ngc using a standard setup of axis with no issues. See attached
Thanks - J.
The following user(s) said Thank You: tivoi, Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
2 years 11 months ago - 2 years 11 months ago #286761
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi Joco,
Maybe try to edit line 816 from tp_runners.c to set lower values.
I used this fixed values to set the runners faster then the tp.
#include "stdio.h"
inline void update_ruckig_followers(TP_STRUCT * const tp){
// printf("update ruckig followers. \n");
rxyz.maxacc=tp->aMax*1.2;
rxyz.maxjerk=tp->max_jerk*10;
rxyz.maxvel = tp->vLimit*1.2;
I hope it will run on real hardware, offline it seemed to work out of the box. Good luck.
Maybe try to edit line 816 from tp_runners.c to set lower values.
I used this fixed values to set the runners faster then the tp.
#include "stdio.h"
inline void update_ruckig_followers(TP_STRUCT * const tp){
// printf("update ruckig followers. \n");
rxyz.maxacc=tp->aMax*1.2;
rxyz.maxjerk=tp->max_jerk*10;
rxyz.maxvel = tp->vLimit*1.2;
I hope it will run on real hardware, offline it seemed to work out of the box. Good luck.
Last edit: 2 years 11 months ago by Grotius.
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
2 years 11 months ago #286762
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Ihavenofish,
How does a fillet work when like segments are 0.001" long?
I can't say at the moment, fillet code is still not finished.
How does a fillet work when like segments are 0.001" long?
I can't say at the moment, fillet code is still not finished.
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
2 years 11 months ago #286763
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Aleksamc,
May I ask one small question in your topic?
I had one problem with A axis (or any other, that not belong to XYZ).
I generated G-codes in ArtCam (it generates a lot of small pieces with length of movement 0.1mm). When I did such code for A-axis (rotary) I received very slow movement. Solution of that was to rename A to X, as example.
Does your trajectory planner could solve this problem?
This solution is not in the trajecory planner, but i get your point. We are still not ready with coding the trajectory planner.
Later on, we can look at external axis and how to process them outside the xyz tp movement.
May I ask one small question in your topic?
I had one problem with A axis (or any other, that not belong to XYZ).
I generated G-codes in ArtCam (it generates a lot of small pieces with length of movement 0.1mm). When I did such code for A-axis (rotary) I received very slow movement. Solution of that was to rename A to X, as example.
Does your trajectory planner could solve this problem?
This solution is not in the trajecory planner, but i get your point. We are still not ready with coding the trajectory planner.
Later on, we can look at external axis and how to process them outside the xyz tp movement.
The following user(s) said Thank You: aleksamc
Please Log in or Create an account to join the conversation.
Time to create page: 0.169 seconds