ArActionTurn Class Reference

#include <ArActionTurn.h>

Inheritance diagram for ArActionTurn:

ArAction List of all members.

Detailed Description

Action to turn when the behaviors with more priority have limited the speed.

This action is basically made so that you can just have a ton of limiters of different kinds and types to keep speed under control, then throw this into the mix to have the robot wander. Note that the turn amount ramps up to turnAmount starting at 0 at speedStartTurn and hitting the full amount at speedFullTurn.


Public Member Functions

 ArActionTurn (const char *name="turn", double speedStartTurn=200, double speedFullTurn=100, double turnAmount=15)
 Constructor.
virtual ArActionDesiredfire (ArActionDesired currentDesired)
virtual const ArActionDesiredgetDesired (void) const
virtual ArActionDesiredgetDesired (void)
virtual ~ArActionTurn ()
 Destructor.

Protected Attributes

ArActionDesired myDesired
double mySpeedFull
double mySpeedStart
double myTurnAmount
double myTurning


The documentation for this class was generated from the following file:
Generated on Thu Aug 6 09:39:34 2009 for Aria by  doxygen 1.5.1