public abstract class Sensor<T> extends Object
Modifier and Type | Class and Description |
---|---|
static class |
Sensor.Port
These represent the physical ports on the robot which Sensors can be connected to
|
Modifier and Type | Method and Description |
---|---|
float[] |
getRawSample()
Get a value from the Sensor.
|
void |
run()
This method is for internal use, it exists due to Sensors and Motors both extending runnable.
|