Trajectory Planner using Ruckig Lib

More
2 years 4 months ago #303514 by Becksvill
Replied by Becksvill on topic Trajectory Planner using Ruckig Lib
We Are about to do a big aluminium 4axis carving and the current trajectory generator swaps to no look ahead when it combines 4axis motion with 3axis motion I think. Which is a problem


I think tormach has fixed that.

Does anyone know what the current limit is and can it be fixed easy?


Just been looking at the wonderful work Grotius is doing and wondering if this is possible to fix atb the same time..
Regards

Andrew
The following user(s) said Thank You: Lcvette, Grotius

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

More
2 years 4 months ago #303547 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi Becksvill,

I know someone else who hass the same problem with a huge 3d printer in Italy. He was asking me the same thing.

So in the current tp from Rob Ellenberg we have to change logic to enable this 4 axis look ahead?
 
The following user(s) said Thank You: Lcvette

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

More
2 years 4 months ago - 2 years 4 months ago #303548 by Aciera
Replied by Aciera on topic Trajectory Planner using Ruckig Lib
Yes the current trajectory planner in LinuxCNC only does multiline look ahead for Gcode using XYZ words as soon as the interpreter encounters more then those (eg an A word for a rotary axis) it falls back to one line look ahead.
So basically it's missing the ability to blend more then XYZ axes.

[edit]
also applies to 3D printers as a fourth axis is needed for the extruder.
Last edit: 2 years 4 months ago by Aciera.
The following user(s) said Thank You: Lcvette, Grotius

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

More
2 years 4 months ago #303551 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Will have a look at that next week in the original trajectory planner.

Yesterday i did some work at the gui interface.

Today i made a MILLTASK component for halcore that i named "state_machine.so"
This component will do the program logic like start, stop, pause etc.  and also handles the jogging & trajectory stuff.

The state_machine.so component is using shared memory to load the gcode data from userspace.
All is done in  c++ code.
So for uploading gcode to the hal side, no hal pins are required. It just's sends the data_structure containing the gcode
information to the kernel module. It's using a mutex.

This is showing the cnc app, after loading the gcode drawing, it sends the gcode_data to hal side.
Then in the component itself it prints the ammount of gcode lines as a test : testing if component has gcode lines recieved.

Ok now this framework works and is quite compact.

At the left it prints the ammount of recieved gcode lines. This print is done by the hal component : state_machine.so
 
 
The following user(s) said Thank You: tommylight, Clive S, Lcvette, Aciera, Darium, Unlogic

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

More
2 years 4 months ago #303606 by Becksvill
Replied by Becksvill on topic Trajectory Planner using Ruckig Lib
Thanks Grotius


Yes the multi axis stuff is where it would be great to have a decent lookahead

And we would really appreciate it
The following user(s) said Thank You: Lcvette

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

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

If i run this in a 9 axis config, it blends the corner, and therm condition=2. Wich means TC_TERM_COND_PARABOLIC.
It has a 4th axis a.

Warning: Spoiler!


Maybe i need a sample file where the motion stops each segment.
The following user(s) said Thank You: Lcvette, wellingtoncsouza

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

Time to create page: 1.705 seconds
Powered by Kunena Forum