scurve trajectory planner

More
1 year 8 months ago - 1 year 8 months ago #322055 by Aciera
Replied by Aciera on topic scurve trajectory planner
Actually the problem might be in the dogleg algo, seems odd to me that gamma11 and gamma21 are zero.

Solution found: gamma10 = 0.000000, gamma20 = -0.000000, s1 = 198.587624
 


Could it be that we are only solving for variable s1 instead of [gamma11, gamma21, s1]?
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 #322056 by Grotius
Replied by Grotius on topic scurve trajectory planner
@Arciera,

I made a test : clothoid_compound_no_fit();

This visualises the problem quite good. This example uses no fit for endpoint. So the clothoid compound
behaves as a natural attached curve.

eq44 is reviewed and i added the for loop check calculations as in the paper.
However the tresholds results there are ok.
eq45, i can not find any typo's.

eq45 is sub off eq44_G123. Yes eq45 is in the loop.

With the 6 resulting gamma values it should then satisfy G1, G2 and G3 continuity.
Yes. eq45 is called for xy and for z.

Then yi1 is called like : y11 for z
Then yi1 is called like : y21 for xy.

This to avoid code duplication.
The following user(s) said Thank You: akb1212, Aciera

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

More
1 year 8 months ago - 1 year 8 months ago #322057 by Aciera
Replied by Aciera on topic scurve trajectory planner
See my last post, looks like dogleg is not solving for gamma11 and gamma21.

[edit]

Just checked and it does seem to be adjusting gamma11 and gamma 21 but it always ends up being zero which does not quite look right to me.
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 #322060 by Aciera
Replied by Aciera on topic scurve trajectory planner
So the gamma11 and gamma21 depend on the start values, however there is another problem.
I'm running single_clothoid_fit and I changed kappa10 from 0 to 0.1 and now everything is off:

 
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 #322062 by Grotius
Replied by Grotius on topic scurve trajectory planner
@Arciera,

I found the buggybug. . Was not alien obstruction.

Glad in eq14 we can choose 2 interpolation models:
1. eq14_drift (archived)
2. eq14_gauss

It turns out nr. 1 works good and shows correct clothoid compound.
So nr.2 contains a buggybug. Will try to find it now.
The following user(s) said Thank You: akb1212, Aciera

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

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

Yes, kappa10 is start curvature in z direction.

Gamma11 = y11, is the rigid property of the clothoid. if 0, then straight line. When 0.001 then clothoid begins to curve in a direction depending the sign off y11.

and now everything is off:
Keep also an eye on the GNU plot display max values. "set xrange [-20:80]\n"

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

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

Time to create page: 0.292 seconds
Powered by Kunena Forum