- Posts: 186
- Thank you received: 49
Trajectory Planner using Ruckig Lib
- zmrdko
- Offline
- Elite Member
-
Less
More
2 years 5 months ago - 2 years 5 months ago #300292
by zmrdko
Replied by zmrdko on topic Trajectory Planner using Ruckig Lib
awesome!
Last edit: 2 years 5 months ago by zmrdko.
The following user(s) said Thank You: 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 5 months ago #300318
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi,
That is an impressive difference!
Yes i agree.
awesome!
I have a new ethercat production machine, this machine is a candidate to test the scurve on.
Project update:
I finally tracked down the cmake compile error, with makes linuxcnc runs in non-realtime mode.
Now i am able to us the compiled cmake code in realtime.
Lcnc startup output now ok for loading scurve trajectory planner:
linuxcnc TPMOD=tpmod_scurve_grotius HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
This is solved it in the cmakefile of the component, using a static link to the lcnc/lib dir.
# Link to libraries.
target_link_libraries(${PROJECT_NAME} PRIVATE linuxcnchal -Wl,-rpath=/home/user/linuxcnc/lib/)
Now this is not a beauty thing, i will make a better solution later on.
That is an impressive difference!
Yes i agree.
awesome!
I have a new ethercat production machine, this machine is a candidate to test the scurve on.
Project update:
I finally tracked down the cmake compile error, with makes linuxcnc runs in non-realtime mode.
Now i am able to us the compiled cmake code in realtime.
Lcnc startup output now ok for loading scurve trajectory planner:
linuxcnc TPMOD=tpmod_scurve_grotius HOMEMOD=homemod EMCMOT=motmod
Note: Using POSIX realtime
This is solved it in the cmakefile of the component, using a static link to the lcnc/lib dir.
# Link to libraries.
target_link_libraries(${PROJECT_NAME} PRIVATE linuxcnchal -Wl,-rpath=/home/user/linuxcnc/lib/)
Now this is not a beauty thing, i will make a better solution later on.
The following user(s) said Thank You: Bari, akb1212, tommylight, pommen, Lcvette, RDA, zmrdko, Unlogic
Please Log in or Create an account to join the conversation.
- ihavenofish
- Offline
- Platinum Member
-
Less
More
- Posts: 1029
- Thank you received: 286
2 years 5 months ago #300373
by ihavenofish
Replied by ihavenofish on topic Trajectory Planner using Ruckig Lib
wooooooooooo
*sends virtual pizza and ice cream*
*sends virtual pizza and ice cream*
The following user(s) said Thank You: 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 5 months ago #300378
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi,
*sends virtual pizza and ice cream*
Nice !
I am now going to test the scurve trajectory planner on the production machine.
It starts up : using posix realtime.
Wish me luck, fingers crossed.
Will make a youtube video once again.
*sends virtual pizza and ice cream*
Nice !
I am now going to test the scurve trajectory planner on the production machine.
It starts up : using posix realtime.
Wish me luck, fingers crossed.
Will make a youtube video once again.
The following user(s) said Thank You: tommylight, Clive S, tivoi, rodw, DHeineck, Unlogic
Please Log in or Create an account to join the conversation.
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
2 years 5 months ago #300382
by tommylight
Replied by tommylight on topic Trajectory Planner using Ruckig Lib
Even on my feet, i have fingers crossed!Wish me luck, fingers crossed.
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 5 months ago #300391
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi,
Thanks Tommy, it helped.
Just finished the test on the production machine.
In the beginning i had some problems, but after a few hours of coding and testing everything went more or less ok.
So in the end, this test is succesfull.
This test was using the tpmod_scurve_grotius.so component. This component used no look ahead and was
using low delta values for the gbrl algoritme.
The component used no back-end scurve runners. The stepgen was directly attached at the tpmod_scurve_grotius.so
output values.
A few things i learned :
- Don't press stop button when machine is moving. Better press pause button as stop can trigger a joint follow error.
- Home all axis before jogging machine, sometimes the dual x axis motors won't run together if not homed.
- The maximum values of this parport driven machine : maxjerk 7500, maxacc 1000, maxvel 10000.
- Change the jerk value when machine is not moving, if doing it while moving linuxcnc can freeze.
A few things made me happy :
- The bigger arc's in the program, the machine moved quite nice.
- The program was running quite stable, restart ok, pause ok. The linuxcnc program flow seems to work properly.
The video :
Thanks Tommy, it helped.
Just finished the test on the production machine.
In the beginning i had some problems, but after a few hours of coding and testing everything went more or less ok.
So in the end, this test is succesfull.
This test was using the tpmod_scurve_grotius.so component. This component used no look ahead and was
using low delta values for the gbrl algoritme.
The component used no back-end scurve runners. The stepgen was directly attached at the tpmod_scurve_grotius.so
output values.
A few things i learned :
- Don't press stop button when machine is moving. Better press pause button as stop can trigger a joint follow error.
- Home all axis before jogging machine, sometimes the dual x axis motors won't run together if not homed.
- The maximum values of this parport driven machine : maxjerk 7500, maxacc 1000, maxvel 10000.
- Change the jerk value when machine is not moving, if doing it while moving linuxcnc can freeze.
A few things made me happy :
- The bigger arc's in the program, the machine moved quite nice.
- The program was running quite stable, restart ok, pause ok. The linuxcnc program flow seems to work properly.
The video :
The following user(s) said Thank You: robh, akb1212, tommylight, Clive S, tivoi, pommen, rodw, Aciera, DHeineck, spumco and 6 other people also said thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.353 seconds