Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

2nd constraints problem #68

Open
schweinebauch opened this issue Jul 17, 2018 · 1 comment
Open

2nd constraints problem #68

schweinebauch opened this issue Jul 17, 2018 · 1 comment

Comments

@schweinebauch
Copy link

schweinebauch commented Jul 17, 2018

Hello ,today I test tested the code and I added the 2th order constraints on one of the middle point.I found the trajectory got much more illogical than only position constraints added.About time allocation part I used 'runSegmentViolationScaling' function and just tested the linear optimization. I attached my trajectory and listed the coordinates of points. Could you help me solve this problem? What will affect the shape of trajectory generated? The reason is this optimization method is reformed as an unconstraints optimization? I do not need velocity constraints on way points?
I am looking forward to receiving your feedback.
Thanks in advanced!
core_points (0, 0, 0)); //start point
core_points(0.9, 1, 0));
core_points(0.7, 2, 0)); // at this point velocity constraints added 1m/s
core_points(3, 3, 0));
core_points(4, 4, 0)); // goal point
v_max = 2.0
a_max = 1.0
2018-07-17 16-35-11
@rikba @helenol

@schweinebauch schweinebauch changed the title 2nd constraints probblem 2nd constraints problem Jul 17, 2018
@helenol
Copy link
Collaborator

helenol commented Jul 26, 2018

You generally don't need velocity constraints on waypoints; adding them overconstrains the problem, as you've seen (also keep in mind that the velocity is a 3-vector, so you need to set all the components of the velocity. Looks like it's set to point 1 m/s in the positive x direction, which is why the velocity looks so weird.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants