DUNE: Uniform Navigational Environment
2019.02.0
|
Sample maneuver.
Public Member Functions | |
Sample (Maneuvers::Maneuver *task, SampleArgs *args) | |
~Sample (void) | |
void | onStart (const IMC::Sample *maneuver) |
void | onThrottle (const IMC::Throttle *throttle) |
void | setSyringeState (int syringe, float value) |
void | onVehicleMedium (const IMC::VehicleMedium *medium) |
Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Sample, SampleArgs > | |
MuxedManeuver (Maneuvers::Maneuver *task, SampleArgs *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 | onPathControlState (const IMC::PathControlState *pcs) |
virtual void | onBrake (const IMC::Brake *msg) |
virtual void | onEstimatedState (const IMC::EstimatedState *msg) |
virtual void | onStateReport (void) |
virtual void | onGpsFix (const IMC::GpsFix *msg) |
Additional Inherited Members | |
Protected Attributes inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Sample, SampleArgs > | |
SampleArgs * | m_args |
Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux | |
Maneuvers::Maneuver * | m_task |
|
inline |
|
inline |
|
inlinevirtual |
Start maneuver function.
[in] | maneuver | Sample maneuver message |
Implements Maneuver::Multiplexer::MuxedManeuver< IMC::Sample, SampleArgs >.
References Maneuver::Multiplexer::MuxedManeuver< IMC::Sample, SampleArgs >::m_args, and Maneuver::Multiplexer::SampleArgs::max_time.
|
inlinevirtual |
On Rpm message.
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References Maneuver::Multiplexer::MuxedManeuver< IMC::Sample, SampleArgs >::m_args, Maneuver::Multiplexer::AbstractMux::m_task, Maneuver::Multiplexer::SampleArgs::openValue, setSyringeState(), Maneuver::Multiplexer::SampleArgs::syringe0Id, Maneuver::Multiplexer::SampleArgs::syringe1Id, and Maneuver::Multiplexer::SampleArgs::syringe2Id.
|
inlinevirtual |
On VehicleMedium message.
Reimplemented from Maneuver::Multiplexer::AbstractMux.
|
inline |
References Maneuver::Multiplexer::AbstractMux::m_task.
Referenced by onThrottle().