Trajectory Planner using Ruckig Lib

More
2 years 5 months ago #300402 by robh
Replied by robh on topic Trajectory Planner using Ruckig Lib
loving the progress on this, keep up the hard work cant wait to see a version to try my self..
The following user(s) said Thank You: Grotius

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

More
2 years 5 months ago #300551 by IonCarver
Replied by IonCarver on topic Trajectory Planner using Ruckig Lib
This is a very nice result, congratulations!

Do you plan to release your code to fellow tinkerers?
The following user(s) said Thank You: Grotius, tiagounderground

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

More
2 years 5 months ago #300590 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Robh,

loving the progress on this, keep up the hard work cant wait to see a version to try my self..
It's really hard work to get this done. What kind of machine do you use yourself to try it on?

@Hydroid7
Do you plan to release your code to fellow tinkerers?
Yes, i always release my code. But currently i will wait until i think it's ready to release.
Still the coding is in progress.


Project status :
Currently coding the look ahead algo, this algo traverses forward and reverse over a "n" ammount
of gcode lines. It set's optimal vo, vm, ve for the gcode segments.
The following user(s) said Thank You: akb1212, tommylight, Clive S, pommen, rodw, Alexandrion, nwallace

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

More
2 years 5 months ago #300691 by robh
Replied by robh on topic Trajectory Planner using Ruckig Lib
@Grotius
i can fully understand this and the hours in debug and checking etc. it all does add up. and why my self and many others are hoping you can get to the end goal.
you need to open up a beer tab for us to tip into! :)

i my self have done many builds over the years on linuxcnc,
its all big iron stuff converted, with new AC servos etc etc.
machiens are 3+4 axis mills, 5 axis mill,
to lathes with single and twin turrets, from small 42mm spindle bore to 600mm swing over the bed.


what would be intresting is to see what the difference is on a tool path like trochoidal milling or surfacing , looks promasising in the 2D already.

many thanks for taking on such a task and getting so far along with it.
The following user(s) said Thank You: Grotius

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

More
2 years 5 months ago #300695 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Robh,

Will reply on your input in next post.

I had some problems today with coding. The scurve trajectory planner was sometimes missing the target position.
So this is now solved, but it taked a lot off time to investegate.
With solving that i lost a part look ahead code. So tomorrow i will take a new start.

Tonight i added the motion reverse. This was done in short time.
Then i thought, hey why not try :
-- jogging while in pause --

So i coded a jog in pause, for the x axis plus button, just to test it out.

The video jog in pause :


So i could do this for 9 axis. Who thinks this is a thing you should have or not have?
The following user(s) said Thank You: akb1212, tommylight, Clive S, pommen, RDA, nwallace, Unlogic

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

More
2 years 5 months ago - 2 years 5 months ago #300696 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Robh,

i can fully understand this and the hours in debug and checking etc. it all does add up. and why my self and many others are hoping you can get to the end goal.
I have learned to supply yourself some kind off fallback for every c or c++ lib you write. For example
the grotius scurve engine is a quite complicated code. To test changes i have a test suite. Without this,
everything becomes way more difficult.

 

Off course i hope to reach the end goal for us all.

you need to open up a beer tab for us to tip into! :)
Yeahh.

i my self have done many builds over the years on linuxcnc,
its all big iron stuff converted, with new AC servos etc etc.
machiens are 3+4 axis mills, 5 axis mill,
to lathes with single and twin turrets, from small 42mm spindle bore to 600mm swing over the bed.

So very experienced !!

what would be intresting is to see what the difference is on a tool path like trochoidal milling or surfacing , looks promasising in the 2D already.
The advantage for trochoidal milling should be in the scurved velocity profile doesn't it?

Take a look at the cavaliercontours c++ lib on github. When the look ahead works, i will code a sample for this.
This lib can provide us with nice toolpath's. The procedure is as follows:

1. Input the ammount of "n" look ahead lines into the cavaliercontours lib.
2. Offset the open contour to one side with a offset value, given 0.01mm
3. Offset the the offsetted contour back onto the original path. The result is a contour with arc shaped corners.

many thanks for taking on such a task and getting so far along with it.
I had paused the project for a while. But i hope to finish it coming time.
Last edit: 2 years 5 months ago by Grotius.
The following user(s) said Thank You: akb1212

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

Time to create page: 0.207 seconds
Powered by Kunena Forum