Main Page   Class Hierarchy   Compound List   Compound Members  

ArActionConstantVelocity Class Reference

Action for going straight at a constant velocity. More...

#include <ArActionConstantVelocity.h>

Inheritance diagram for ArActionConstantVelocity::

ArAction List of all members.

Public Methods

 ArActionConstantVelocity (const char *name="Constant Velocity", double velocity=400)
 Constructor. More...

virtual ~ArActionConstantVelocity (void)
 Destructor.

virtual ArActionDesiredfire (ArActionDesired currentDesired)
 Fires the action, returning what the action wants to do. More...

virtual ArActionDesiredgetDesired (void)
 Gets what this action wants to do (for display purposes).


Detailed Description

Action for going straight at a constant velocity.

This action simply goes straight at a constant velocity.


Constructor & Destructor Documentation

ArActionConstantVelocity::ArActionConstantVelocity const char *    name = "Constant Velocity",
double    velocity = 400
 

Constructor.

Parameters:
name  name of the action
velocity  velocity to travel at (mm/sec)


Member Function Documentation

ArActionDesired * ArActionConstantVelocity::fire ArActionDesired    currentDesired [virtual]
 

Fires the action, returning what the action wants to do.

Parameters:
currentDesired  this is what the current resolver has for its desired, this is SOLELY for the purpose of giving information to the action
Returns:
pointer to what this action wants to do, NULL if it wants to do nothing

Reimplemented from ArAction.


The documentation for this class was generated from the following files:
Generated on Tue Nov 12 17:43:46 2002 for Aria by doxygen1.2.13.1 written by Dimitri van Heesch, © 1997-2001