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. More... | |
virtual void | runBehavior ()=0 |
Runs the RecoveryBehavior. More... | |
virtual | ~RecoveryBehavior () |
Virtual destructor for the interface. More... | |
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 48 of file recovery_behavior.h.
|
inlinevirtual |
Virtual destructor for the interface.
Definition at line 66 of file recovery_behavior.h.
|
inlineprotected |
Definition at line 69 of file recovery_behavior.h.
|
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 |
|
pure virtual |
Runs the RecoveryBehavior.