- Posts: 1682
- Thank you received: 784
Trajectory Planner using Ruckig Lib
- Lcvette
- Offline
- Platinum Member
-
Less
More
2 years 5 months ago #301519
by Lcvette
Replied by Lcvette on topic Trajectory Planner using Ruckig Lib
could we utilize G64 P# Q# to specify the deviation similar to the coherent trajectory planner? This would work nicely with most post professors. In fusion there is a lcnc post which uses the operation parameters for tolerance and smoothing to create a G64 P(smoothing) Q(Tolerance) to each operation.Now the question remains. How to use the curve on the traject. How should we fit the curve between the gcode segments.
Possible solutions :
- Should we give it a max path deviation as input? This could sample the curve up to max deviation value.
The following user(s) said Thank You: akb1212
Please Log in or Create an account to join the conversation.
- Lcvette
- Offline
- Platinum Member
-
Less
More
- Posts: 1682
- Thank you received: 784
2 years 5 months ago #301522
by Lcvette
Replied by Lcvette on topic Trajectory Planner using Ruckig Lib
Adaptive clearing is a high speed type of roughing tool path that uses constant engagement with the work piece. I don't tend to have issues with the cutting so much as the repositioning moves between cuts as it uses the short line segments and this cannot be altered through settings, at least none that I have found. Because roughing is one of the longest most time consuming operations on most parts this really hurts efficiency when you must slow things down to keep machine shake in check.
The following user(s) said Thank You: akb1212, Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
2 years 5 months ago #301523
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Robh,
I tested your file. It's interesting to see the pocket mill path consists of tiny line segments forming a curve.
Machine is constantly shifting speeds as it thinks, hey the next line is not tangent, so i have to stop.
When i enable the fillets, machine uses little end velocity, little improvement then in the scope.
In the planner there is info about the next segment angle. Like next segment is 1 degree of
course from current one.
In previous planner code i used this to maintain speed. In this planner currently only
full tangent may have a certain velocity end to next segment.
In the end, i think developping this to a biclothoid path overlay may be a magical solution.
I believe in the g2 continuity. But at the moment i have to figur out how to get this with done the current biclothoid library.
In the end of the video, you see a tiny bug i have to solve. It's a exeption that has to be made in the fillet algo.
The transfer from g0 to g1 that is done colinear, here is the problem the algo can not make a plane from 3 points.
So i have to tell the algo to skip when this occurs. Thanks to your file i found this.
I tested your file. It's interesting to see the pocket mill path consists of tiny line segments forming a curve.
Machine is constantly shifting speeds as it thinks, hey the next line is not tangent, so i have to stop.
When i enable the fillets, machine uses little end velocity, little improvement then in the scope.
In the planner there is info about the next segment angle. Like next segment is 1 degree of
course from current one.
In previous planner code i used this to maintain speed. In this planner currently only
full tangent may have a certain velocity end to next segment.
In the end, i think developping this to a biclothoid path overlay may be a magical solution.
I believe in the g2 continuity. But at the moment i have to figur out how to get this with done the current biclothoid library.
In the end of the video, you see a tiny bug i have to solve. It's a exeption that has to be made in the fillet algo.
The transfer from g0 to g1 that is done colinear, here is the problem the algo can not make a plane from 3 points.
So i have to tell the algo to skip when this occurs. Thanks to your file i found this.
The following user(s) said Thank You: akb1212, tommylight, Lcvette
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
2 years 5 months ago #301524
by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Lcvette,
G64 P# Q# to specify the deviation similar to the coherent trajectory planner?
Thats ok for me.
I was searching where they pass the G64 values to the planner for an hour.
So far i could not find it. Maybe someone knows how it's passed or knows the name in the code.
G64 P# Q# to specify the deviation similar to the coherent trajectory planner?
Thats ok for me.
I was searching where they pass the G64 values to the planner for an hour.
So far i could not find it. Maybe someone knows how it's passed or knows the name in the code.
The following user(s) said Thank You: akb1212, Lcvette
Please Log in or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
2 years 5 months ago #301528
by cmorley
Replied by cmorley on topic Trajectory Planner using Ruckig Lib
in the python library it's available from settings:
linuxcnc.org/docs/devel/html/config/pyth...xcnc_stat_attributes
linuxcnc.org/docs/devel/html/config/pyth...xcnc_stat_attributes
The following user(s) said Thank You: Lcvette, Grotius
Please Log in or Create an account to join the conversation.
- Lcvette
- Offline
- Platinum Member
-
Less
More
- Posts: 1682
- Thank you received: 784
2 years 5 months ago #301529
by Lcvette
Replied by Lcvette on topic Trajectory Planner using Ruckig Lib
if you are referring to fusion 360, it is done in the customized post processor here:@Lcvette,
G64 P# Q# to specify the deviation similar to the coherent trajectory planner?
Thats ok for me.
I was searching where they pass the G64 values to the planner for an hour.
So far i could not find it. Maybe someone knows how it's passed or knows the name in the code.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
Time to create page: 0.170 seconds