DUNE: Uniform Navigational Environment
2017.01.0
|
Elevator maneuver.
Public Member Functions | |
Elevator (Maneuvers::Maneuver *task, ElevatorArgs *args) | |
~Elevator (void) | |
void | onStart (const IMC::Elevator *maneuver) |
void | onEstimatedState (const IMC::EstimatedState *msg) |
void | onPathControlState (const IMC::PathControlState *pcs) |
void | checkVerticalProgress (void) |
Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs > | |
MuxedManeuver (Maneuvers::Maneuver *task, ElevatorArgs *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 | onGpsFix (const IMC::GpsFix *msg) |
Additional Inherited Members | |
Protected Attributes inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs > | |
ElevatorArgs * | m_args |
Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux | |
Maneuvers::Maneuver * | m_task |
|
inline |
Default constructor.
[in] | task | pointer to Maneuver task |
[in] | args | elevator arguments |
|
inline |
Destructor.
|
inline |
Check vertical progress.
References Maneuver::Multiplexer::AbstractMux::m_task.
Referenced by onPathControlState().
|
inlinevirtual |
On message EstimatedState.
[in] | msg | pointer to EstimatedState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
|
inlinevirtual |
On PathControlState message.
[in] | pcs | pointer to PathControlState message |
Reimplemented from Maneuver::Multiplexer::AbstractMux.
References checkVerticalProgress(), Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs >::m_args, Maneuver::Multiplexer::AbstractMux::m_task, and Maneuver::Multiplexer::ElevatorArgs::vmonitor_speed.
|
inlinevirtual |
Start maneuver function.
[in] | maneuver | rows maneuver message |
Implements Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs >.
References Maneuver::Multiplexer::MuxedManeuver< IMC::Elevator, ElevatorArgs >::m_args, Maneuver::Multiplexer::AbstractMux::m_task, Maneuver::Multiplexer::ElevatorArgs::min_radius, Maneuver::Multiplexer::ElevatorArgs::vmonitor_speed, and Maneuver::Multiplexer::ElevatorArgs::vmonitor_timeout.