Trajectory Planner using Ruckig Lib

More
2 years 6 months ago #299152 by ihavenofish
Replied by ihavenofish on topic Trajectory Planner using Ruckig Lib
None of this really works well in practice. it needs (again) someone like tormach to just pay someone to do it for THEIR needs, and we get the spoils.

Otherwise, we can sit and watch and wait and just be happy.

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

More
2 years 6 months ago #299156 by grijalvap
Replied by grijalvap on topic Trajectory Planner using Ruckig Lib
interesting, so basically some one has to take the initiative collect the money, hire the programmer, follow the project and then release the results to the community. 

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

More
2 years 5 months ago #299970 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi,

Last day's i was working again on the scurve implementation.

I have a working scurve program. But look ahead has to be done coming time.
It uses Grbl's corner algoritme. And uses a grotius scurve for the tp, using end velocity's based on the Grbl's output.

The Grbl's deviation or delta factor is set to 0.001 for this video. If using 0.0001 corner speeds are more reduced.
Mention no look ahead is active.

The following user(s) said Thank You: tommylight, pommen, wellingtoncsouza, DHeineck, spumco, RDA, tiagounderground, MennilTossFlykune, zmrdko, nwallace and 1 other people also said thanks.

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

More
2 years 5 months ago #300224 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi,

Yesterday i started to config a production machine to run on linux, running the scurve.

I had some troubles off course.

Some off my findings :

- Linuxcnc run's In simulation mode when i code. Then everything runs ok. However on the production machine the tpmod_scurve.so would not load properly. I could not find the cmake problem in this time span.

- So to overcome this problem, i used the original linuxcnc make system. I added the files to the makefile and tried to
compile. But one off my files had a cpp extension. So i tried to modify the makefile to filter out this filetype, but it would
not succeed in a reasonable time span.

- In the end i edited the .cpp file to .c The tpmod_scurve.so was compiled and linked ok. The simulation runs ok.

Now i hope tonight to run this on the production machine. So this test involves the jogging component only.
When this run's ok. I will go on the get the trajectory planner fertig.




 
The following user(s) said Thank You: tommylight, wellingtoncsouza, nwallace

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

More
2 years 5 months ago #300235 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi,

Today i did the scurve jogging test on a production machine.

This machine is a XXYZAB router with steppers, driven by a dual parport.
The machine run's about 12000mm/min max in the video's. It's an old machine,
so you can hear some drive sounds.

For the test i used a glass filled with H2O fluid. We can clearly see when things go smooth or not.

Using acceleration 325
Video 1 -> C0400 is trapezium curve.
Video 2 -> C0401 is scurve.

Using acceleration 1000 :
Video 3 -> C0402 is trapezium curve. ( Here the machine breaks down at low jog speeds )
Video 4 -> C0403 is scurve. ( The machine run's up to 12000mm/min, no problems )

Video 1 trapezium:

Video 2 scurve:

Video 3 trapezium, breaks down at acc 1000:

Video 4 scurve acc 1000 maxvel 12000


For me the first jogging test was succesfull. I could clearly see the scurve is able to use higher acceleration
profile. Also the H20 fluid keeps quite steady with scurve. The downside is when using scurve jogging you can
experience some kind jog delay. This is i think typicall for scurve, when acc up, and button is released the acc
curve has first to go down to acc zero. From there the jog stop curve comes in.

So far so good.



 
The following user(s) said Thank You: akb1212, tommylight, tivoi, pommen, rodw, aleksamc, DHeineck, spumco, Alexandrion, zmrdko and 2 other people also said thanks.

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

More
2 years 5 months ago #300263 by cmorley
Replied by cmorley on topic Trajectory Planner using Ruckig Lib
That is an impressive difference!
The following user(s) said Thank You: rodw, Grotius

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

Time to create page: 0.374 seconds
Powered by Kunena Forum