| Interface | Description |
|---|---|
| ButtonListener |
Listener interface for catching Button press and release events.
|
| Class | Description |
|---|---|
| Buttons |
Objects of this class represent the Button interface to the
Robot which it was created from
Provides the ability to wait for a button on the robot to be pressed. |
| ColorSensor |
This class represents an EV3 ColorSensor which has four modes of operation
ColorSensor.Mode.COLOR, ColorSensor.Mode.RED, ColorSensor.Mode.RGB and ColorSensor.Mode.AMBIENT
By default the sensor starts in ColorSensor.Mode.RED mode. |
| GyroSensor |
This class represents an EV3 GyroSensor which can detect its angle and the rate of change
|
| LargeMotor |
Represents a large motor
Each EV3 should contain 2 large motors
All
LargeMotor methods are common to Motor, this class is only used for calibration at construction. |
| MediumMotor |
Represents a medium motor
Each EV3 should contain 1 medium motor
All
MediumMotor methods are common to Motor, this class is only used for calibration at construction. |
| Motor |
This class represents a generic motor,
it is must be instantiated as a subclass of the correct motor model (Large or Medium).
|
| Robot |
Objects of this class represent particular EV3 based Lego robots.
|
| Sensor<T> | |
| Speaker |
Objects of this class represent the audio interface to the
Robot which it was created from |
| TouchSensor | |
| UltrasonicSensor |
This class represents an EV3 UltrasonicSensor which has two modes of operation
UltrasonicSensor.Mode.DISTANCE and UltrasonicSensor.Mode.LISTEN
By default the sensor starts in UltrasonicSensor.Mode.DISTANCE mode. |
| Enum | Description |
|---|---|
| Buttons.Button | |
| ColorSensor.Color |
Enums used to represent the possible colours returned by the Color sensor
|
| ColorSensor.FloodlightState | |
| ColorSensor.Mode |
Modes that this sensor can be used in
|
| Motor.Port |
These represent the physical ports on the robot which Motors can be connected to
|
| Sensor.Port |
These represent the physical ports on the robot which Sensors can be connected to
|
| TouchSensor.Mode | |
| UltrasonicSensor.Mode |
Modes that this sensor can be used in
|