A C D I J L M N P R S W

A

ALL - Static variable in class JavaRCX
All sensors dark.

C

CENTER_ONLY - Static variable in class JavaRCX
Center sensor dark.
CENTER_RIGHT - Static variable in class JavaRCX
Center and right sensors dark.

D

DARK - Static variable in class JavaRCX
The level at which readings are considered black by the light sensor (<=DARK)

I

initialize() - Static method in class JavaRCX
Precondition: State must start at CENTER_ONLY.

J

JavaRCX - Class in <Unnamed>
JavaRCX.java Contains basic methods and variables common to all robot objectives.
JavaRCX() - Constructor for class JavaRCX
 

L

L_ROTATION - Static variable in class JavaRCX
Counter variable used to estimate how far the robot should turn left when lost
LEFT_CENTER - Static variable in class JavaRCX
Left and center sensors dark.
LEFT_ONLY - Static variable in class JavaRCX
Left sensor dark.
LEFT_RIGHT - Static variable in class JavaRCX
Left and right sensors dark.
LineFollower - Class in <Unnamed>
LineFollower.java Program for RCX that simply follows a black line on a white board.
LineFollower() - Constructor for class LineFollower
 
lost() - Static method in class JavaRCX
When the state NONE occurs this method will scan to the left for L_ROTATION then scan farther to the right R_ROTATION.

M

main(String[]) - Static method in class LineFollower
Runs forever taking appropriate motor actions for each state it is in.

N

NONE - Static variable in class JavaRCX
No sensors dark.

P

POWER - Static variable in class JavaRCX
Power level of the motors.
powerOff() - Static method in class JavaRCX
Exit program with 5 second delay.

R

R_ROTATION - Static variable in class JavaRCX
Counter variable used to estimate how far the robot should turn right when lost
RIGHT_ONLY - Static variable in class JavaRCX
Right sensor dark.

S

state - Static variable in class JavaRCX
Which state the sensors of the robot are in - possible values are constants below.

W

watcher - Static variable in class JavaRCX
A separate background thread that reads values from the light sensors and updates the state variable.

A C D I J L M N P R S W