BootState.h
Go to the documentation of this file.
1 #ifndef BOOTSTATE_H
2 #define BOOTSTATE_H
3 
4 #include <std_srvs/SetBool.h>
5 #include <rsm_core/BaseState.h>
7 #include <rsm_core/IdleState.h>
9 
10 namespace rsm {
11 
16 class BootState: public BaseState {
17 
18 public:
19 
23  BootState();
24 
28  ~BootState();
29 
33  void onSetup();
34 
38  void onEntry();
39 
43  void onActive();
44 
48  void onExit();
49 
53  void onExplorationStart(bool &success, std::string &message);
54 
58  void onExplorationStop(bool &success, std::string &message);
59 
63  void onWaypointFollowingStartStop(bool &success, std::string &message);
64 
69  void onInterrupt(int interrupt);
70 
71 private:
73 
74 };
75 
76 }
77 
78 #endif
void onExplorationStop(bool &success, std::string &message)
Called when exploration was stopped manually.
Definition: BootState.cpp:44
void onInterrupt(int interrupt)
Called when an operation mode interrupt was received.
Definition: BootState.cpp:55
void onActive()
Process method (step-wise, never block this method)
Definition: BootState.cpp:22
BootState()
Constructor.
Definition: BootState.cpp:5
void onExit()
Called once when left.
Definition: BootState.cpp:36
void onWaypointFollowingStartStop(bool &success, std::string &message)
Definition: BootState.cpp:49
Definition: BaseState.h:8
void onSetup()
Called once when registered at StateInterface.
Definition: BootState.cpp:11
ros::ServiceClient _bootupClient
Definition: BootState.h:72
~BootState()
Destructor.
Definition: BootState.cpp:8
void onEntry()
Called once when activated.
Definition: BootState.cpp:19
void onExplorationStart(bool &success, std::string &message)
Definition: BootState.cpp:39
State being active until all vital systems are running and ready.
Definition: BootState.h:16


rsm_core
Author(s): Marco Steinbrink
autogenerated on Tue Mar 16 2021 02:44:31