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

Transition action to perform when going into position control mode. More...

#include <position_control_functors.h>

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

Public Member Functions

void run (const PositionYaw &goal, 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 ActionFunctor< PositionYaw, UAVSystem, LogicStateMachineT >
void operator() (PositionYawconst &event, FSM &logic_state_machine, SourceState &, TargetState &)
 operator () Internally calls run function More...
 
virtual ~ActionFunctor ()
 Virtual destructor to obtain polymorphism. More...
 

Detailed Description

template<class LogicStateMachineT>
struct PositionControlTransitionActionFunctor_< LogicStateMachineT >

Transition action to perform when going into position control mode.

Template Parameters
LogicStateMachineTLogic state machine used to process events

Member Function Documentation

template<class LogicStateMachineT >
void PositionControlTransitionActionFunctor_< LogicStateMachineT >::run ( const PositionYaw event,
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
eventEvent triggering the action

Implements ActionFunctor< PositionYaw, UAVSystem, LogicStateMachineT >.


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