Provides an interface for recovery behaviors used in navigation. All recovery behaviors written as plugins for the navigation stack must adhere to this interface. More...
#include <recovery_behavior.h>
Public Member Functions | |
virtual void | initialize (std::string name, tf::TransformListener *tf, costmap_2d::Costmap2DROS *global_costmap, costmap_2d::Costmap2DROS *local_costmap)=0 |
Initialization function for the RecoveryBehavior. | |
virtual void | runBehavior ()=0 |
Runs the RecoveryBehavior. | |
virtual | ~RecoveryBehavior () |
Virtual destructor for the interface. | |
Protected Member Functions | |
RecoveryBehavior () |
Provides an interface for recovery behaviors used in navigation. All recovery behaviors written as plugins for the navigation stack must adhere to this interface.
Definition at line 45 of file recovery_behavior.h.
virtual nav_core::RecoveryBehavior::~RecoveryBehavior | ( | ) | [inline, virtual] |
Virtual destructor for the interface.
Definition at line 63 of file recovery_behavior.h.
nav_core::RecoveryBehavior::RecoveryBehavior | ( | ) | [inline, protected] |
Definition at line 66 of file recovery_behavior.h.
virtual void nav_core::RecoveryBehavior::initialize | ( | std::string | name, | |
tf::TransformListener * | tf, | |||
costmap_2d::Costmap2DROS * | global_costmap, | |||
costmap_2d::Costmap2DROS * | local_costmap | |||
) | [pure virtual] |
Initialization function for the RecoveryBehavior.
tf | A pointer to a transform listener | |
global_costmap | A pointer to the global_costmap used by the navigation stack | |
local_costmap | A pointer to the local_costmap used by the navigation stack |
virtual void nav_core::RecoveryBehavior::runBehavior | ( | ) | [pure virtual] |
Runs the RecoveryBehavior.