Owns all of the autonomous system components and is responsible for thread management. Also owns a common system handler object to handle creation of state machine and connecting it to GUI.
More...
#include <uav_arm_system_handler.h>
template<class LogicStateMachineT, class EventManagerT>
class UAVArmSystemHandler< LogicStateMachineT, EventManagerT >
Owns all of the autonomous system components and is responsible for thread management. Also owns a common system handler object to handle creation of state machine and connecting it to GUI.
- Template Parameters
-
| LogicStateMachineT | Logic state machine to use |
| EventManagerT | Event manager to use |
template<class LogicStateMachineT , class EventManagerT >
Constructor.
- Parameters
-
| nh | NodeHandle to use for event and command subscription |
| config | Proto configuration parameters |
template<class LogicStateMachineT , class EventManagerT >
template<class LogicStateMachineT , class EventManagerT >
| parsernode::common::quaddata UAVArmSystemHandler< LogicStateMachineT, EventManagerT >::getUAVData |
( |
| ) |
|
|
inline |
Get UAV state.
- Returns
- The UAV state
template<class LogicStateMachineT , class EventManagerT >
Forward common handler connected function for testing is GUI is connected to this node or not.
- Returns
- true if connected
The documentation for this class was generated from the following file: