Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

DualCoding::Pilot::ExecutePlan::AdjustHeading Class Reference

Perform an adjusting turn if we localized successfully, or a collision occurred. More...

#include <Pilot.h>

Inheritance diagram for DualCoding::Pilot::ExecutePlan::AdjustHeading:

Detailed Description

Perform an adjusting turn if we localized successfully, or a collision occurred.

Definition at line 349 of file Pilot.h.

List of all members.

Public Member Functions

 AdjustHeading (const std::string &nodename, const ExecutePlan::TurnAdjustType_t _adjustmentType)
virtual void doStart ()
 Delegate function for subclasses to be notified when the behavior starts up.
virtual void doAdjust (NavigationPlan &plan)

Public Attributes

const ExecutePlan::TurnAdjustType_t adjustmentType

Constructor & Destructor Documentation

DualCoding::Pilot::ExecutePlan::AdjustHeading::AdjustHeading ( const std::string &  nodename,
const ExecutePlan::TurnAdjustType_t  _adjustmentType 
)

Definition at line 351 of file Pilot.h.


Member Function Documentation

virtual void DualCoding::Pilot::ExecutePlan::AdjustHeading::doAdjust ( NavigationPlan plan  )  [virtual]

Referenced by doStart().

virtual void DualCoding::Pilot::ExecutePlan::AdjustHeading::doStart (  )  [virtual]

Delegate function for subclasses to be notified when the behavior starts up.

Should be overridden by subclasses to subscribe to events, install motion commands, etc.

doStart() is basically a hook to allow subclasses to jump in and do some customization of behavior parameters while the behavior is starting. If you are writing a behavior class and do not expect further derivation, just override doStart() yourself. However, if you do expect further derivation of your class, consider using preStart() or postStart() instead, and leave doStart() for the 'leaf' classes.

Reimplemented from BehaviorBase.

Definition at line 353 of file Pilot.h.


Member Data Documentation


The documentation for this class was generated from the following file:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:20 2016 by Doxygen 1.6.3