ArActionInput Class Reference

#include <ArActionInput.h>

Inheritance diagram for ArActionInput:

ArAction 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 ArActionDesiredfire (ArActionDesired currentDesired)
virtual const ArActionDesiredgetDesired (void) const
virtual ArActionDesiredgetDesired (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:
Generated on Thu Aug 6 09:39:34 2009 for Aria by  doxygen 1.5.1