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

Basic events such as takeoff land etc. More...

#include <manual_control_functors.h>

Inheritance diagram for ManualControlSwitchAction_< LogicStateMachineT >:
Inheritance graph
[legend]
Collaboration diagram for ManualControlSwitchAction_< LogicStateMachineT >:
Collaboration graph
[legend]

Public Member Functions

void run (UAVSystem &robot_system)
 Override this run function for different sub classes. This function performs the logic checking for each state. More...
 
- Public Member Functions inherited from EventAgnosticActionFunctor< UAVSystem, LogicStateMachineT >
void operator() (EventT const &, FSM &logic_state_machine, SourceState &, TargetState &)
 operator () Internally calls run function More...
 
virtual ~EventAgnosticActionFunctor ()
 virtual destructor to get polymorphism More...
 

Detailed Description

template<class LogicStateMachineT>
struct ManualControlSwitchAction_< LogicStateMachineT >

Basic events such as takeoff land etc.

action to take when switching from manual UAV to SDK Mode

Template Parameters
LogicStateMachineTLogic state machine used to process events

Member Function Documentation

template<class LogicStateMachineT >
void ManualControlSwitchAction_< LogicStateMachineT >::run ( UAVSystem robot_system)
inlinevirtual

Override this run function for different sub classes. This function performs the logic checking for each state.

Parameters
robot_systemProvides sensor data and allows for controlling hardware

Implements EventAgnosticActionFunctor< UAVSystem, LogicStateMachineT >.


The documentation for this struct was generated from the following file: