scurve trajectory planner

More
1 year 8 months ago - 1 year 8 months ago #321911 by Grotius
Replied by Grotius on topic scurve trajectory planner
 Hi Arciera,

Here is a basic  powel example. It uses a equatation with 2 unknown's.
This example run's ok.
powel basic example

The residual  = distance ( guess position result from first calculation up to final end position. )

I just found out why to use the gaus method....
gaus calculates clothoid length

I found it by accident, when computing the endpoint of the clothoid compound in a optimized function.
it turn's out that the Gauss method is used to get very high accuracy in a few iterations.
My current approach has the property to drift off. As values are incremented including nummerical errors.

So now finally i know why gauss is used.

Gaus vs Drift:
 

I guess we could simply calculate the length of our 3D residual vector and pass that back as the error value to be minimized.
Yes. Excact. That's going to be tested.
Last edit: 1 year 8 months ago by Grotius.
The following user(s) said Thank You: tommylight, HalaszAttila, Beef

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

More
1 year 8 months ago #321913 by Aciera
Replied by Aciera on topic scurve trajectory planner
20 iterations vs 1000
Nice.
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 #321971 by Grotius
Replied by Grotius on topic scurve trajectory planner
Hi,

I have implemented dogleg. The source is updated.

At least it does something. But something is not ok and i don't know what.

Given Target = x100, y2, z2.
Dogleg result : x1.99 y1.99 z100.00

But i guess this result is luck. Because other values can completely mesh up the clothoid result.
The following user(s) said Thank You: Aciera

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

More
1 year 8 months ago #321977 by Aciera
Replied by Aciera on topic scurve trajectory planner
How would I add the dogleg dependencies to your cloned repo?
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 #321980 by Grotius
Replied by Grotius on topic scurve trajectory planner
@Arciera,

I think this : sudo apt-get install libdogleg-dev

In the mean time, i have seen the params[index], had a flaw. I repaired that. Git is updated.
Now still wrong results. I think the Jacobian setup is incorrect also.
The following user(s) said Thank You: Aciera

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

More
1 year 8 months ago #321982 by Aciera
Replied by Aciera on topic scurve trajectory planner
I get this error when building your repo:
 
The following user(s) said Thank You: Grotius

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

Time to create page: 0.463 seconds
Powered by Kunena Forum