public class RobotLocation
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double[] |
angles
2x5 angles
|
static int |
NUMBER_OF_ROBOT_ANGLES
the arm has 5 degrees of freedom + the gripper
|
Constructor and Description |
---|
RobotLocation()
construct an empty location
|
RobotLocation(java.lang.String locations)
parse the location specification string as loaded from the game specification file
|
Modifier and Type | Method and Description |
---|---|
RobotLocation |
getCopy()
make a copy of this location
|
java.lang.String |
toString()
convert the first part of the location to string for visualization in robot controll window
|
public static final int NUMBER_OF_ROBOT_ANGLES
public double[] angles
public RobotLocation()
public RobotLocation(java.lang.String locations) throws java.lang.Exception
java.lang.Exception
public RobotLocation getCopy()
public java.lang.String toString()
toString
in class java.lang.Object