DUNE: Uniform Navigational Environment
2016.09.0
|
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.
|
inlinevirtual |
On EstimatedState message.
[in] | msg | pointer to EstimatedState message |
Reimplemented in DUNE::Maneuvers::FigureEight.
|
inlinevirtual |
On PathControlState message.
[in] | pcs | pointer to PathControlState message |
Reimplemented in DUNE::Maneuvers::FigureEight, and DUNE::Maneuvers::Circular.
|
protected |
Pointer to task.