#include <ArActionInput.h>
Inheritance diagram for ArActionInput:
This action sets up how we want to drive
Public Member Functions | |
ArActionInput (const char *name="Input") | |
Constructor. | |
void | clear (void) |
Clears it so its not using vel or heading. | |
void | deltaHeadingFromCurrent (double delta) |
Increment/decrement the heading from current. | |
virtual ArActionDesired * | fire (ArActionDesired currentDesired) |
virtual const ArActionDesired * | getDesired (void) const |
virtual ArActionDesired * | getDesired (void) |
void | setHeading (double heading) |
Sets a heading. | |
void | setRotVel (double rotVel) |
Sets a rotational velocity. | |
void | setVel (double vel) |
Set velocity (cancels deltaVel). | |
virtual | ~ArActionInput () |
Destructor. | |
Protected Types | |
enum | RotRegime { NONE, ROTVEL, DELTAHEADING, SETHEADING } |
Protected Attributes | |
ArActionDesired | myDesired |
RotRegime | myRotRegime |
double | myRotVal |
bool | myUsingVel |
double | myVelSet |
|
Constructor.
|