DUNE: Uniform Navigational Environment
2020.01.0
|
Yoyo maneuver.
Public Member Functions | |
YoYo (Maneuvers::Maneuver *task, YoYoArgs *args) | |
~YoYo (void) | |
void | onStart (const IMC::YoYo *maneuver) |
void | onPathControlState (const IMC::PathControlState *pcs) |
void | onEstimatedState (const IMC::EstimatedState *msg) |
void | onBrake (const IMC::Brake *msg) |
void | update (double depth, double alt, double theta) |
Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::YoYo, YoYoArgs > | |
MuxedManeuver (Maneuvers::Maneuver *task, YoYoArgs *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 | onStateReport (void) |
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::YoYo, YoYoArgs > | |
YoYoArgs * | m_args |
Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux | |
Maneuvers::Maneuver * | m_task |
|
inline |
Default constructor.
[in] | task | pointer to Maneuver task |
[in] | args | yoyo arguments |
|
inline |
Destructor.
|
inlinevirtual |
On Brake message.
Reimplemented from Maneuver::Multiplexer::AbstractMux.
|
inlinevirtual |
On EstimatedState message.
[in] | msg | EstimatedState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
|
inlinevirtual |
On PathControlState message.
[in] | pcs | pointer to PathControlState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
|
inlinevirtual |
Start maneuver function.
[in] | maneuver | yoyo maneuver message |
Implements Maneuver::Multiplexer::MuxedManeuver< IMC::YoYo, YoYoArgs >.
|
inline |
update the maneuver with a depth or altitude value a negative value will be interpreted as an altitude
[in] | depth | current depth position |
[in] | alt | current altitude position |
[in] | theta | current pitch angle |