ReversingRoutineState.h
Go to the documentation of this file.
1 #ifndef REVERSINGROUTINESTATE_H
2 #define REVERSINGROUTINESTATE_H
3 
5 #include <rsm_core/BaseState.h>
6 #include <rsm_core/IdleState.h>
11 #include <rsm_msgs/GoalCompleted.h>
12 #include <std_srvs/SetBool.h>
13 #include <std_srvs/Trigger.h>
14 #include <std_srvs/Empty.h>
15 
16 namespace rsm {
17 
23 
24 public:
25 
30 
35 
39  void onSetup();
40 
44  void onEntry();
45 
49  void onActive();
50 
54  void onExit();
55 
59  void onExplorationStart(bool &success, std::string &message);
60 
64  void onExplorationStop(bool &success, std::string &message);
65 
69  void onWaypointFollowingStart(bool &success, std::string &message);
70 
74  void onWaypointFollowingStop(bool &success, std::string &message);
75 
80  void onInterrupt(int interrupt);
81 
82 private:
87 
96 };
97 
98 }
99 
100 #endif
ros::ServiceClient _set_reverse_moving_service
void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
ros::ServiceClient _navigation_goal_completed_service
void onWaypointFollowingStart(bool &success, std::string &message)
ros::ServiceClient _get_reverse_moving_service
void onExplorationStart(bool &success, std::string &message)
void onExplorationStop(bool &success, std::string &message)
void onWaypointFollowingStop(bool &success, std::string &message)
Routine state that toggles the reverse mode.


rsm_additions
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:35