10 #define INTERRUPT_END 0 11 #define EMERGENCY_STOP_INTERRUPT 1 12 #define TELEOPERATION_INTERRUPT 2 13 #define SIMPLE_GOAL_INTERRUPT 3 14 #define SIMPLE_GOAL_STOP_INTERRUPT 4 17 #define WAYPOINT_FOLLOWING 1 81 std::string &message) {
StateInterface * getStateInterface()
virtual void onActive()=0
virtual void onWaypointFollowingStart(bool &success, std::string &message)
virtual void onWaypointFollowingStop(bool &success, std::string &message)
bool _interrupt_occured
Shows if an interupt occured.
virtual void onExplorationStop(bool &success, std::string &message)
std::string _name
Name of the state.
StateInterface * _stateinterface
Pointer to State Interface handling all state transitions.
virtual void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
virtual void onExplorationStart(bool &success, std::string &message)
Handles the RSM transitions between the different state classes and holds a reference to the current ...
void setStateInterface(StateInterface *stateinterface)