DUNE: Uniform Navigational Environment  2019.02.0
Maneuver::Multiplexer::Land Class Reference

Detailed Description

Land maneuver.

Public Member Functions

 Land (Maneuvers::Maneuver *task)
 
void onStart (const IMC::Land *maneuver)
 
void onPathControlState (const IMC::PathControlState *pcs)
 
void onVehicleMedium (const IMC::VehicleMedium *msg)
 
void sendTouchdown (double lat, double lon, double z)
 
 ~Land (void)
 
- Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::Land, void >
 MuxedManeuver (Maneuvers::Maneuver *task, void *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 onEstimatedState (const IMC::EstimatedState *msg)
 
virtual void onStateReport (void)
 
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::Land, void >
void * m_args
 
- Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux
Maneuvers::Maneuver * m_task
 

Constructor & Destructor Documentation

Maneuver::Multiplexer::Land::Land ( Maneuvers::Maneuver *  task)
inline

Default constructor.

Parameters
[in]taskpointer to Maneuver task
Maneuver::Multiplexer::Land::~Land ( void  )
inline

Member Function Documentation

void Maneuver::Multiplexer::Land::onPathControlState ( const IMC::PathControlState *  pcs)
inlinevirtual

On PathControlState message.

Parameters
[in]pcspointer to PathControlState message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

References Maneuver::Multiplexer::AbstractMux::m_task, and sendTouchdown().

void Maneuver::Multiplexer::Land::onStart ( const IMC::Land *  maneuver)
inlinevirtual

Start maneuver function.

Parameters
[in]maneuvergoto maneuver message

Implements Maneuver::Multiplexer::MuxedManeuver< IMC::Land, void >.

References Maneuver::Multiplexer::AbstractMux::m_task.

void Maneuver::Multiplexer::Land::onVehicleMedium ( const IMC::VehicleMedium *  msg)
inlinevirtual

On message VehicleMedium.

Parameters
[in]msgpointer to VehicleMedium message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

References Maneuver::Multiplexer::AbstractMux::m_task.

void Maneuver::Multiplexer::Land::sendTouchdown ( double  lat,
double  lon,
double  z 
)
inline

Send touchdown DesiredPath.

Parameters
[in]latlatitude
[in]lonlongitude

References Maneuver::Multiplexer::AbstractMux::m_task.

Referenced by onPathControlState().

Collaboration diagram for Maneuver::Multiplexer::Land:
Collaboration graph