Public Member Functions | Private Attributes | List of all members
rsm::MappingDummyState Class Reference

Dummy state for mapping at a reached goal during exploration. Only initiates transition to CalculateGoalState. More...

#include <MappingDummyState.h>

Inheritance diagram for rsm::MappingDummyState:
Inheritance graph
[legend]

Public Member Functions

 MappingDummyState ()
 
void onActive ()
 
void onEntry ()
 
void onExit ()
 
void onExplorationStart (bool &success, std::string &message)
 
void onExplorationStop (bool &success, std::string &message)
 
void onInterrupt (int interrupt)
 Called when an operation mode interrupt was received. More...
 
void onSetup ()
 
void onWaypointFollowingStart (bool &success, std::string &message)
 
void onWaypointFollowingStop (bool &success, std::string &message)
 
 ~MappingDummyState ()
 
- Public Member Functions inherited from rsm::BaseState
 BaseState ()
 
std::string getName ()
 
StateInterfacegetStateInterface ()
 
void setStateInterface (StateInterface *stateinterface)
 
virtual ~BaseState ()
 

Private Attributes

int _navigation_completed_status
 
ros::ServiceClient _navigation_goal_completed_service
 
ros::NodeHandle _nh
 

Additional Inherited Members

- Protected Attributes inherited from rsm::BaseState
bool _interrupt_occured
 
std::string _name
 
StateInterface_stateinterface
 

Detailed Description

Dummy state for mapping at a reached goal during exploration. Only initiates transition to CalculateGoalState.

Definition at line 19 of file MappingDummyState.h.

Constructor & Destructor Documentation

rsm::MappingDummyState::MappingDummyState ( )

Constructor

Definition at line 5 of file MappingDummyState.cpp.

rsm::MappingDummyState::~MappingDummyState ( )

Destructor

Definition at line 8 of file MappingDummyState.cpp.

Member Function Documentation

void rsm::MappingDummyState::onActive ( )
virtual

Process method (step-wise, never block this method)

Implements rsm::BaseState.

Definition at line 22 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onEntry ( )
virtual

Called once when activated

Reimplemented from rsm::BaseState.

Definition at line 19 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onExit ( )
virtual

Called once when left

Reimplemented from rsm::BaseState.

Definition at line 31 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onExplorationStart ( bool &  success,
std::string &  message 
)
virtual

Called when exploration was started manually

Reimplemented from rsm::BaseState.

Definition at line 39 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onExplorationStop ( bool &  success,
std::string &  message 
)
virtual

Called when exploration was stopped manually

Reimplemented from rsm::BaseState.

Definition at line 45 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onInterrupt ( int  interrupt)
virtual

Called when an operation mode interrupt was received.

Parameters
interruptKind of interrupt (0=EmergencyStop, 1=TeleoperationInterupt)

Reimplemented from rsm::BaseState.

Definition at line 63 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onSetup ( )
virtual

Called once when registered at StateInterface

Reimplemented from rsm::BaseState.

Definition at line 11 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onWaypointFollowingStart ( bool &  success,
std::string &  message 
)
virtual

Called when waypoint following was started/paused manually

Reimplemented from rsm::BaseState.

Definition at line 51 of file MappingDummyState.cpp.

void rsm::MappingDummyState::onWaypointFollowingStop ( bool &  success,
std::string &  message 
)
virtual

Called when waypoint following was stopped manually

Reimplemented from rsm::BaseState.

Definition at line 57 of file MappingDummyState.cpp.

Member Data Documentation

int rsm::MappingDummyState::_navigation_completed_status
private

Was the mapping at the exploration goal successful or not

Definition at line 86 of file MappingDummyState.h.

ros::ServiceClient rsm::MappingDummyState::_navigation_goal_completed_service
private

Definition at line 81 of file MappingDummyState.h.

ros::NodeHandle rsm::MappingDummyState::_nh
private

Definition at line 80 of file MappingDummyState.h.


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


rsm_additions
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:35