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

Navigation Recovery Behaviors Criteria

asked 2012-06-29 00:54:18 -0600

updated 2012-06-29 03:42:15 -0600

Lorenz gravatar image

In this page http://www.ros.org/wiki/move_base it is explained how the recovery behaviors are activated.

I would like to know which are the criteria that activate any of the recovery behaviors included in the recovery_behaviors.yaml file?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2012-06-29 01:44:37 -0600

KruseT gravatar image

These recovery behaviors are activated whenever the move_base node decides that the robot is stuck. It is a good exercise to read the code for this, as any documentation (like this answer) can get outdated.

In this case you need to check the file: navigation/move_base/src/move_base.cpp E.g. here: http://mirror.umd.edu/roswiki/doc/unstable/api/move_base/html/move__base_8cpp_source.html

In there, search for any line like this: state_ = CLEARING;

You will see that move_base will invoke these behaviors on three conditions: An oscillation was discovered, no global plan was received for some amount of time, or the local planner failed to find a valid velocity command for some amount of time.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-06-29 00:54:18 -0600

Seen: 2,393 times

Last updated: Jun 29 '12