State being active while the robot is teleoperated. More...
#include <TeleoperationState.h>
Public Member Functions | |
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) |
TeleoperationState () | |
~TeleoperationState () | |
Public Member Functions inherited from rsm::BaseState | |
BaseState () | |
std::string | getName () |
StateInterface * | getStateInterface () |
void | setStateInterface (StateInterface *stateinterface) |
virtual | ~BaseState () |
Additional Inherited Members | |
Protected Attributes inherited from rsm::BaseState | |
bool | _interrupt_occured |
Shows if an interupt occured. More... | |
std::string | _name |
Name of the state. More... | |
StateInterface * | _stateinterface |
Pointer to State Interface handling all state transitions. More... | |
State being active while the robot is teleoperated.
Definition at line 15 of file TeleoperationState.h.
rsm::TeleoperationState::TeleoperationState | ( | ) |
Constructor
Definition at line 5 of file TeleoperationState.cpp.
rsm::TeleoperationState::~TeleoperationState | ( | ) |
Destructor
Definition at line 8 of file TeleoperationState.cpp.
|
virtual |
Process method (step-wise, never block this method)
Implements rsm::BaseState.
Definition at line 18 of file TeleoperationState.cpp.
|
virtual |
Called once when activated
Reimplemented from rsm::BaseState.
Definition at line 15 of file TeleoperationState.cpp.
|
virtual |
Called once when left
Reimplemented from rsm::BaseState.
Definition at line 21 of file TeleoperationState.cpp.
|
virtual |
Called when exploration was started manually
Reimplemented from rsm::BaseState.
Definition at line 24 of file TeleoperationState.cpp.
|
virtual |
Called when exploration was stopped manually
Reimplemented from rsm::BaseState.
Definition at line 30 of file TeleoperationState.cpp.
|
virtual |
Called when an operation mode interrupt was received.
interrupt | Kind of interrupt (0=EmergencyStop, 1=TeleoperationInterupt) |
Reimplemented from rsm::BaseState.
Definition at line 48 of file TeleoperationState.cpp.
|
virtual |
Called once when registered at StateInterface
Reimplemented from rsm::BaseState.
Definition at line 11 of file TeleoperationState.cpp.
|
virtual |
Called when waypoint following was started/paused manually
Reimplemented from rsm::BaseState.
Definition at line 36 of file TeleoperationState.cpp.
|
virtual |
Called when waypoint following was stopped manually
Reimplemented from rsm::BaseState.
Definition at line 42 of file TeleoperationState.cpp.