Trajectory Planner using Ruckig Lib

More
2 years 5 months ago #301948 by andrew2085
Replied by andrew2085 on topic Trajectory Planner using Ruckig Lib
I can take the c++23 stuff out of scurvy now. I should probably also add some notes to the readme on how to use it. Also I'm not sure if you noticed or not, but currently it only solves one s-curve given the constraints, it doesn't try to do more. I figured the task of joining multiple segments together with matching end and beginning velocities should be handled one level of abstraction higher.

For the clothoid stuff I need to look into the part where the maximum deviation from the path is calculated.
The following user(s) said Thank You: Grotius

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

More
2 years 5 months ago #301950 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
Hi Andrew,

The scurvy lib compiles now. It's a little strange, it won't compile to executable, but will compile to shared lib.
I only commented out the println's. Will finish it later on this day.

Also I'm not sure if you noticed or not, but currently it only solves one s-curve given the constraints,
No, not noticed. Have to run the example later on this day. I am curious fur sure !.

For the clothoid stuff I need to look into the part where the maximum deviation from the path is calculated.
Ok. This is the intersection point of the 2 segments to the closest clothoid fillet point i guess?
Take your time. I will have work to do, to get the clothoid interface fertig.

Thanks so far.

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

More
2 years 5 months ago #301955 by andrew2085
Replied by andrew2085 on topic Trajectory Planner using Ruckig Lib
I just removed everything over c++17 so hopefully you're able to compile it without any problems now. I also added a comment to stress_test.cpp that explains how to actually use the solution that is generated. It's updated on github.
The following user(s) said Thank You: Grotius

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

More
2 years 5 months ago #301959 by andrew2085
Replied by andrew2085 on topic Trajectory Planner using Ruckig Lib
I also just changed the clothoid project to c++17 and added a type biclothoid_t to make things simpler.
The following user(s) said Thank You: tommylight, Grotius

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

More
2 years 5 months ago #301962 by Grotius
Replied by Grotius on topic Trajectory Planner using Ruckig Lib
@Hi Andrew,
Thanks for your efforts so far.

The stress test runs ok.

Now i would like to print the current velocity over the total periods.
I am able to get the periods from the *sol.
Code:
const scurvy::solution_t s=*sol;         double t1=s.periods.T1;         double t2=s.periods.T2;         double t3=s.periods.T3;         double t4=s.periods.T4;         double t5=s.periods.T5;         double t6=s.periods.T6;         double t7=s.periods.T7;
Can you tell me how to get curvel given a time 0 < ttot ?
The following user(s) said Thank You: tommylight

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

More
2 years 5 months ago - 2 years 5 months ago #301977 by andrew2085
Replied by andrew2085 on topic Trajectory Planner using Ruckig Lib
I hadn't had a need for that yet. I just added it, but I haven't had a chance to test it.

github.com/a-downing/scurvy/commit/938b7...a75392ee1d14c722bf5f

Edit: Oops it's definitely wrong, let me fix it quick.

Edit: Should be good now:  github.com/a-downing/scurvy/commit/f271a...40af0f51734534134e3f
Last edit: 2 years 5 months ago by andrew2085.
The following user(s) said Thank You: Grotius

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

Time to create page: 0.179 seconds
Powered by Kunena Forum