public class AriaInterface extends Object
| Constructor and Description | 
|---|
| AriaInterface(UgvExecution execution)Creates a new instance of ControlHardware | 
| Modifier and Type | Method and Description | 
|---|---|
| double | getHeadingCmd()Returns the commanded heading | 
| double | getSpeedCmd()Returns the commanded speed | 
| void | resetPosition()Resets the Aria objects to reflect an updated vehicle position (usually after a "SetPosition" command) | 
| void | setHeadingCmd(double newHdg)Sets a new commanded heading | 
| void | setSpeedCmd(double newSpd)Sets a new commanded speed | 
| void | setSpeedCmd(double newLeftSpd,
           double newRightSpd)Sets a new commanded speed for individual wheels
 NOTE:  DISABLES HEADING AND SPEED CONTROL | 
| void | shutdownAria()Closes out all of the Aria processes and shuts down the Aria subsystems | 
| void | updateState(UgvState state)Reads the current state variables from the robot and updates the state vector | 
public AriaInterface(UgvExecution execution)
execution - instance of TrackedUgvExecutionpublic void shutdownAria()
public void setSpeedCmd(double newSpd)
newSpd - new commanded speed in meters per secondpublic void setSpeedCmd(double newLeftSpd,
               double newRightSpd)
newLeftSpd - new commanded speed in meters per secondnewRightSpd - public double getSpeedCmd()
public void setHeadingCmd(double newHdg)
newHdg - new commanded heading (degrees) (0 North, 90 East)public double getHeadingCmd()
public void updateState(UgvState state)
state - object containing the state vector to be updatedpublic void resetPosition()