Robotics StackExchange | Archived questions

How to solve this trajector problem? Two paths are two close or intersect

I know this is weird, but my robot need to walk to the end of a narrow corridor then turn back, but when robot walk, I see path in Rviz are too close

图片

or they intersect like this in a corner

图片

robot is on path A, when it moves, it will be on path B, then it's stuck or turn around again and again.

How can I avoid these 2 cases, especially the first one. Can I delay path B's show ?

Asked by rjosodtssp on 2019-09-05 07:34:45 UTC

Comments

Answers

So your problem is that the local trajectory planner/controller gets confused about which portion of the path it should follow when the path segments are too close to each other and when they intersect.

I think the easier solution is to first generate a path in one direction (say path A) and execute this navigation. And generate and execute the next path (path B) only after path A has been completed.

Asked by Namal Senarathne on 2020-01-10 04:12:58 UTC

Comments

thanks, I actually already solved this problem

Asked by rjosodtssp on 2020-01-12 05:14:56 UTC

Great. It would be nice if you can share your solution.

Asked by Namal Senarathne on 2020-01-13 03:52:02 UTC