Ask Your Question
1

Why does a robot with navigation stack sometimes rotate in place.

asked 2013-03-31 16:42:28 -0500

moyashi gravatar image

updated 2013-03-31 16:43:35 -0500

Hi, everyone.

I'm using nav stack and it works well.
However, sometimes a robot stops in its track and rotates in place.
It isn't a kind of recovery behavior.
And I think that it often occurs when I set maximum velocity to small value(eg. 0.1[m/s]).

What is the trigger for the rotation?

Thanks in advance.

edit retag flag offensive close merge delete

Comments

As far as I remember it's one of the recovery behaviors. It happens when a robot cannot find feasible local path (control).

Peter Listov gravatar imagePeter Listov ( 2013-04-01 01:22:27 -0500 )edit

Thank you for your comment ! When I set maximum velocity to large value(eg. 0.3~1.0[m/s]), It works well and rotation doesn't often occur. So I think it's not a problem about local path...

moyashi gravatar imagemoyashi ( 2013-04-11 16:07:40 -0500 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2013-04-02 00:21:18 -0500

felix k gravatar image

The rotate_recovery is indeed usually expected to be one of the two recovery behaviours. Unless you configured it else.

Are you sure there isn't another possible reason for it to rotate? You can visualize the global and local paths and obstacles etc in RViz to see if the current plan fails.

edit flag offensive delete link more

Comments

Thank you for your answer ! Global planner generates global path and it looks available. However, when maximum_velocity is very small, robot often rotates in place. I can't find another possible reason ...

moyashi gravatar imagemoyashi ( 2013-04-11 16:23:23 -0500 )edit

Check via rostopic echo cmd_vel whether the robot is commanded to rotate in place or not and just cannot perform what the navigation wants it to do, e.g. a close curve, resulting in in-place-rotation. Which robot do you use?

felix k gravatar imagefelix k ( 2013-04-12 00:08:10 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2013-03-31 16:42:28 -0500

Seen: 1,030 times

Last updated: Apr 02 '13