-
Notifications
You must be signed in to change notification settings - Fork 666
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
Topo planner crash when planning short distance. #17
Comments
Yes this is a bug. Thanks for reporting it. |
As far as I debugged into, This only happens when inter_points are only two elements, argument Time size (seg_num) is one given to function minSnapTraj(...), accessing index out of size at Line 79-80 causes program to crash Fast-Planner/fast_planner/poly_traj/src/polynomial_traj.cpp Lines 74 to 80 in 733e880
with modified code to increased inter_points, minSnapTraj(...) works fine however, later parameterizeToBSpline(...) fails due to size of the given points are less than 3, seems points too close are truncated by getTrajByRadius(...) causes program to crash again. Codes -
Fast-Planner/fast_planner/plan_manage/src/planner_manager.cpp Lines 479 to 496 in 733e880
|
@SwiftGust I have fixed this problem. You may test again. |
Now it's working regardless of goal distance. |
Please see log below.
When you set goal near by start point, planner is crashed as below.
Why this crash happen?
The text was updated successfully, but these errors were encountered: