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

Internal action to figure out when landing is complete. More...

#include <land_functors.h>

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

Public Member Functions

bool run (UAVSystem &robot_system, LogicStateMachineT &logic_state_machine)
 Internal function to check when landing is complete. More...
 
- Public Member Functions inherited from InternalActionFunctor< UAVSystem, 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 LandInternalActionFunctor_< LogicStateMachineT >

Internal action to figure out when landing is complete.

Todo:
(Gowtham) How to abort Land??
Template Parameters
LogicStateMachineTLogic state machine used to process events

Member Function Documentation

template<class LogicStateMachineT >
bool LandInternalActionFunctor_< LogicStateMachineT >::run ( UAVSystem robot_system,
LogicStateMachineT &  logic_state_machine 
)
inlinevirtual

Internal function to check when landing is complete.

Parameters
robot_systemrobot system to get sensor data
logic_state_machinelogic state machine to trigger events
Todo:
(Gowtham) Can also use uav status here

Implements InternalActionFunctor< UAVSystem, LogicStateMachineT >.


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