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

Check when folding arm is complete. More...

#include <arm_functors.h>

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

Public Member Functions

bool run (ArmSystem &robot_system, LogicStateMachineT &logic_state_machine)
 Function to check when folding arm is complete. If arm is not enabled, then abort. More...
 
- Public Member Functions inherited from InternalActionFunctor< ArmSystem, LogicStateMachineT >
bool operator() (EventT const &, FSM &logic_state_machine, SourceState &, TargetState &)
 operator () Internally calls run function More...
 
virtual ~InternalActionFunctor ()
 virtual destructor to get polymorphism More...
 

Detailed Description

template<class LogicStateMachineT>
struct ArmFoldInternalActionFunctor_< LogicStateMachineT >

Check when folding arm is complete.

Template Parameters
LogicStateMachineTLogic state machine used to process events

Member Function Documentation

template<class LogicStateMachineT >
bool ArmFoldInternalActionFunctor_< LogicStateMachineT >::run ( ArmSystem robot_system,
LogicStateMachineT &  logic_state_machine 
)
inlinevirtual

Function to check when folding arm is complete. If arm is not enabled, then abort.

Parameters
robot_systemrobot system to get sensor data
logic_state_machinelogic state machine to trigger events

Implements InternalActionFunctor< ArmSystem, LogicStateMachineT >.


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