ICAROUS
|
Return to mission using a flightplan.
#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... | |
![]() | |
virtual retVal_e | Terminate (CognitionState_t *state) |
perform termination activities More... | |
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... | |
Additional Inherited Members | |
![]() | |
enum | execState_e |
enumerations for the execution state More... | |
enum | retVal_e |
enumerations for the return state | |
![]() | |
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 | |
|
inlinevirtual |
state |
Activate new plan if the new plan was received
Check for status of path request if request hasn't been responded yet. TODO: Perhaps a timeout is necessary here
Reimplemented from EventHandler< CognitionState_t >.
|
inlinevirtual |
state |
Only execute this handler if the nominal plan was not completed
Only execute if cognition is active
Extract current position and velocity
Two possible options for goals
Send out path planning request
Reimplemented from EventHandler< CognitionState_t >.