DUNE: Uniform Navigational Environment
2019.02.1
|
Abstract Loiter behavior.
Public Member Functions | |
AbstractLoiter (Maneuvers::Maneuver *task) | |
virtual | ~AbstractLoiter (void) |
virtual void | onPathControlState (const IMC::PathControlState *pcs) |
virtual void | onEstimatedState (const IMC::EstimatedState *msg) |
virtual bool | isLoitering (void) const =0 |
Protected Attributes | |
Maneuvers::Maneuver * | m_task |
|
inline |
Constructor.
[in] | task | pointer to Maneuver task. |
|
inlinevirtual |
Destructor.
|
pure virtual |
Are we loiterting already?
Implemented in DUNE::Maneuvers::FigureEight, and DUNE::Maneuvers::Circular.
Referenced by onEstimatedState().
|
inlinevirtual |
On EstimatedState message.
[in] | msg | pointer to EstimatedState message |
Reimplemented in DUNE::Maneuvers::FigureEight.
References isLoitering().
|
inlinevirtual |
On PathControlState message.
[in] | pcs | pointer to PathControlState message |
Reimplemented in DUNE::Maneuvers::FigureEight, and DUNE::Maneuvers::Circular.
|
protected |
Pointer to task.
Referenced by DUNE::Maneuvers::FigureEight::FigureEight().