DUNE: Uniform Navigational Environment  2016.05.0
Maneuver::Multiplexer::FollowPath Class Reference

Detailed Description

FollowPath maneuver.

Public Member Functions

 FollowPath (Maneuvers::Maneuver *task)
 
 ~FollowPath (void)
 
void reset (void)
 
void onStart (const IMC::FollowPath *maneuver)
 
void onPathControlState (const IMC::PathControlState *pcs)
 
void gotoNextPoint (void)
 
- Public Member Functions inherited from Maneuver::Multiplexer::MuxedManeuver< IMC::FollowPath, 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 onEstimatedState (const IMC::EstimatedState *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::FollowPath, void >
void * m_args
 
- Protected Attributes inherited from Maneuver::Multiplexer::AbstractMux
Maneuvers::Maneuver * m_task
 

Constructor & Destructor Documentation

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

Default constructor.

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

Destructor.

Member Function Documentation

void Maneuver::Multiplexer::FollowPath::gotoNextPoint ( void  )
inline

Routine to throw next waypoint.

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

Referenced by onPathControlState(), and onStart().

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

On PathControlState message.

Parameters
[in]pcspointer to PathControlState message

Reimplemented from Maneuver::Multiplexer::AbstractMux.

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

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

Start maneuver function.

Parameters
[in]maneuverfollowpath maneuver message

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

References gotoNextPoint(), Maneuver::Multiplexer::AbstractMux::m_task, and reset().

void Maneuver::Multiplexer::FollowPath::reset ( void  )
inline

Reset function.

Referenced by onStart().

Collaboration diagram for Maneuver::Multiplexer::FollowPath:
Collaboration graph