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

Logic to grab an object, sleep for few seconds Abort UAV, Arm controllers. More...

#include <pick_place_functors.h>

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

Public Member Functions

bool guard (UAVArmSystem &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 EventAgnosticGuardFunctor< UAVArmSystem, LogicStateMachineT >
bool operator() (EventT const &, FSM &logic_state_machine, SourceState &, TargetState &)
 operator () Internally calls run function More...
 
virtual ~EventAgnosticGuardFunctor ()
 virtual destructor to get polymorphism More...
 

Detailed Description

template<class LogicStateMachineT>
struct PickGuard_< LogicStateMachineT >

Logic to grab an object, sleep for few seconds Abort UAV, Arm controllers.

Template Parameters
LogicStateMachineTLogic state machine used to process events

Member Function Documentation

template<class LogicStateMachineT >
bool PickGuard_< LogicStateMachineT >::guard ( UAVArmSystem 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 EventAgnosticGuardFunctor< UAVArmSystem, LogicStateMachineT >.


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