![]() |
DUNE: Uniform Navigational Environment
2017.01.0
|
StationKeepingExtended maneuver.
Public Member Functions | |
| StationKeepingExtended (Maneuvers::Maneuver *task, StationKeepingExtendedArgs *args) | |
| ~StationKeepingExtended (void) | |
| void | onStart (const IMC::StationKeepingExtended *maneuver) |
| void | onEstimatedState (const IMC::EstimatedState *msg) |
| void | onPathControlState (const IMC::PathControlState *pcs) |
| void | onStateReport (void) |
| bool | keepSafe (void) |
| void | startLoiter (void) |
| void | doPopUp (void) |
Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::StationKeepingExtended, StationKeepingExtendedArgs > | |
| MuxedManeuver (Maneuvers::Maneuver *task, StationKeepingExtendedArgs *args) | |
| MuxedManeuver (Maneuvers::Maneuver *task) | |
| virtual | ~MuxedManeuver (void) |
| void | start (const IMC::Maneuver *maneuver) |
Public Member Functions inherited from Maneuver::Multiplexer::AbstractMux | |
| AbstractMux (Maneuvers::Maneuver *task) | |
| virtual | ~AbstractMux (void) |
| virtual void | onBrake (const IMC::Brake *msg) |
| virtual void | onVehicleMedium (const IMC::VehicleMedium *msg) |
| virtual void | onThrottle (const IMC::Throttle *msg) |
| virtual void | onGpsFix (const IMC::GpsFix *msg) |
Additional Inherited Members | |
Protected Attributes inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::StationKeepingExtended, StationKeepingExtendedArgs > | |
| StationKeepingExtendedArgs * | m_args |
Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux | |
| Maneuvers::Maneuver * | m_task |
|
inline |
Default constructor.
| [in] | task | pointer to Maneuver task |
| [in] | args | stationkeepingextended arguments |
|
inline |
|
inline |
Surfaces to report position.
References Maneuver::Multiplexer::AbstractMux::m_task.
Referenced by onStateReport().
|
inline |
Must adopt safe behavior (loiter underwater and popup periodically to report position)
Referenced by onEstimatedState(), onStart(), and onStateReport().
|
inlinevirtual |
On EstimatedState message.
| [in] | msg | EstimatedState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References keepSafe(), and startLoiter().
|
inlinevirtual |
On PathControlState message.
| [in] | pcs | PathControlState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References Maneuver::Multiplexer::AbstractMux::m_task.
|
inlinevirtual |
Start maneuver function.
| [in] | maneuver | stationkeepingextended maneuver message |
Implements Maneuver::Multiplexer::MuxedManeuver< IMC::StationKeepingExtended, StationKeepingExtendedArgs >.
References keepSafe(), Maneuver::Multiplexer::MuxedManeuver< IMC::StationKeepingExtended, StationKeepingExtendedArgs >::m_args, Maneuver::Multiplexer::AbstractMux::m_task, and Maneuver::Multiplexer::StationKeepingExtendedArgs::min_radius.
|
inlinevirtual |
On state report function.
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References doPopUp(), keepSafe(), Maneuver::Multiplexer::AbstractMux::m_task, and startLoiter().
|
inline |
Starts Loiter on current position.
References Maneuver::Multiplexer::AbstractMux::m_task.
Referenced by onEstimatedState(), and onStateReport().
