- Posts: 2419
- Thank you received: 2349
scurve trajectory planner
- Grotius
- Offline
- Platinum Member
-
Less
More
1 year 8 months ago - 1 year 8 months ago #322016
by Grotius
Replied by Grotius on topic scurve trajectory planner
Hi Arciera,
use libgsl example. Remove all libdogleg related files and deps.
use libgsl example. Remove all libdogleg related files and deps.
Last edit: 1 year 8 months ago by Grotius.
The following user(s) said Thank You: Aciera
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
Less
More
- Posts: 4819
- Thank you received: 2177
1 year 8 months ago #322032
by Aciera
Replied by Aciera on topic scurve trajectory planner
yes that looks much better and compiles for me too.
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- Grotius
- Offline
- Platinum Member
-
Less
More
- Posts: 2419
- Thank you received: 2349
1 year 8 months ago #322047
by Grotius
Replied by Grotius on topic scurve trajectory planner
@Arciera,
Today i started coding the clothoid compound fit using the gsl solver. It worked right away.
I think because yesterday we did it succesfully for just one clothoid.
This is really a milestone for us !!!
What we see here is a 3d clothoid spline, build from 4 individual clothoids, given start, end posture.
Given the abstract :
"Space corner smoothing of CNC machine tools through developing 3D general clothoid"
by Qun-Bao Xiao, Min Wan, Yang Liu, Xue-Bin Qin, and Wei-Hong Zhang.
Published in Robotics and Computer Integrated Manufacturing, Volume 64, 2020.
However if you look closely at the individual clothoid curve transitions there is a tiny change in curvature.
Somewhere in the code is a buggybug. and or alien obstruction.
I think in eq45 where the constrains of the joints are calculated must be something signed to "-" ?
Today i started coding the clothoid compound fit using the gsl solver. It worked right away.
I think because yesterday we did it succesfully for just one clothoid.
This is really a milestone for us !!!
What we see here is a 3d clothoid spline, build from 4 individual clothoids, given start, end posture.
Given the abstract :
"Space corner smoothing of CNC machine tools through developing 3D general clothoid"
by Qun-Bao Xiao, Min Wan, Yang Liu, Xue-Bin Qin, and Wei-Hong Zhang.
Published in Robotics and Computer Integrated Manufacturing, Volume 64, 2020.
However if you look closely at the individual clothoid curve transitions there is a tiny change in curvature.
Somewhere in the code is a buggybug. and or alien obstruction.
I think in eq45 where the constrains of the joints are calculated must be something signed to "-" ?
Code:
// Start point.
double xs = 0.0;
double ys = 0.0;
double zs = 0.0;
// Target point.
double xe = 520.05;
double ye = 266.50;
double ze = 125.50;
// Start angles, end angles.
double degrees_xy_start = 45.0;
double degrees_xy_end = 0.0;
double degrees_z_start = 0.0;
double degrees_z_end = -45.0;
Code:
Converged after 315 iterations
Solution found: gamma10 = 0.000000, gamma20 = -0.000000, s1 = 198.587624
endpoint x: 520.050004 y: 266.500006 z: 125.499999
The following user(s) said Thank You: akb1212
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
Less
More
- Posts: 4819
- Thank you received: 2177
1 year 8 months ago #322050
by Aciera
Is eq 45 in the loop yet?
Replied by Aciera on topic scurve trajectory planner
Indeed! Congratulations.This is really a milestone for us !!!
However if you look closely at the individual clothoid curve transitions there is a tiny change in curvature.
Is eq 45 in the loop yet?
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
Less
More
- Posts: 4819
- Thank you received: 2177
1 year 8 months ago #322051
by Aciera
Replied by Aciera on topic scurve trajectory planner
The following user(s) said Thank You: akb1212, Grotius
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
-
Less
More
- Posts: 4819
- Thank you received: 2177
1 year 8 months ago #322053
by Aciera
Replied by Aciera on topic scurve trajectory planner
I don't think these gamma values look right:
Code:
yi1: 0.000000
yi2: -0.000001
yi3: 0.000001
yi4: -0.000000
yi1: -0.000000
yi2: -0.000000
yi3: 0.000000
yi4: -0.000000
The following user(s) said Thank You: Grotius
Please Log in or Create an account to join the conversation.
Time to create page: 0.147 seconds