Public Member Functions | Private Attributes
mbf_nav_core_wrapper::WrapperRecoveryBehavior Class Reference

#include <wrapper_recovery_behavior.h>

Inheritance diagram for mbf_nav_core_wrapper::WrapperRecoveryBehavior:
Inheritance graph
[legend]

List of all members.

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_

Detailed Description

Definition at line 55 of file wrapper_recovery_behavior.h.


Constructor & Destructor Documentation

Public constructor used for handling a nav_core-based plugin.

Parameters:
pluginBackward 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.


Member Function Documentation

Requests the planner to cancel, e.g. if it takes too much time.

Remarks:
New on MBF API
Returns:
True if a cancel has been successfully requested, false if not implemented.

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.

Parameters:
tfA pointer to a transform listener
global_costmapA pointer to the global_costmap used by the navigation stack
local_costmapA 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.


Member Data Documentation

Definition at line 92 of file wrapper_recovery_behavior.h.


The documentation for this class was generated from the following files:


mbf_costmap_nav
Author(s): Sebastian Pütz
autogenerated on Mon Jun 17 2019 20:11:40