Robot.Arm, Robot.ColorDetector, Robot.ProximitySensor, Robot.TrayCALIBRATION_FILE_COLOR_MOTOR, CALIBRATION_FILE_COLOR_SENSOR, SENSOR_LIGHT_THRESHOLD, SENSOR_NUMBER_OF_SAMPLES| Constructor and Description |
|---|
Calibration() |
| Modifier and Type | Method and Description |
|---|---|
private static int[] |
calibrateColor()
Calibrate single color
|
private static int |
calibrateMotor(NxtMotor motor,
boolean reset)
Motor calibration
|
private static int |
calibrateMotor(NxtMotor motor,
boolean reset,
NxtSensor sensor)
Motor calibration
|
static void |
colorMotor()
Color sensor motor calibration
|
static void |
colorSensor()
Color sensor calibration
|
static void |
colorSensorLight()
Color sensor background light calibration (show only)
|
static void |
proximitySensor()
Proximity sensor calibration (show only)
|
static void |
tray()
Cube's tray calibration
|
delayMillisec, finishSolve, flipCube, getCalibratedWhiteRgb, init, rotateCube, scanFace, setTrayDefaultSpeed, setTrayScanSpeed, turnFace, waitForCubepublic static void colorSensor()
private static int[] calibrateColor()
public static void tray()
private static int calibrateMotor(NxtMotor motor, boolean reset)
motor - The motor to calibratereset - Should the method reset the motor location upon pressing ENTERtray()private static int calibrateMotor(NxtMotor motor, boolean reset, NxtSensor sensor)
motor - The motor to calibratereset - Should the method reset the motor location upon pressing ENTERsensor - Sensor to activate while calibrating the motorcolorMotor()public static void proximitySensor()
public static void colorSensorLight()
public static void colorMotor()