|
ASCO Aerial Autonomy
|
Guard function to check the goal is within tolerance before starting towards goal. More...
#include <position_control_functors.h>


Public Member Functions | |
| bool | guard (const PositionYaw &goal, UAVSystem &robot_system) |
| Override this guard function for different sub classes. This function decides whether to call the run function for each state. More... | |
Public Member Functions inherited from GuardFunctor< PositionYaw, UAVSystem, LogicStateMachineT > | |
| bool | operator() (PositionYawconst &event, FSM &logic_state_machine, SourceState &, TargetState &) |
| operator () Internally calls guard function More... | |
| virtual | ~GuardFunctor () |
| Destructor. More... | |
Guard function to check the goal is within tolerance before starting towards goal.
| LogicStateMachineT | Logic state machine used to process events |
|
inlinevirtual |
Override this guard function for different sub classes. This function decides whether to call the run function for each state.
| robot_system | Provides sensor data and allows for controlling hardware |
| event | Event triggering the action |
Implements GuardFunctor< PositionYaw, UAVSystem, LogicStateMachineT >.
1.8.6