Package | Description |
---|---|
robot |
Modifier and Type | Method and Description |
---|---|
static SensorLocation |
SensorLocation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SensorLocation[] |
SensorLocation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
protected static void |
Robot.ColorDetector.setMotorDegree(SensorLocation location,
int degree)
Set the color sensor motor degree, called when calibrating the
sensor's motor or setting it to default
|
protected static void |
Robot.ColorDetector.setMotorLocation(SensorLocation location)
Rotate the color sensor motor to required location
|