26 message =
"Exploration started";
35 message =
"Exploration not running";
40 message =
"Waypoint following started";
42 boost::make_shared<WaypointFollowingState>());
47 message =
"Waypoint following not running";
54 boost::make_shared<EmergencyStopState>());
59 boost::make_shared<TeleoperationState>());
void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
boost::shared_ptr< rsm::BaseState > getPluginState(int plugin_type, std::string routine="")
Returns a plugin-state corresponding to the given type.
void transitionToVolatileState(boost::shared_ptr< rsm::BaseState > next_state)
void onExplorationStart(bool &success, std::string &message)
bool _interrupt_occured
Shows if an interupt occured.
void onExplorationStop(bool &success, std::string &message)
#define TELEOPERATION_INTERRUPT
#define CALCULATEGOAL_STATE
std::string _name
Name of the state.
StateInterface * _stateinterface
Pointer to State Interface handling all state transitions.
#define EMERGENCY_STOP_INTERRUPT
void onWaypointFollowingStop(bool &success, std::string &message)
#define SIMPLE_GOAL_INTERRUPT
void onWaypointFollowingStart(bool &success, std::string &message)