#include <ArActionTurn.h>
Inheritance diagram for ArActionTurn::
Public Methods | |
ArActionTurn (const char *name="turn", double speedStartTurn=200, double speedFullTurn=100, double turnAmount=15) | |
Constructor. | |
virtual | ~ArActionTurn (void) |
Destructor. | |
virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
Fires the action, returning what the action wants to do. More... | |
virtual ArActionDesired * | getDesired (void) |
Gets what this action wants to do (for display purposes). |
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.
|
Fires the action, returning what the action wants to do.
Reimplemented from ArAction. |