Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
mbf_costmap_nav::CostmapRecoveryExecution Class Reference

The CostmapRecoveryExecution binds a local and a global costmap to the AbstractRecoveryExecution and uses the nav_core/CostmapRecovery class as base plugin interface. This class makes move_base_flex compatible to the old move_base. More...

#include <costmap_recovery_execution.h>

Inheritance diagram for mbf_costmap_nav::CostmapRecoveryExecution:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< costmap_2d::Costmap2DROSCostmapPtr
 
typedef boost::shared_ptr< CostmapRecoveryExecutionPtr
 
- Public Types inherited from mbf_abstract_nav::AbstractRecoveryExecution
typedef boost::shared_ptr< AbstractRecoveryExecutionPtr
 
enum  RecoveryState
 

Public Member Functions

 CostmapRecoveryExecution (const std::string name, const mbf_costmap_core::CostmapRecovery::Ptr &recovery_ptr, const TFPtr &tf_listener_ptr, CostmapPtr &global_costmap, CostmapPtr &local_costmap, const MoveBaseFlexConfig &config, boost::function< void()> setup_fn, boost::function< void()> cleanup_fn)
 Constructor. More...
 
virtual ~CostmapRecoveryExecution ()
 
- Public Member Functions inherited from mbf_abstract_nav::AbstractRecoveryExecution
 AbstractRecoveryExecution (const std::string name, const mbf_abstract_core::AbstractRecovery::Ptr recovery_ptr, const TFPtr &tf_listener_ptr, const MoveBaseFlexConfig &config, boost::function< void()> setup_fn, boost::function< void()> cleanup_fn)
 
virtual bool cancel ()
 
AbstractRecoveryExecution::RecoveryState getState ()
 
bool isPatienceExceeded ()
 
void reconfigure (const MoveBaseFlexConfig &config)
 
virtual ~AbstractRecoveryExecution ()
 
- Public Member Functions inherited from mbf_abstract_nav::AbstractExecutionBase
 AbstractExecutionBase (std::string name, boost::function< void()> setup_fn, boost::function< void()> cleanup_fn)
 
std::string getMessage ()
 
std::string getName ()
 
uint32_t getOutcome ()
 
void join ()
 
virtual bool start ()
 
virtual void stop ()
 
void waitForStateUpdate (boost::chrono::microseconds const &duration)
 

Protected Attributes

CostmapPtrglobal_costmap_
 Shared pointer to the global costmap. More...
 
CostmapPtrlocal_costmap_
 Shared pointer to thr local costmap. More...
 
- Protected Attributes inherited from mbf_abstract_nav::AbstractRecoveryExecution
mbf_abstract_core::AbstractRecovery::Ptr behavior_
 
const TFPtr tf_listener_ptr_
 
- Protected Attributes inherited from mbf_abstract_nav::AbstractExecutionBase
bool cancel_
 
boost::condition_variable condition_
 
std::string message_
 
std::string name_
 
uint32_t outcome_
 
boost::thread thread_
 

Private Member Functions

mbf_abstract_nav::MoveBaseFlexConfig toAbstract (const MoveBaseFlexConfig &config)
 

Additional Inherited Members

- Public Attributes inherited from mbf_abstract_nav::AbstractRecoveryExecution
 CANCELED
 
 INITIALIZED
 
 INTERNAL_ERROR
 
 RECOVERING
 
 RECOVERY_DONE
 
 STARTED
 
 STOPPED
 
 WRONG_NAME
 
- Public Attributes inherited from mbf_abstract_nav::AbstractExecutionBase
boost::function< void()> cleanup_fn_
 
boost::function< void()> setup_fn_
 
- Protected Member Functions inherited from mbf_abstract_nav::AbstractRecoveryExecution
virtual void run ()
 

Detailed Description

The CostmapRecoveryExecution binds a local and a global costmap to the AbstractRecoveryExecution and uses the nav_core/CostmapRecovery class as base plugin interface. This class makes move_base_flex compatible to the old move_base.

Definition at line 58 of file costmap_recovery_execution.h.

Member Typedef Documentation

Definition at line 62 of file costmap_recovery_execution.h.

Definition at line 63 of file costmap_recovery_execution.h.

Constructor & Destructor Documentation

mbf_costmap_nav::CostmapRecoveryExecution::CostmapRecoveryExecution ( const std::string  name,
const mbf_costmap_core::CostmapRecovery::Ptr recovery_ptr,
const TFPtr tf_listener_ptr,
CostmapPtr global_costmap,
CostmapPtr local_costmap,
const MoveBaseFlexConfig &  config,
boost::function< void()>  setup_fn,
boost::function< void()>  cleanup_fn 
)

Constructor.

Parameters
tf_listener_ptrShared pointer to a common tf listener
global_costmapShared pointer to the global costmap.
local_costmapShared pointer to the local costmap.

Definition at line 47 of file costmap_recovery_execution.cpp.

mbf_costmap_nav::CostmapRecoveryExecution::~CostmapRecoveryExecution ( )
virtual

Destructor

Definition at line 60 of file costmap_recovery_execution.cpp.

Member Function Documentation

mbf_abstract_nav::MoveBaseFlexConfig mbf_costmap_nav::CostmapRecoveryExecution::toAbstract ( const MoveBaseFlexConfig &  config)
private

Definition at line 64 of file costmap_recovery_execution.cpp.

Member Data Documentation

CostmapPtr& mbf_costmap_nav::CostmapRecoveryExecution::global_costmap_
protected

Shared pointer to the global costmap.

Definition at line 88 of file costmap_recovery_execution.h.

CostmapPtr& mbf_costmap_nav::CostmapRecoveryExecution::local_costmap_
protected

Shared pointer to thr local costmap.

Definition at line 91 of file costmap_recovery_execution.h.


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


mbf_costmap_nav
Author(s): Sebastian Pütz
autogenerated on Tue Jun 18 2019 19:34:40