Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Pilot::GotoTarget Class Reference

#include <Pilot.h>

Inheritance diagram for Pilot::GotoTarget:

List of all members.


Detailed Description

Definition at line 103 of file Pilot.h.


Public Member Functions

 GotoTarget ()
virtual void DoStart ()

Public Attributes

BuildTargetbuildTargetNode

Protected Member Functions

int getNextWaypoint (Point *point, AngSignPi *angle)
void setNextWaypoint ()
Point getPointAtAngle (AngSignPi angle)

Private Member Functions

 GotoTarget (const GotoTarget &)
 do not call
GotoTargetoperator= (const GotoTarget &)
 do not call

Constructor & Destructor Documentation

GotoTarget (  )  [inline]

Definition at line 105 of file Pilot.h.

GotoTarget ( const GotoTarget  )  [private]

do not call


Member Function Documentation

void DoStart (  )  [virtual]

Definition at line 390 of file Pilot.cc.

Referenced by Pilot::Dispatch::DoStart().

int getNextWaypoint ( Point point,
AngSignPi *  angle 
) [protected]

Calculates the next waypoint and angle to turn in local coordinates.

Returns:
0 on success (got a new waypoint), 1 on success (arrived at destination), -1 on failure

Definition at line 442 of file Pilot.cc.

Referenced by Pilot::GotoTarget::DoStart().

void setNextWaypoint (  )  [protected]

Point getPointAtAngle ( AngSignPi  angle  )  [protected]

Returns a point in local coordinates corresponding to an angle around the target at the distance given in the pilot request.

Definition at line 513 of file Pilot.cc.

Referenced by Pilot::GotoTarget::getNextWaypoint().

GotoTarget& operator= ( const GotoTarget  )  [private]

do not call


Member Data Documentation


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

DualCoding 4.0
Generated Thu Nov 22 00:54:01 2007 by Doxygen 1.5.4