ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

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

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

moyashi gravatar image

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

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


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 image Peter Listov  ( 2013-04-01 01:22:27 -0600 )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 image moyashi  ( 2013-04-11 16:07:40 -0600 )edit

1 Answer

Sort by » oldest newest most voted

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

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


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 image moyashi  ( 2013-04-11 16:23:23 -0600 )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 image felix k  ( 2013-04-12 00:08:10 -0600 )edit

Question Tools

1 follower


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

Seen: 1,432 times

Last updated: Apr 02 '13