#include <ArActionTurn.h>
Inheritance diagram for ArActionTurn:
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 ArActionDesired * | fire (ArActionDesired currentDesired) |
virtual const ArActionDesired * | getDesired (void) const |
virtual ArActionDesired * | getDesired (void) |
virtual | ~ArActionTurn () |
Destructor. | |
Protected Attributes | |
ArActionDesired | myDesired |
double | mySpeedFull |
double | mySpeedStart |
double | myTurnAmount |
double | myTurning |