Aria: ArActionInput Class Reference

- Main Page
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# ArActionInput Class Reference

`#include <ArActionInput.h>`

Inheritance diagram for ArActionInput:

List of all members.

## Detailed Description

Action for taking input from outside to control the robot.

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

The documentation for this class was generated from the following file:

- ArActionInput.h