Public Types | Public Member Functions | Protected Attributes | Private Member Functions | List of all members
mbf_mesh_nav::MeshRecoveryExecution Class Reference

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

#include <mesh_recovery_execution.h>

Inheritance diagram for mbf_mesh_nav::MeshRecoveryExecution:
Inheritance graph
[legend]

Public Types

typedef boost::shared_ptr< mesh_map::MeshMapMeshPtr
 
typedef boost::shared_ptr< MeshRecoveryExecutionPtr
 
- Public Types inherited from mbf_abstract_nav::AbstractRecoveryExecution
typedef boost::shared_ptr< AbstractRecoveryExecutionPtr
 
enum  RecoveryState
 

Public Member Functions

 MeshRecoveryExecution (const std::string name, const mbf_mesh_core::MeshRecovery::Ptr &recovery_ptr, const TFPtr &tf_listener_ptr, const MeshPtr &mesh_ptr, const MoveBaseFlexConfig &config)
 Constructor. More...
 
virtual ~MeshRecoveryExecution ()
 
- 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)
 
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 (const std::string &name)
 
const std::string & getMessage () const
 
const std::string & getName () const
 
uint32_t getOutcome () const
 
void join ()
 
virtual void postRun ()
 
virtual void preRun ()
 
virtual void reconfigure (MoveBaseFlexConfig &_cfg)
 
virtual bool start ()
 
virtual void stop ()
 
boost::cv_status waitForStateUpdate (boost::chrono::microseconds const &duration)
 
virtual ~AbstractExecutionBase ()
 

Protected Attributes

const MeshPtrmesh_ptr_
 Shared pointer to the mesh for 3D navigation planning. 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
 
- Protected Member Functions inherited from mbf_abstract_nav::AbstractRecoveryExecution
virtual void run ()
 

Detailed Description

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

Definition at line 56 of file mesh_recovery_execution.h.

Member Typedef Documentation

◆ MeshPtr

Definition at line 59 of file mesh_recovery_execution.h.

◆ Ptr

Definition at line 60 of file mesh_recovery_execution.h.

Constructor & Destructor Documentation

◆ MeshRecoveryExecution()

mbf_mesh_nav::MeshRecoveryExecution::MeshRecoveryExecution ( const std::string  name,
const mbf_mesh_core::MeshRecovery::Ptr recovery_ptr,
const TFPtr tf_listener_ptr,
const MeshPtr mesh_ptr,
const MoveBaseFlexConfig &  config 
)

Constructor.

Parameters
tf_listener_ptrShared pointer to a common tf listener
global_meshShared pointer to the global mesh.
local_meshShared pointer to the local mesh.

Definition at line 41 of file mesh_recovery_execution.cpp.

◆ ~MeshRecoveryExecution()

mbf_mesh_nav::MeshRecoveryExecution::~MeshRecoveryExecution ( )
virtual

Destructor

Definition at line 49 of file mesh_recovery_execution.cpp.

Member Function Documentation

◆ toAbstract()

mbf_abstract_nav::MoveBaseFlexConfig mbf_mesh_nav::MeshRecoveryExecution::toAbstract ( const MoveBaseFlexConfig &  config)
private

Definition at line 53 of file mesh_recovery_execution.cpp.

Member Data Documentation

◆ mesh_ptr_

const MeshPtr& mbf_mesh_nav::MeshRecoveryExecution::mesh_ptr_
protected

Shared pointer to the mesh for 3D navigation planning.

Definition at line 77 of file mesh_recovery_execution.h.


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


mbf_mesh_nav
Author(s): Sebastian Pütz
autogenerated on Thu Jan 25 2024 03:42:57