Ask Your Question
0

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

asked 2019-09-05 07:34:45 -0600

rjosodtssp gravatar image

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 ?

edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by rjosodtssp
close date 2020-01-12 04:15:04.978414

1 Answer

Sort by » oldest newest most voted
0

answered 2020-01-10 03:12:58 -0600

Namal Senarathne gravatar image

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.

edit flag offensive delete link more

Comments

thanks, I actually already solved this problem

rjosodtssp gravatar imagerjosodtssp ( 2020-01-12 04:14:56 -0600 )edit

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

Namal Senarathne gravatar imageNamal Senarathne ( 2020-01-13 02:52:02 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2019-09-05 07:34:45 -0600

Seen: 135 times

Last updated: Jan 10