|
ICAROUS
|
Handler for takeoff trigger.
#include <Handlers.hpp>
Public Member Functions | |
| retVal_e | Initialize (CognitionState_t *state) |
| perform all initialization activities for a specific task More... | |
| retVal_e | Execute (CognitionState_t *state) |
| perform the core activity More... | |
| retVal_e | Terminate (CognitionState_t *state) |
| perform termination activities More... | |
Public Member Functions inherited from EventHandler< CognitionState_t > | |
| bool | RunEvent (CognitionState_t *state) |
| Run this event. More... | |
| void | ExecuteHandler (std::shared_ptr< EventHandler< CognitionState_t > > hdl, std::string eventName, float priorityNew=0) |
| Spawn another handler. More... | |
Public Attributes | |
| double | takeoffStartTime |
| Keep track of time since we sent the takeoff command. | |
Public Attributes inherited from EventHandler< CognitionState_t > | |
| std::string | eventName |
| event name | |
| execState_e | execState |
| current execution state for this handler | |
| std::list< std::shared_ptr< EventHandler< CognitionState_t > > > | children |
| list of child handlers | |
| float | priority |
| current execution priority | |
| float | defaultPriority |
| user defined priority for this handler | |
Additional Inherited Members | |
Public Types inherited from EventHandler< CognitionState_t > | |
| enum | execState_e |
| enumerations for the execution state More... | |
| enum | retVal_e |
| enumerations for the return state | |
|
inlinevirtual |
| state |
Wait till we've obtained confirmation of takeoff
If no confirmation was received, let's try restarting takeoff.
Reimplemented from EventHandler< CognitionState_t >.
|
inlinevirtual |
| state |
Enqueue the takeoff command
Reimplemented from EventHandler< CognitionState_t >.
|
inlinevirtual |
| state |
If takeoff is successful, spawn the EngageNominalPlan handler
Reimplemented from EventHandler< CognitionState_t >.