Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | Related Pages

ArActionMovementParameters Class Reference

This is a class for setting max velocities and accels and decels. More...

#include <ArActionMovementParameters.h>

Inheritance diagram for ArActionMovementParameters:

ArAction List of all members.

Public Member Functions

void addToConfig (ArConfig *config, const char *section, const char *prefix=NULL)
 Adds to the ArConfig given, in section, with prefix.
 ArActionMovementParameters (const char *name="MovementParameters")
 Constructor.
virtual ArActionDesiredfire (ArActionDesired currentDesired)
 Fires the action, returning what the action wants to do.
virtual ArActionDesiredgetDesired (void)
 Gets what this action wants to do (for display purposes).
void setParameters (double maxVel=0, double maxNegVel=0, double transAccel=0, double transDecel=0, double rotVelMax=0, double rotAccel=0, double rotDecel=0)
 Sets the parameters (don't use this if you're using the addToConfig).
virtual ~ArActionMovementParameters ()
 Destructor.

Protected Attributes

ArActionDesired myDesired
double myMaxNegVel
double myMaxRotVel
double myMaxVel
double myRotAccel
double myRotDecel
double myTransAccel
double myTransDecel

Detailed Description

This is a class for setting max velocities and accels and decels.

Definition at line 38 of file ArActionMovementParameters.h.


Member Function Documentation

ArActionDesired * ArActionMovementParameters::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

Implements ArAction.

Definition at line 129 of file ArActionMovementParameters.cpp.

References ArActionDesired::getMaxNegVel(), ArActionDesired::getMaxNegVelStrength(), ArActionDesired::getMaxRotVel(), ArActionDesired::getMaxRotVelStrength(), ArActionDesired::getMaxVel(), ArActionDesired::getMaxVelStrength(), ArActionDesired::getRotAccel(), ArActionDesired::getRotAccelStrength(), ArActionDesired::getRotDecel(), ArActionDesired::getRotDecelStrength(), ArActionDesired::getTransAccel(), ArActionDesired::getTransAccelStrength(), ArActionDesired::getTransDecel(), ArActionDesired::getTransDecelStrength(), ArActionDesired::reset(), ArActionDesired::setMaxNegVel(), ArActionDesired::setMaxRotVel(), ArActionDesired::setMaxVel(), ArActionDesired::setRotAccel(), ArActionDesired::setRotDecel(), ArActionDesired::setTransAccel(), and ArActionDesired::setTransDecel().


The documentation for this class was generated from the following files:
Generated on Wed Oct 19 12:56:42 2005 for Aria by  doxygen 1.4.0