State being active until all vital systems are running and ready. More...
#include <BootState.h>
Public Member Functions | |
BootState () | |
Constructor. More... | |
void | onActive () |
Process method (step-wise, never block this method) More... | |
void | onEntry () |
Called once when activated. More... | |
void | onExit () |
Called once when left. More... | |
void | onExplorationStart (bool &success, std::string &message) |
void | onExplorationStop (bool &success, std::string &message) |
Called when exploration was stopped manually. More... | |
void | onInterrupt (int interrupt) |
Called when an operation mode interrupt was received. More... | |
void | onSetup () |
Called once when registered at StateInterface. More... | |
void | onWaypointFollowingStartStop (bool &success, std::string &message) |
~BootState () | |
Destructor. More... | |
Public Member Functions inherited from rsm::BaseState | |
BaseState () | |
std::string | getName () |
StateInterface * | getStateInterface () |
virtual void | onWaypointFollowingStart (bool &success, std::string &message) |
virtual void | onWaypointFollowingStop (bool &success, std::string &message) |
void | setStateInterface (StateInterface *stateinterface) |
virtual | ~BaseState () |
Private Attributes | |
ros::ServiceClient | _bootupClient |
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 until all vital systems are running and ready.
Definition at line 16 of file BootState.h.
rsm::BootState::BootState | ( | ) |
Constructor.
Definition at line 5 of file BootState.cpp.
rsm::BootState::~BootState | ( | ) |
Destructor.
Definition at line 8 of file BootState.cpp.
|
virtual |
Process method (step-wise, never block this method)
Implements rsm::BaseState.
Definition at line 22 of file BootState.cpp.
|
virtual |
Called once when activated.
Reimplemented from rsm::BaseState.
Definition at line 19 of file BootState.cpp.
|
virtual |
Called once when left.
Reimplemented from rsm::BaseState.
Definition at line 36 of file BootState.cpp.
|
virtual |
Called when exploration was started manually
Reimplemented from rsm::BaseState.
Definition at line 39 of file BootState.cpp.
|
virtual |
Called when exploration was stopped manually.
Reimplemented from rsm::BaseState.
Definition at line 44 of file BootState.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 55 of file BootState.cpp.
|
virtual |
Called once when registered at StateInterface.
Reimplemented from rsm::BaseState.
Definition at line 11 of file BootState.cpp.
void rsm::BootState::onWaypointFollowingStartStop | ( | bool & | success, |
std::string & | message | ||
) |
Called when waypoint following was started/paused manually
Definition at line 49 of file BootState.cpp.
|
private |
Definition at line 72 of file BootState.h.