Homepage Demos Overview Downloads Tutorials Reference
Credits

WaypointWalk< MAX_WAY > Class Template Reference

#include <WaypointWalkMC.h>

Inheritance diagram for WaypointWalk< MAX_WAY >:

Inheritance graph
[legend]
List of all members.

Detailed Description

template<unsigned int MAX_WAY>
class WaypointWalk< MAX_WAY >

Combines a WaypointEngine with a WalkMC so you can walk between a set of waypoints.

Note the use of a template so we can have dedicate more or less space without modifying the class.

But for everyday use, you can just use the WaypointWalkMC typedef which will default to a maximum of 100 waypoints

Definition at line 16 of file WaypointWalkMC.h.

Public Member Functions

 WaypointWalk ()
 constructor
 WaypointWalk (char *f)
 constructor
virtual int updateOutputs ()
 so we can get our hooks in to modify the target velocity
virtual int LoadWaypointFile (const char *f)
 allows loading a waypoint file
virtual int SaveWaypointFile (const char *f) const
 allows saving a waypoint file
virtual int LoadWalkMCFile (const char *f)
 allows loading a WalkMC parameter file
virtual int SaveWalkMCFile (const char *f) const
 allows saving a WalkMC parameter file

Static Public Attributes

static const unsigned int MAX_WAYPOINTS = MAX_WAY
 for external access to maximum waypoints


Constructor & Destructor Documentation

template<unsigned int MAX_WAY>
WaypointWalk< MAX_WAY >::WaypointWalk  )  [inline]
 

constructor

Definition at line 21 of file WaypointWalkMC.h.

template<unsigned int MAX_WAY>
WaypointWalk< MAX_WAY >::WaypointWalk char *  f  )  [inline]
 

constructor

Definition at line 26 of file WaypointWalkMC.h.


Member Function Documentation

template<unsigned int MAX_WAY>
virtual int WaypointWalk< MAX_WAY >::LoadWalkMCFile const char *  f  )  [inline, virtual]
 

allows loading a WalkMC parameter file

Definition at line 40 of file WaypointWalkMC.h.

template<unsigned int MAX_WAY>
virtual int WaypointWalk< MAX_WAY >::LoadWaypointFile const char *  f  )  [inline, virtual]
 

allows loading a waypoint file

Definition at line 38 of file WaypointWalkMC.h.

template<unsigned int MAX_WAY>
virtual int WaypointWalk< MAX_WAY >::SaveWalkMCFile const char *  f  )  const [inline, virtual]
 

allows saving a WalkMC parameter file

Definition at line 41 of file WaypointWalkMC.h.

template<unsigned int MAX_WAY>
virtual int WaypointWalk< MAX_WAY >::SaveWaypointFile const char *  f  )  const [inline, virtual]
 

allows saving a waypoint file

Definition at line 39 of file WaypointWalkMC.h.

template<unsigned int MAX_WAY>
virtual int WaypointWalk< MAX_WAY >::updateOutputs  )  [inline, virtual]
 

so we can get our hooks in to modify the target velocity

Reimplemented from WalkMC.

Definition at line 31 of file WaypointWalkMC.h.


Member Data Documentation

template<unsigned int MAX_WAY>
const unsigned int WaypointWalk< MAX_WAY >::MAX_WAYPOINTS = MAX_WAY [static]
 

for external access to maximum waypoints

Reimplemented from WaypointEngine< MAX_WAY >.

Definition at line 18 of file WaypointWalkMC.h.

Referenced by WaypointWalk< MAX_WAY >::WaypointWalk().


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

Tekkotsu v2.2.2
Generated Tue Jan 4 15:45:35 2005 by Doxygen 1.4.0