ASCO Aerial Autonomy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
UAVVisionSystemHandler< LogicStateMachineT, EventManagerT > Class Template Reference

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_vision_system_handler.h>

Public Member Functions

 UAVVisionSystemHandler (UAVSystemHandlerConfig &config)
 Constructor. More...
 
 UAVVisionSystemHandler (const UAVVisionSystemHandler &)=delete
 Delete copy constructor. More...
 
parsernode::common::quaddata getUAVData ()
 Get UAV state. More...
 
bool isConnected ()
 Forward common handler connected function for testing is GUI is connected to this node or not. More...
 

Detailed Description

template<class LogicStateMachineT, class EventManagerT>
class UAVVisionSystemHandler< 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
LogicStateMachineTLogic state machine to use
EventManagerTEvent manager to use

Constructor & Destructor Documentation

template<class LogicStateMachineT , class EventManagerT >
UAVVisionSystemHandler< LogicStateMachineT, EventManagerT >::UAVVisionSystemHandler ( UAVSystemHandlerConfig &  config)
inline

Constructor.

Parameters
nhNodeHandle to use for event and command subscription
configProto configuration parameters
template<class LogicStateMachineT , class EventManagerT >
UAVVisionSystemHandler< LogicStateMachineT, EventManagerT >::UAVVisionSystemHandler ( const UAVVisionSystemHandler< LogicStateMachineT, EventManagerT > &  )
delete

Delete copy constructor.

Member Function Documentation

template<class LogicStateMachineT , class EventManagerT >
parsernode::common::quaddata UAVVisionSystemHandler< LogicStateMachineT, EventManagerT >::getUAVData ( )
inline

Get UAV state.

Returns
The UAV state
template<class LogicStateMachineT , class EventManagerT >
bool UAVVisionSystemHandler< LogicStateMachineT, EventManagerT >::isConnected ( )
inline

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: