LinuxCNC S-Curve Accelerations

More
3 years 3 weeks ago #282724 by Barney
Replied by Barney on topic LinuxCNC S-Curve Accelerations
Hello, brother. I've found the official S-curve code, which is based on discrete-time mode, but I feel there might be an issue.You can try to implement Dynamic S-curve velocity trajectory profiling.
github.com/LinuxCNC/linuxcnc/blob/4ff91a...kinematics/tp.c#L598
discrete-time mode:
www.pmdcorp.com/resources/type/articles/...rol-profiles-article
Attachments:
The following user(s) said Thank You: Grotius

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

More
3 years 2 weeks ago #282803 by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
Hi Barney,

Thank you for your contribution. I was not aware of this code.

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

More
3 years 2 weeks ago #282865 by Barney
Replied by Barney on topic LinuxCNC S-Curve Accelerations
The "linuxcnc_micges_scurve_test2" branch has addressed errors caused by iterations, and I have extracted and plot the results using MATLAB.
Attachments:
The following user(s) said Thank You: Grotius

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

More
3 years 2 weeks ago #282908 by Grotius
Replied by Grotius on topic LinuxCNC S-Curve Accelerations
Hi Barney,

Interesting results.
Did you did a git clone and then a git checkout? I got errors with tlc versions when try to ./configure this version.

Coming time i will try to dive some deeper into the linuxcnc source code.

Anyway. Can you try this scurve jogging repository to show a result in matlab?
github.com/grotius-cnc/linuxcnc
It has a build script in the cmake dir and starts the axis gui after install.




 
The following user(s) said Thank You: bkt

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

More
3 years 2 weeks ago #282954 by Barney
Replied by Barney on topic LinuxCNC S-Curve Accelerations
Hi Grotius,

Yes, I used git clone for building.
I encountered the following error while building and how to fix it. 

You can also try building with MATLAB.
The following user(s) said Thank You: Grotius

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

More
3 years 2 weeks ago #282957 by Barney
Replied by Barney on topic LinuxCNC S-Curve Accelerations
Hi Grotius

Linux kernel version should not be too high.
I'm using version 4.19

官网分支中好像还有个使用 贝塞尔实现的方案。
The following user(s) said Thank You: Grotius

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

Time to create page: 0.891 seconds
Powered by Kunena Forum