DUNE: Uniform Navigational Environment
2019.02.0
|
ScheduledGoto maneuver.
Public Member Functions | |
ScheduledGoto (Maneuvers::Maneuver *task, ScheduledArgs *args) | |
void | onStart (const IMC::ScheduledGoto *maneuver) |
void | onPathControlState (const IMC::PathControlState *pcs) |
void | onEstimatedState (const IMC::EstimatedState *msg) |
double | update (const IMC::EstimatedState *msg) |
~ScheduledGoto (void) | |
Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::ScheduledGoto, ScheduledArgs > | |
MuxedManeuver (Maneuvers::Maneuver *task, ScheduledArgs *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 | 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::ScheduledGoto, ScheduledArgs > | |
ScheduledArgs * | m_args |
Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux | |
Maneuvers::Maneuver * | m_task |
|
inline |
Default constructor.
[in] | task | pointer to Maneuver task |
|
inline |
|
inlinevirtual |
On message EstimatedState.
[in] | msg | pointer to EstimatedState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References Maneuver::Multiplexer::AbstractMux::m_task, and update().
|
inlinevirtual |
On PathControlState message.
[in] | pcs | pointer to PathControlState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References Maneuver::Multiplexer::MuxedManeuver< IMC::ScheduledGoto, ScheduledArgs >::m_args, Maneuver::Multiplexer::AbstractMux::m_task, and Maneuver::Multiplexer::ScheduledArgs::max_speed.
|
inlinevirtual |
Start maneuver function.
[in] | maneuver | goto maneuver message |
Implements Maneuver::Multiplexer::MuxedManeuver< IMC::ScheduledGoto, ScheduledArgs >.
|
inline |
Update the maneuver with a new reference speed.
[in] | msg | estimated state message. |
References Maneuver::Multiplexer::MuxedManeuver< IMC::ScheduledGoto, ScheduledArgs >::m_args, Maneuver::Multiplexer::AbstractMux::m_task, and Maneuver::Multiplexer::ScheduledArgs::max_speed.
Referenced by onEstimatedState().