path_optimizer_2 icon indicating copy to clipboard operation
path_optimizer_2 copied to clipboard

The result path may hit the obs

Open kintzhao opened this issue 3 years ago • 7 comments

The result path may hit the obs.

Screenshot from 2023-01-12 20-25-34

test map file test map file narrow_test-nav.zip

kintzhao avatar Jan 12 '23 12:01 kintzhao

Maybe the reference line smoothing went wrong... you can display ref line on rviz to check it out. this part is not very stable, replace it with your own algorithm :)

LiJiangnanBit avatar Jan 13 '23 05:01 LiJiangnanBit

Screenshot from 2023-01-31 19-42-41 Screenshot from 2023-01-31 19-43-07 Screenshot from 2023-01-31 19-43-42 Screenshot from 2023-01-31 19-44-22

I create the reference line by searched path with dijkstra, the opt_path is not better

kintzhao avatar Jan 31 '23 11:01 kintzhao

I fork and modify the code for my diff-robot. kintzhao/path_optimizer_2

kintzhao avatar Feb 01 '23 02:02 kintzhao

i met the same problem for ackerman vehicle image

cshang412 avatar Jun 23 '23 13:06 cshang412

seems like the issue was caused after reference path smoother, from the image i posted before , the second stage optimization after reference path ignored the upper bound and lower bound which was caculated before. could you help us to fix this the final optimization stage ? thanks very much ! @LiJiangnanBit

cshang412 avatar Jun 23 '23 13:06 cshang412

seems like the issue was caused after reference path smoother, from the image i posted before , the second stage optimization after reference path ignored the upper bound and lower bound which was caculated before. could you help us to fix this the final optimization stage ? thanks very much ! @LiJiangnanBit

It seems impossible to stay within the drivable area with the init position and heading that you chose. In the optimization problem, the vehicle dynamics is a hard constraint so it's possible that the result violates the boundary constraint. :) @cshang412

LiJiangnanBit avatar Jun 27 '23 11:06 LiJiangnanBit

Thanks for your reply ! Yeah,you are totally right, but when i use this part in an dynamic Env, running at 10-20HZ, the reference point or the start_pose & dest-pose all changed very fast, this situation does happen a lot , It's very unsafe, that's why i choose an tricky corner case for start pose and dest-pose to test the algorithorm. i tried to enlarge the safe margin in the config file, not working very well also . still trying to figure out how to handle this situation. @LiJiangnanBit

cshang412 avatar Jul 03 '23 12:07 cshang412