#include <wrapper_recovery_behavior.h>
Public Member Functions | |
virtual bool | cancel () |
Requests the planner to cancel, e.g. if it takes too much time. | |
virtual void | initialize (std::string name, TF *tf, costmap_2d::Costmap2DROS *global_costmap, costmap_2d::Costmap2DROS *local_costmap) |
Initialization function for the CostmapRecovery. | |
virtual uint32_t | runBehavior (std::string &message) |
Runs the CostmapRecovery. | |
WrapperRecoveryBehavior (boost::shared_ptr< nav_core::RecoveryBehavior > plugin) | |
Public constructor used for handling a nav_core-based plugin. | |
virtual | ~WrapperRecoveryBehavior () |
Virtual destructor for the interface. | |
Private Attributes | |
boost::shared_ptr < nav_core::RecoveryBehavior > | nav_core_plugin_ |
Definition at line 55 of file wrapper_recovery_behavior.h.
mbf_nav_core_wrapper::WrapperRecoveryBehavior::WrapperRecoveryBehavior | ( | boost::shared_ptr< nav_core::RecoveryBehavior > | plugin | ) |
Public constructor used for handling a nav_core-based plugin.
plugin | Backward compatible plugin |
Definition at line 65 of file wrapper_recovery_behavior.cpp.
Virtual destructor for the interface.
Definition at line 69 of file wrapper_recovery_behavior.cpp.
bool mbf_nav_core_wrapper::WrapperRecoveryBehavior::cancel | ( | ) | [virtual] |
Requests the planner to cancel, e.g. if it takes too much time.
Implements mbf_costmap_core::CostmapRecovery.
Definition at line 60 of file wrapper_recovery_behavior.cpp.
void mbf_nav_core_wrapper::WrapperRecoveryBehavior::initialize | ( | std::string | name, |
TF * | tf, | ||
costmap_2d::Costmap2DROS * | global_costmap, | ||
costmap_2d::Costmap2DROS * | local_costmap | ||
) | [virtual] |
Initialization function for the CostmapRecovery.
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 |
Implements mbf_costmap_core::CostmapRecovery.
Definition at line 46 of file wrapper_recovery_behavior.cpp.
uint32_t mbf_nav_core_wrapper::WrapperRecoveryBehavior::runBehavior | ( | std::string & | message | ) | [virtual] |
Runs the CostmapRecovery.
Implements mbf_costmap_core::CostmapRecovery.
Definition at line 53 of file wrapper_recovery_behavior.cpp.
boost::shared_ptr< nav_core::RecoveryBehavior > mbf_nav_core_wrapper::WrapperRecoveryBehavior::nav_core_plugin_ [private] |
Definition at line 92 of file wrapper_recovery_behavior.h.