scurve trajectory planner

More
1 year 8 months ago - 1 year 8 months ago #322077 by Aciera
Replied by Aciera on topic scurve trajectory planner
This is what I'm working with (compiles and runs without the 'fdf.fvv' function which I don't know anything about while I could probably figure out the fdf.df Jacobian ):

Warning: Spoiler!


Kinda nice to start out with a working example.
Last edit: 1 year 8 months ago by Aciera.
The following user(s) said Thank You: akb1212, tommylight, Grotius

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

More
1 year 8 months ago - 1 year 8 months ago #322182 by Aciera
Replied by Aciera on topic scurve trajectory planner
Not sure but this looks odd, wouldn't you want to calculate sharpness first to update kappa and then theta?:
 

 
Last edit: 1 year 8 months ago by Aciera.
The following user(s) said Thank You: Grotius

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

More
1 year 8 months ago #322183 by Aciera
Replied by Aciera on topic scurve trajectory planner
Something like this:
Code:
// Calculate the clothoid theta, kappa, sharpness at current s. double sharpness10_i; eq18_single_clothoid(0,sharpness10,gamma1,&sharpness10_i); double sharpness20_i; eq18_single_clothoid(0,sharpness20,gamma2,&sharpness20_i); double kappa10_i; eq19_single_clothoid(0,sharpness10_i,kappa10_i,gamma1,&kappa10_i); double kappa20_i; eq19_single_clothoid(0,sharpness20_i,kappa20_i,gamma2,&kappa20_i); double theta10_i; eq20_single_clothoid(0,sharpness10_i,kappa10_i,theta10,gamma1,&theta10_i); double theta20_i; eq20_single_clothoid(0,sharpness20_i,kappa20_i,theta20,gamma2,&theta20_i);
The following user(s) said Thank You: akb1212, Grotius

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

More
1 year 8 months ago #322185 by Aciera
Replied by Aciera on topic scurve trajectory planner
Here is my failed attempt:
Warning: Spoiler!


The idea was to calculate the elements of the Jacobian numerically but it fails miserably:

 


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

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

More
1 year 8 months ago #322186 by Grotius
Replied by Grotius on topic scurve trajectory planner
@Arciera,

Indeed. Good spot !!!

I was thinking about the 3d fitting between gcode segments.
Do we really need the transformation, and then do the fitting in a null plane?
This was needed for a 2d clothoid, when used in a 3d plane. But for this i think
we don't needed, unless there is something i forgot.

I thought maybe we can just fit the clothoids in 3d space.

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

More
1 year 8 months ago #322188 by Aciera
Replied by Aciera on topic scurve trajectory planner
As i understand it there should be no need for another transformation besides the one described in the paper.
The following user(s) said Thank You: Grotius

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

Time to create page: 0.231 seconds
Powered by Kunena Forum