12 _name =
"Teleoperation";
25 std::string &message) {
27 message =
"Teleoperation active";
31 std::string &message) {
33 message =
"Exploration not running";
37 std::string &message) {
39 message =
"Teleoperation active";
43 std::string &message) {
45 message =
"Waypoint following not running";
51 boost::make_shared<EmergencyStopState>());
55 boost::make_shared<IdleState>());
void transitionToVolatileState(boost::shared_ptr< rsm::BaseState > next_state)
bool _interrupt_occured
Shows if an interupt occured.
void onExplorationStart(bool &success, std::string &message)
void onWaypointFollowingStop(bool &success, std::string &message)
std::string _name
Name of the state.
StateInterface * _stateinterface
Pointer to State Interface handling all state transitions.
#define EMERGENCY_STOP_INTERRUPT
void onWaypointFollowingStart(bool &success, std::string &message)
void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
void onExplorationStop(bool &success, std::string &message)