scurve trajectory planner

More
1 year 9 months ago - 1 year 9 months ago #319176 by Grotius
Dear linuxcnc users,

There is developped a new trajectory planner with help of several forum members over the past weeks.

- Credits : Joco, Lcevette, Turboss, Linuxcnc8, connor, Grotius, and more.

The new planner is called tpmod_scurve.so

This new planner can be installed alongside the original trajectory planner tpmod.so
by specifying the used planner in the config .ini file.

Existing linuxcnc (RIP) installations can be patched using a small script that replaces a few files.
There is no .deb package patch available.

This codebase uses miminal source code to achieve an S-curve motion profile. No heavy dependencies are required.
Note there are several HAL pins and parameters that must be set at runtime to tune a specific machine to its inertia limits.

Important: Alway's exersise caution using new software, especially on high-speed machining operations.

repository
readme
licence  
disclaimer

Automated installation example:
Code:
git clone https://codeberg.org/skynet/linuxcnc_scurve_compact cd linuxcnc_scurve_compact/cmake ./installer
Last edit: 1 year 9 months ago by Grotius.
The following user(s) said Thank You: Coyote, akb1212, tommylight, Clive S, HalaszAttila, tivoi, pommen, rodw, Lcvette, DHeineck and 13 other people also said thanks.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago - 1 year 9 months ago #319183 by automata
Replied by automata on topic scurve trajectory planner
Grotius,
A big thank you for working on this hard problem.
My offer for sending you EtherCAT servo and stepper drives still stands. Let me know. I have 400W and 750W 3000rpm chinese servos and 4.5A chinese steppers with EtherCAT available which I can send out to you.

The repository downloaded and compiled ok using the "installer" script.
S curve tpmod was also running properly.
But it looked like it was falling back to a single block lookahead.
Is lookahead implemented in this new planner? If yes, how can I enable it? What are the settings that I can play with?
I tried with G64 Pxx Qyy but that did not seem to have too much effect.


I tried to work with the tpmod hal params without much change to the output. I was trying the G3 to G3 blends in the standard LINUXCNC startup gcode.

Once again a big thank you for working on this problem.
-automata
Last edit: 1 year 9 months ago by automata. Reason: I found some parameters in the hal params which could be tweaked
The following user(s) said Thank You: akb1212, tommylight, bkt, Lcvette, Grotius

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #319190 by Grotius
Replied by Grotius on topic scurve trajectory planner
Hi Automata,

I can use the servo's if they are powered 230volts. Then they can be used to finish and test ethercat auto installer. And runtime tests.
My mail : michelwijnja@gmail.com

For the planner. If you program a square 100x100mm and use G64 P5
It should show blended corners at runtime.
Works also for G3 to G3.

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #319294 by Lcvette
Replied by Lcvette on topic scurve trajectory planner
Awesome Grotius, I plan on installing and testing on machine this week! Super excited to do some comparisons between previous known rough motion programs and show the difference. I will get some good video footage to share!
The following user(s) said Thank You: Grotius, anton610

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #319326 by Grotius
Replied by Grotius on topic scurve trajectory planner
@Lcvette,

Looking forward to see your video.


 

Please Log in or Create an account to join the conversation.

More
1 year 9 months ago #319455 by dm17ry
Replied by dm17ry on topic scurve trajectory planner
spotted a typo - misspelled "lenght" instead of "length" in multiple places..
The following user(s) said Thank You: Grotius

Please Log in or Create an account to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum