- A - Static variable in class ch.aplu.ev3.MotorPort
-
Declaration used by a motor connected to port A.
- actionPerformed(SensorPort, int) - Method in class ch.aplu.ev3.RemoteAdapter
-
Called when a button action is detected.
- actionPerformed(SensorPort, int) - Method in interface ch.aplu.ev3.RemoteListener
-
Called when a button action is detected.
- activate(boolean) - Method in class ch.aplu.ev3.LightSensor
-
Turns on/off the LED used for reflecting light back into the sensor.
- activate(boolean) - Method in class ch.aplu.ev3.NxtLightSensor
-
Turns on/off the LED used for reflecting light back into the sensor.
- add(Vector2D) - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector that is the vector sum of the current vector and the given vector.
- add(Vector3D) - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector that is the vector sum of the current vector and the given vector.
- addButtonListener(ButtonListener) - Method in class ch.aplu.ev3.LegoRobot
-
Registers a button listener to report events
when one of the brick buttons is hit.
- addLightListener(LightListener, int) - Method in class ch.aplu.ev3.LightSensor
-
Registers the given light listener for the given trigger level.
- addLightListener(LightListener) - Method in class ch.aplu.ev3.LightSensor
-
Registers the given light listener with default trigger level 500.
- addLightListener(LightListener, int) - Method in class ch.aplu.ev3.NxtLightSensor
-
Registers the given light listener for the given trigger level.
- addLightListener(LightListener) - Method in class ch.aplu.ev3.NxtLightSensor
-
Registers the given light listener with default trigger level 500.
- addPart(Part) - Method in class ch.aplu.ev3.LegoRobot
-
Assembles the given part into the robot.
- addRemoteListener(RemoteListener) - Method in class ch.aplu.ev3.IRRemoteSensor
-
Registers the given infrared remote listener.
- addSoundListener(SoundListener, int) - Method in class ch.aplu.ev3.NxtSoundSensor
-
Registers the given sound listener for the given trigger level.
- addSoundListener(SoundListener) - Method in class ch.aplu.ev3.NxtSoundSensor
-
Registers the given sound listener with default trigger level 50.
- addTouchListener(TouchListener) - Method in class ch.aplu.ev3.NxtTouchSensor
-
Registers the given touch listener.
- addTouchListener(TouchListener) - Method in class ch.aplu.ev3.TouchSensor
-
Registers the given touch listener.
- addUltrasonicListener(UltrasonicListener, int) - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Registers the given ultrasonic listener for the given trigger level.
- addUltrasonicListener(UltrasonicListener) - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Registers the given ultrasonic listener with default trigger level 20.
- addUltrasonicListener(UltrasonicListener, int) - Method in class ch.aplu.ev3.UltrasonicSensor
-
Registers the given ultrasonic listener for the given trigger level.
- addUltrasonicListener(UltrasonicListener) - Method in class ch.aplu.ev3.UltrasonicSensor
-
Registers the given ultrasonic listener with default trigger level 10.
- ArduinoLink - Class in ch.aplu.ev3
-
Class that represents I2C master-slave communication with the
Arduino microcontroller board.
- ArduinoLink(SensorPort) - Constructor for class ch.aplu.ev3.ArduinoLink
-
Creates a sensor instance connected to the given port.
- ArduinoLink() - Constructor for class ch.aplu.ev3.ArduinoLink
-
Creates a sensor instance connected to port S1.
- Gear - Class in ch.aplu.ev3
-
Class that represents the combination of two motors on an axis
to perform a car-like movement.
- Gear(MotorPort, MotorPort) - Constructor for class ch.aplu.ev3.Gear
-
Creates a gear instance with left motor plugged into port1, right motor plugged into port2.
- Gear() - Constructor for class ch.aplu.ev3.Gear
-
Creates a gear instance with left motor plugged into port A, right motor plugged into port B.
- GenericGear - Class in ch.aplu.ev3
-
Abstract class that represents the combination of two motors on an axis to perform a car-like movement.
- GenericIRSensor - Class in ch.aplu.ev3
-
Class that represents a generic Lego EV3 Infra Red sensor.
- GenericIRSensor.IRValue - Class in ch.aplu.ev3
-
Class to combine channel, bearing and distance values.
- GenericIRSensor.IRValue() - Constructor for class ch.aplu.ev3.GenericIRSensor.IRValue
-
- GenericMotor - Class in ch.aplu.ev3
-
Abstract class that represents a EV3LargeRegulatedMotors or a
lejos.hardware.motor.NXTRegulatedMotor.
- getBatteryLevel() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the battery level.
- getColor() - Method in class ch.aplu.ev3.ColorSensor
-
Returns a java.awt.Color reference to the color reading.
- getColor() - Method in class ch.aplu.ev3.HTColorSensor
-
Returns a java.awt.Color reference to the color reading.
- getColor() - Method in class ch.aplu.ev3.NxtColorSensor
-
Returns a java.awt.Color reference to the color reading.
- getColorID() - Method in class ch.aplu.ev3.ColorSensor
-
Returns a integer number ID for the current color reading.
- getColorID() - Method in class ch.aplu.ev3.HTColorSensor
-
Returns the color ID (0..17).
- getColorInt() - Method in class ch.aplu.ev3.ColorSensor
-
Returns the color as integer value of the color reading.
- getColorInt() - Method in class ch.aplu.ev3.HTColorSensor
-
Returns the color as integer value of the color reading.
- getColorInt() - Method in class ch.aplu.ev3.NxtColorSensor
-
Returns the color as integer value of the color reading.
- getColorLabel() - Method in class ch.aplu.ev3.ColorSensor
-
Returns one of the enums of ColorLabel.
- getCommand() - Method in class ch.aplu.ev3.IRRemoteSensor
-
Returns the command code corresponding to the currently
pressed buttons on the the Remote IR Command.
- getCommandStr() - Method in class ch.aplu.ev3.IRRemoteSensor
-
Returns the string represention of the command code corresponding
to the currently pressed buttons on the the Remote IR Command.
- getData(int, byte[], int) - Method in class ch.aplu.ev3.I2CSensor
-
Retrieves data from the sensor and waits for the result.
- getData(int, byte[], int, int) - Method in class ch.aplu.ev3.I2CSensor
-
Retrieves data from the sensor and waits for the result.
- getDirection() - Method in class ch.aplu.ev3.HTInfraredSeeker
-
Returns the direction (1..9) to the detected infrared source.
- getDirection() - Method in class ch.aplu.ev3.HTInfraredSeekerV2
-
Returns the direction (1..9) to the detected infrared source.
- getDirection() - Method in class ch.aplu.ev3.Vector2D
-
Returns the direction of the vector (range 0..2*pi)
- getDistance() - Method in class ch.aplu.ev3.HTEopdSensor
-
Polls the sensor.
- getDistance() - Method in class ch.aplu.ev3.HTEopdShortSensor
-
Polls the sensor.
- getDistance() - Method in class ch.aplu.ev3.IRDistanceSensor
-
Polls the sensor.
- getDistance() - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Polls the sensor.
- getDistance() - Method in class ch.aplu.ev3.UltrasonicSensor
-
Polls the sensor.
- getDoubleValue(String) - Method in class ch.aplu.ev3.EV3Properties
-
Gets the property value with the given key as double.
- getGear() - Method in class ch.aplu.ev3.NxtTurtleRobot
-
Returns the gear used as component of the turtle.
- getGear() - Method in class ch.aplu.ev3.TurtleRobot
-
Returns the gear used as component of the turtle.
- getHitButtonID() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the button ID of the button previously hit.
- getId() - Method in class ch.aplu.ev3.MotorPort
-
Returns the port identification as integer.
- getId() - Method in class ch.aplu.ev3.SensorPort
-
Returns the port identification as integer.
- getIntValue(String) - Method in class ch.aplu.ev3.EV3Properties
-
Gets the property value with the given key as int.
- getIntValue() - Method in class ch.aplu.ev3.IRSeekSensor
-
Polls the sensor.
- getLabel() - Method in class ch.aplu.ev3.MotorPort
-
Returns the port identification as string.
- getLabel() - Method in class ch.aplu.ev3.SensorPort
-
Returns the port identification as string.
- getLeftMotorCount() - Method in class ch.aplu.ev3.GenericGear
-
Returns current value of the rotation counter of the left motor.
- getLejosI2CSensor() - Method in class ch.aplu.ev3.I2CSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.I2CSensor.
- getLejosMotor() - Method in class ch.aplu.ev3.MediumMotor
-
Returns the reference of the the underlying lejos.hardware.motor.EV3MediumRegulatedMotor.
- getLejosMotor() - Method in class ch.aplu.ev3.Motor
-
Returns the reference of the the underlying lejos.hardware.motor.EV3LargeRegulatedMotor.
- getLejosMotor() - Method in class ch.aplu.ev3.NxtMotor
-
Returns the reference of the the underlying lejos.hardware.motor.NXTRegulatedNxtMotor.
- getLejosPort() - Method in class ch.aplu.ev3.Sensor
-
Returns the reference of the the underlying lejos.nxt.SensorPort.
- getLejosSensor() - Method in class ch.aplu.ev3.ColorSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.EV3ColorSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.GenericIRSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.EV3IRSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.GyroAngleSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.EV3GyroSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.GyroRateSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.EV3GyroSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.HTAccelerometer
-
Returns the reference of the the underlying
lejos.hardware.sensor.HiTechnicAccelerometer.
- getLejosSensor() - Method in class ch.aplu.ev3.HTBarometer
-
Returns the reference of the the underlying
lejos.hardware.sensor.HiTechnicBarometer.
- getLejosSensor() - Method in class ch.aplu.ev3.HTColorSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.HiTechnicColorSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.HTCompassSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.HiTechnicCompass.
- getLejosSensor() - Method in class ch.aplu.ev3.HTEopdSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.HiTechnicEOPD.
- getLejosSensor() - Method in class ch.aplu.ev3.HTEopdShortSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.HiTechnicEOPD.
- getLejosSensor() - Method in class ch.aplu.ev3.HTGyroSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.HiTechnicGyro.
- getLejosSensor() - Method in class ch.aplu.ev3.HTInfraredSeeker
-
Returns the reference of the the underlying lejos.hardware.sensor.HiTechnicIRSeekerV2.
- getLejosSensor() - Method in class ch.aplu.ev3.HTInfraredSeekerV2
-
Returns the reference of the the underlying lejos.hardware.sensor.HiTechnicIRSeekerV2.
- getLejosSensor() - Method in class ch.aplu.ev3.LightSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.EV3ColorSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.NxtColorSensor
-
Returns the reference of the the underlying
lejos.hardware.sensor.NxtColorSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.NxtLightSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.NxtLightSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.NxtSoundSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.NXTNxtSoundSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.NxtTouchSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.NXTTouchSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.NXTUltrasonicSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.TouchSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.EV3TouchSensor.
- getLejosSensor() - Method in class ch.aplu.ev3.UltrasonicSensor
-
Returns the reference of the the underlying lejos.hardware.sensor.EV3UltrasonicSensor.
- getLightValue() - Method in class ch.aplu.ev3.NxtColorSensor
-
Returns the intensity of the detected light.
- getLocation() - Method in class ch.aplu.ev3.EV3Properties
-
- getMotLeft() - Method in class ch.aplu.ev3.Gear
-
Returns left motor of the gear.
- getMotLeft() - Method in class ch.aplu.ev3.NxtGear
-
Returns left motor of the gear.
- getMotorCount() - Method in class ch.aplu.ev3.GenericMotor
-
Returns current value of the rotation counter.
- getMotRight() - Method in class ch.aplu.ev3.Gear
-
Returns right motor of the gear.
- getMotRight() - Method in class ch.aplu.ev3.NxtGear
-
Returns right motor of the gear.
- getNormalized() - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector with magnitude 1 in the direction of the given vector.
- getNormalized() - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector with magnitude 1 in the direction of the given vector.
- getPhi() - Method in class ch.aplu.ev3.Vector3D
-
Returns the phi direction of the vector (range 0..2*pi).
- getPortId() - Method in class ch.aplu.ev3.GenericMotor
-
Returns the port number.
- getPortLabel() - Method in class ch.aplu.ev3.GenericMotor
-
Returns the port label.
- getProductID() - Method in class ch.aplu.ev3.I2CSensor
-
Returns the product identifier (if available).
- getReply(int, int[]) - Method in class ch.aplu.ev3.ArduinoLink
-
Returns the reply from the Arduino after sending the request.
- getReplyInt(int) - Method in class ch.aplu.ev3.ArduinoLink
-
Returns a one byte reply (int in range 0..255).
- getReplyString(int) - Method in class ch.aplu.ev3.ArduinoLink
-
Returns a null-terminated ASCII string reply.
- getRightMotorCount() - Method in class ch.aplu.ev3.GenericGear
-
Returns current value of the rotation counter of the right motor.
- getRobotProperties() - Method in class ch.aplu.ev3.LegoRobot
-
- getSpeed() - Method in class ch.aplu.ev3.GenericGear
-
Returns the current speed (arbitrary units).
- getSpeed() - Method in class ch.aplu.ev3.GenericMotor
-
Returns the current speed (arbitrary units).
- getStringValue(String) - Method in class ch.aplu.ev3.EV3Properties
-
Gets the property value with the given key as string.
- getTemperature() - Method in class ch.aplu.ev3.TemperatureSensor
-
Returns the temperature in degrees Celsius rounded to two decimals.
- getTheta() - Method in class ch.aplu.ev3.Vector3D
-
Returns the phi direction of the vector (range 0..2*pi).
- getTime() - Static method in class ch.aplu.ev3.Tools
-
Gets the timer's time.
- getTurtleSpeed() - Method in class ch.aplu.ev3.NxtTurtleRobot
-
Returns the current turtle speed.
- getTurtleSpeed() - Method in class ch.aplu.ev3.TurtleRobot
-
Returns the current turtle speed.
- getValue() - Method in class ch.aplu.ev3.GyroAngleSensor
-
Returns the orientation of the sensor in repect to
its start orientation.
- getValue() - Method in class ch.aplu.ev3.GyroRateSensor
-
Returns the angular velocity.
- getValue() - Method in class ch.aplu.ev3.HTAccelerometer
-
Returns the ax, ay, az acceleration in a Vector3D.
- getValue() - Method in class ch.aplu.ev3.HTBarometer
-
Returns the barometric pressure.
- getValue() - Method in class ch.aplu.ev3.HTCompassSensor
-
Returns the compass direction.
- getValue() - Method in class ch.aplu.ev3.HTGyroSensor
-
Returns the angular velocity.
- getValue() - Method in class ch.aplu.ev3.IRSeekSensor
-
Polls the sensor.
- getValue() - Method in class ch.aplu.ev3.LightSensor
-
Polls the sensor.
- getValue() - Method in class ch.aplu.ev3.NxtLightSensor
-
Polls the sensor.
- getValue() - Method in class ch.aplu.ev3.NxtSoundSensor
-
Polls the sensor.
- getValue() - Method in class ch.aplu.ev3.NxtTouchSensor
-
Polls the sensor.
- getValue() - Method in class ch.aplu.ev3.OpticalDistanceSensor
-
Returns the distance from the object in millimeters.
- getValue() - Method in class ch.aplu.ev3.TouchSensor
-
Polls the sensor.
- getVelocity() - Method in class ch.aplu.ev3.GenericGear
-
Returns the current velocity.
- getVelocity() - Method in class ch.aplu.ev3.GenericMotor
-
Returns the current velocity.
- getVersion() - Method in class ch.aplu.ev3.I2CSensor
-
Returns the sensor version number (if available).
- getVersion() - Static method in class ch.aplu.ev3.LegoRobot
-
Returns library version information.
- GyroAngleSensor - Class in ch.aplu.ev3
-
Class that represents a gyro sensor in angle mode (EV3 Gyro Sensor).
- GyroAngleSensor(SensorPort) - Constructor for class ch.aplu.ev3.GyroAngleSensor
-
Creates a sensor instance connected to the given port.
- GyroAngleSensor() - Constructor for class ch.aplu.ev3.GyroAngleSensor
-
Creates a sensor instance connected to port S1.
- GyroRateSensor - Class in ch.aplu.ev3
-
Class that represents a gyro sensor in rate mode (EV3 Gyro Sensor).
- GyroRateSensor(SensorPort) - Constructor for class ch.aplu.ev3.GyroRateSensor
-
Creates a sensor instance connected to the given port.
- GyroRateSensor() - Constructor for class ch.aplu.ev3.GyroRateSensor
-
Creates a sensor instance connected to port S1.
- HTAccelerometer - Class in ch.aplu.ev3
-
Class that represents a accelerometer sensor (HiTechnic Accelerometer).
- HTAccelerometer(SensorPort) - Constructor for class ch.aplu.ev3.HTAccelerometer
-
Creates a sensor instance connected to the given port.
- HTAccelerometer() - Constructor for class ch.aplu.ev3.HTAccelerometer
-
Creates a sensor instance connected to port S1.
- HTBarometer - Class in ch.aplu.ev3
-
Class that represents a barometer sensor (HiTechnic Barometer).
- HTBarometer(SensorPort) - Constructor for class ch.aplu.ev3.HTBarometer
-
Creates a sensor instance connected to the given port.
- HTBarometer() - Constructor for class ch.aplu.ev3.HTBarometer
-
Creates a sensor instance connected to port S1.
- HTColorSensor - Class in ch.aplu.ev3
-
Class that represents a color sensor (HiTechnic Color Sensor in RGB mode)
- HTColorSensor(SensorPort) - Constructor for class ch.aplu.ev3.HTColorSensor
-
Creates a sensor instance connected to the given port.
- HTColorSensor() - Constructor for class ch.aplu.ev3.HTColorSensor
-
Creates a sensor instance connected to port S1.
- HTCompassSensor - Class in ch.aplu.ev3
-
Class that represents a compass sensor (HiTechnic Compass Sensor).
- HTCompassSensor(SensorPort) - Constructor for class ch.aplu.ev3.HTCompassSensor
-
Creates a sensor instance connected to the given port.
- HTCompassSensor() - Constructor for class ch.aplu.ev3.HTCompassSensor
-
Creates a sensor instance connected to port S1.
- HTEopdSensor - Class in ch.aplu.ev3
-
Class that represents an Electro-Optical Proximity Detector (HiTechnic EDPD).
- HTEopdSensor(SensorPort) - Constructor for class ch.aplu.ev3.HTEopdSensor
-
Creates a sensor instance connected to the given port in long distance mode.
- HTEopdSensor() - Constructor for class ch.aplu.ev3.HTEopdSensor
-
Creates a sensor instance connected to the given port in long distance mode.
- HTEopdShortSensor - Class in ch.aplu.ev3
-
Class that represents an Electro-Optical Proximity Detector (HiTechnic EDPD).
- HTEopdShortSensor(SensorPort) - Constructor for class ch.aplu.ev3.HTEopdShortSensor
-
Creates a sensor instance connected to the given port in short distance mode.
- HTEopdShortSensor() - Constructor for class ch.aplu.ev3.HTEopdShortSensor
-
Creates a sensor instance connected to port S1 in short distance mode.
- HTGyroSensor - Class in ch.aplu.ev3
-
Class that represents a gyro sensor from HiTechnic.
- HTGyroSensor(SensorPort) - Constructor for class ch.aplu.ev3.HTGyroSensor
-
Creates a sensor instance connected to the given port.
- HTGyroSensor() - Constructor for class ch.aplu.ev3.HTGyroSensor
-
Creates a sensor instance connected to port S1.
- HTInfraredSeeker - Class in ch.aplu.ev3
-
Class that represents a infrared seeker version 2 from HiTechnic.
- HTInfraredSeeker(SensorPort) - Constructor for class ch.aplu.ev3.HTInfraredSeeker
-
Creates a sensor instance connected to the given port.
- HTInfraredSeeker() - Constructor for class ch.aplu.ev3.HTInfraredSeeker
-
Creates a sensor instance connected to port S1.
- HTInfraredSeekerV2 - Class in ch.aplu.ev3
-
Class that represents a infrared seeker version 2 from HiTechnic.
- HTInfraredSeekerV2(SensorPort) - Constructor for class ch.aplu.ev3.HTInfraredSeekerV2
-
Creates a sensor instance connected to the given port.
- HTInfraredSeekerV2() - Constructor for class ch.aplu.ev3.HTInfraredSeekerV2
-
Creates a sensor instance connected to port S1.
- I2CExpander - Class in ch.aplu.ev3
-
Class that represents one of the standard I2C expander ICs.
- I2CExpander(SensorPort) - Constructor for class ch.aplu.ev3.I2CExpander
-
Creates a sensor instance connected to the given port.
- I2CExpander() - Constructor for class ch.aplu.ev3.I2CExpander
-
Creates a sensor instance connected to sensor port 1.
- I2CExpander(SensorPort, int, int, int) - Constructor for class ch.aplu.ev3.I2CExpander
-
Creates a sensor instance connected to the given port and selects
devivce type, input mode and I2C address of attached device.
- I2CExpander(SensorPort, int, int) - Constructor for class ch.aplu.ev3.I2CExpander
-
Creates a sensor instance connected to the given port and selects
device type and I2C address of attached device.
- I2CSensor - Class in ch.aplu.ev3
-
A sensor wrapper to allow easy access to I2C sensors.
- I2CSensor(SensorPort) - Constructor for class ch.aplu.ev3.I2CSensor
-
Creates a sensor instance of given type connected to the given port
using the default address (0x02) and the default sensor
type (LOWSPEED_9V).
- I2CSensor(SensorPort, int) - Constructor for class ch.aplu.ev3.I2CSensor
-
Creates a sensor instance of given type connected to the given port
using the default address (0x02) and the give sensor type.
- I2CSensor(SensorPort, int, int) - Constructor for class ch.aplu.ev3.I2CSensor
-
Creates a sensor instance of given type connected to the given port
the given device address and the given sensor type.
- ID_DOWN - Static variable in interface ch.aplu.ev3.BrickButton
-
Constant for the DOWN button.
- ID_ENTER - Static variable in interface ch.aplu.ev3.BrickButton
-
Constant for the ENTER button.
- ID_ESCAPE - Static variable in interface ch.aplu.ev3.BrickButton
-
Constant for the ESCAPE button.
- ID_LEFT - Static variable in interface ch.aplu.ev3.BrickButton
-
Constant for the LEFT button.
- ID_RIGHT - Static variable in interface ch.aplu.ev3.BrickButton
-
Constant for the RIGHT button.
- ID_UP - Static variable in interface ch.aplu.ev3.BrickButton
-
Constant for the UP button.
- inColorCube(Color, int[]) - Static method in class ch.aplu.ev3.ColorSensor
-
Checks if given color lies within given color cube.
- invert() - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector with inverted coordinates.
- invert() - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector with inverted coordinates.
- IRDistanceSensor - Class in ch.aplu.ev3
-
Class that represents a Lego EV3 Infra Red sensor in Distance Mode.
- IRDistanceSensor(SensorPort) - Constructor for class ch.aplu.ev3.IRDistanceSensor
-
Creates a sensor instance connected to the given port.
- IRDistanceSensor() - Constructor for class ch.aplu.ev3.IRDistanceSensor
-
Creates a sensor instance connected to port S1.
- IRRemoteSensor - Class in ch.aplu.ev3
-
Class that represents a Lego EV3 Infra Red sensor in Remote Control Mode.
- IRRemoteSensor(SensorPort) - Constructor for class ch.aplu.ev3.IRRemoteSensor
-
Creates a sensor instance connected to the given port.
- IRRemoteSensor() - Constructor for class ch.aplu.ev3.IRRemoteSensor
-
Creates a sensor instance connected to port S1.
- IRSeekSensor - Class in ch.aplu.ev3
-
Class that represents a Lego EV3 Infra Red sensor in Seek Mode.
- IRSeekSensor(SensorPort) - Constructor for class ch.aplu.ev3.IRSeekSensor
-
Creates a sensor instance connected to the given port.
- IRSeekSensor() - Constructor for class ch.aplu.ev3.IRSeekSensor
-
Creates a sensor instance connected to port S1.
- isButtonHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if any of the buttons was hit.
- isButtonPressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if any buttons is pressed.
- isDownHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the DOWN button was the last button hit since
the last call of this method.
- isDownPressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if DOWN buttons is pressed.
- isEnterHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the ENTER button was the last button hit since
the last call of this method.
- isEnterPressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if ENTER buttons is pressed.
- isEqual(Vector2D) - Method in class ch.aplu.ev3.Vector2D
-
Returns true, if the current vector is identical to the given vector.
- isEqual(Vector3D) - Method in class ch.aplu.ev3.Vector3D
-
Returns true, if the current vector is identical to the given vector.
- isEscapeHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the ESCAPE button was the last button hit since
the last call of this method.
- isEscapePressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if ESCAPE buttons is pressed.
- isLeftHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the LEFT button was the last button hit since
the last call of this method.
- isLeftPressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if LEFT buttons is pressed.
- isMoving() - Method in class ch.aplu.ev3.GenericGear
-
Checks if one or both motors are rotating.
- isMoving() - Method in class ch.aplu.ev3.GenericMotor
-
Checks if the motor is rotating.
- isPressed() - Method in class ch.aplu.ev3.NxtTouchSensor
-
Polls the sensor.
- isPressed() - Method in class ch.aplu.ev3.TouchSensor
-
Polls the sensor.
- isRightHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the RIGHT button was the last button hit since
the last call of this method.
- isRightPressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if RIGHT buttons is pressed.
- isUpHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the UP button was the last button hit since
the last call of this method.
- isUpPressed() - Static method in class ch.aplu.ev3.Tools
-
Returns true, if UP buttons is pressed.
- magnitude() - Method in class ch.aplu.ev3.Vector2D
-
Returns the magnitude (length) of the vector.
- magnitude() - Method in class ch.aplu.ev3.Vector3D
-
Returns the magnitude (length) of the vector.
- magnitude2() - Method in class ch.aplu.ev3.Vector2D
-
Returns the square of the magnitude, without squareroot calculation.
- magnitude2() - Method in class ch.aplu.ev3.Vector3D
-
Returns the square of the magnitude, without squareroot calculation.
- MediumMotor - Class in ch.aplu.ev3
-
Class that represents a EV3MediumRegulatedMotor motor.
- MediumMotor(MotorPort) - Constructor for class ch.aplu.ev3.MediumMotor
-
Creates a motor instance that is plugged into given port.
- MediumMotor() - Constructor for class ch.aplu.ev3.MediumMotor
-
Creates a motor instance that is plugged into port A.
- Motor - Class in ch.aplu.ev3
-
Class that represents a EV3LargeRegulatedMotor motor.
- Motor(MotorPort) - Constructor for class ch.aplu.ev3.Motor
-
Creates a motor instance that is plugged into given port.
- Motor() - Constructor for class ch.aplu.ev3.Motor
-
Creates a motor instance that is plugged into port A.
- MotorPort - Class in ch.aplu.ev3
-
Useful declarations for port connections.
- MotorPort(int) - Constructor for class ch.aplu.ev3.MotorPort
-
Creates a MotorPort from the port id.
- moveTo(int, boolean) - Method in class ch.aplu.ev3.GenericGear
-
Sets the rotation counter to zero and rotate both motors until the given count is reached.
- moveTo(int) - Method in class ch.aplu.ev3.GenericGear
-
Same as moveTo(int count, boolean blocking) with blocking = true.
- mult(int) - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector that is the product by a scalar of the current vector and the given integer.
- mult(float) - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector that is the product by a scalar of the current vector and the given float.
- mult(double) - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector that is the product by a scalar of the current vector and the given double.
- mult(int) - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector that is the product by a scalar of the current vector and the given integer.
- mult(float) - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector that is the product by a scalar of the current vector and the given float.
- mult(double) - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector that is the product by a scalar of the current vector and the given double.
- near(SensorPort, int) - Method in class ch.aplu.ev3.UltrasonicAdapter
-
Empty method called when the distance falls below the trigger level.
- near(SensorPort, int) - Method in interface ch.aplu.ev3.UltrasonicListener
-
Called when the distance falls below the trigger level.
- normalize() - Method in class ch.aplu.ev3.Vector2D
-
Modifies the vector to unit magnitude.
- normalize() - Method in class ch.aplu.ev3.Vector3D
-
Modifies the vector to unit magnitude.
- NxtColorSensor - Class in ch.aplu.ev3
-
Class that represents a color sensor (Lego NXT Color Sensor)
- NxtColorSensor(SensorPort) - Constructor for class ch.aplu.ev3.NxtColorSensor
-
Creates a sensor instance connected to the given port.
- NxtColorSensor() - Constructor for class ch.aplu.ev3.NxtColorSensor
-
Creates a sensor instance connected to port S1.
- NxtGear - Class in ch.aplu.ev3
-
Class that represents the combination of two motors on an axis
to perform a car-like movement.
- NxtGear(MotorPort, MotorPort) - Constructor for class ch.aplu.ev3.NxtGear
-
Creates a gear instance with right motor plugged into port1, left motor plugged into port2.
- NxtGear() - Constructor for class ch.aplu.ev3.NxtGear
-
Creates a gear instance with left motor plugged into port A, right motor plugged into port B.
- NxtLightSensor - Class in ch.aplu.ev3
-
Class that represents a light sensor (Lego NXT light sensor).
- NxtLightSensor(SensorPort) - Constructor for class ch.aplu.ev3.NxtLightSensor
-
Creates a sensor instance connected to the given port.
- NxtLightSensor() - Constructor for class ch.aplu.ev3.NxtLightSensor
-
Creates a sensor instance connected to port S1.
- NxtMotor - Class in ch.aplu.ev3
-
Class that represents a lejos.hardware.motor.NXTRegulatedMotor motor.
- NxtMotor(MotorPort) - Constructor for class ch.aplu.ev3.NxtMotor
-
Creates a motor instance that is plugged into given port.
- NxtMotor() - Constructor for class ch.aplu.ev3.NxtMotor
-
Creates a motor instance that is plugged into port A.
- NxtSoundSensor - Class in ch.aplu.ev3
-
Class that represents a NXT sound sensor.
- NxtSoundSensor(SensorPort) - Constructor for class ch.aplu.ev3.NxtSoundSensor
-
Creates a sensor instance connected to the given port.
- NxtSoundSensor() - Constructor for class ch.aplu.ev3.NxtSoundSensor
-
Creates a sensor instance connected to port S1.
- NxtTouchSensor - Class in ch.aplu.ev3
-
Class that represents a touch sensor.
- NxtTouchSensor(SensorPort) - Constructor for class ch.aplu.ev3.NxtTouchSensor
-
Creates a sensor instance connected to the given port.
- NxtTouchSensor() - Constructor for class ch.aplu.ev3.NxtTouchSensor
-
Creates a sensor instance connected to port S1.
- NxtTurtleRobot - Class in ch.aplu.ev3
-
Implementation of the basic Logo turtle movements.
- NxtTurtleRobot(boolean) - Constructor for class ch.aplu.ev3.NxtTurtleRobot
-
Creates TurtleLegoRobot instance and delays execution until the user
presses the ENTER button.
- NxtTurtleRobot() - Constructor for class ch.aplu.ev3.NxtTurtleRobot
-
Creates a TurtleLegoRobot instance.
- NxtUltrasonicSensor - Class in ch.aplu.ev3
-
Class that represents a NXT ultrasonic sensor.
- NxtUltrasonicSensor(SensorPort) - Constructor for class ch.aplu.ev3.NxtUltrasonicSensor
-
Creates a sensor instance connected to the given port.
- NxtUltrasonicSensor() - Constructor for class ch.aplu.ev3.NxtUltrasonicSensor
-
Creates a sensor instance connected to port S1.
- read(int[], int[]) - Method in class ch.aplu.ev3.PrototypeSensor
-
Reads the sensor.
- read(int[], int[]) - Method in class ch.aplu.ev3.SuperProSensor
-
Reads the sensor.
- readAnalog() - Method in class ch.aplu.ev3.I2CExpander
-
Reads all analog inputs at same time (8 bit ADC).
- readAnalog(int) - Method in class ch.aplu.ev3.I2CExpander
-
Reads one analog input channel (8 bit ADC).
- readAnalog(int[]) - Method in class ch.aplu.ev3.PrototypeSensor
-
Reads the sensor.
- readAnalog(int[]) - Method in class ch.aplu.ev3.SuperProSensor
-
Reads the analog input of the sensor.
- readAnalogInt() - Method in class ch.aplu.ev3.I2CExpander
-
Reads all analog inputs at same time (8 bit ADC).
- readDigital(int[]) - Method in class ch.aplu.ev3.PrototypeSensor
-
Reads the sensor.
- readDigital(int[]) - Method in class ch.aplu.ev3.SuperProSensor
-
Reads the sensor.
- released(SensorPort) - Method in class ch.aplu.ev3.TouchAdapter
-
Empty method called when the touch sensor is released.
- released(SensorPort) - Method in interface ch.aplu.ev3.TouchListener
-
Called when the touch sensor is released.
- RemoteAdapter - Class in ch.aplu.ev3
-
Class with empty callback methods for the IRRemote sensor.
- RemoteAdapter() - Constructor for class ch.aplu.ev3.RemoteAdapter
-
- RemoteListener - Interface in ch.aplu.ev3
-
Interface with declarations of callback methods for the
infrared remote sensor.
- reset() - Method in class ch.aplu.ev3.GyroAngleSensor
-
Resets the start orientation to the current orientation.
- resetLeftMotorCount() - Method in class ch.aplu.ev3.GenericGear
-
Resets the rotation counter of the left motor to zero.
- resetMotorCount() - Method in class ch.aplu.ev3.GenericMotor
-
Resets the rotation counter to zero.
- resetRightMotorCount() - Method in class ch.aplu.ev3.GenericGear
-
Resets the rotation counter of the left motor to zero.
- right() - Method in class ch.aplu.ev3.GenericGear
-
Same as left(), but turns in the opposite direction.
- right(int) - Method in class ch.aplu.ev3.GenericGear
-
Same as left(int duration), but turns in the opposite direction.
- right(int) - Method in class ch.aplu.ev3.NxtTurtleRobot
-
Turns the turtle to the right for the given angle.
- right(int) - Method in class ch.aplu.ev3.TurtleRobot
-
Turns the turtle to the right for the given angle.
- rightArc(double) - Method in class ch.aplu.ev3.GenericGear
-
Same as leftArc(double radius), but turns to the right.
- rightArc(double, int) - Method in class ch.aplu.ev3.GenericGear
-
Same as leftArc(double radius, int duration), but turns to the right.
- rightArcMilli(int) - Method in class ch.aplu.ev3.GenericGear
-
Same as rightArc(radius) but radius in mm.
- rightArcMilli(int, int) - Method in class ch.aplu.ev3.GenericGear
-
Same as rightArc(radius, duration) but radius in mm.
- RobotContext - Class in ch.aplu.ev3
-
Dummy class to make EV3JLibA source compatible with RobotSim.
- rotate(double) - Method in class ch.aplu.ev3.Vector2D
-
Rotates the vector by the specified angle.
- rotateTo(int) - Method in class ch.aplu.ev3.GenericMotor
-
Sets the rotation counter to zero and rotates the motor until the given count is reached.
- rotateTo(int, boolean) - Method in class ch.aplu.ev3.GenericMotor
-
Sets the rotation counter to zero and rotates the motor until the given count is reached.
- S1 - Static variable in class ch.aplu.ev3.SensorPort
-
Declaration used by a sensor connected to port S1.
- S2 - Static variable in class ch.aplu.ev3.SensorPort
-
Declaration used by a sensor connected to port S2.
- S3 - Static variable in class ch.aplu.ev3.SensorPort
-
Declaration used by a sensor connected to port S3.
- S4 - Static variable in class ch.aplu.ev3.SensorPort
-
Declaration used by a sensor connected to port S4.
- sendData(int, byte) - Method in class ch.aplu.ev3.I2CSensor
-
Sets a single byte in the I2C sensor.
- sendData(int, byte[], int) - Method in class ch.aplu.ev3.I2CSensor
-
Send multiple values with a I2C write transaction.
- sendData(int, byte[], int, int) - Method in class ch.aplu.ev3.I2CSensor
-
Send multiple values with a I2C write transaction.
- Sensor - Class in ch.aplu.ev3
-
Abstract class as ancestor of all sensors.
- SensorPort - Class in ch.aplu.ev3
-
Useful declarations for port connections.
- SensorPort(int) - Constructor for class ch.aplu.ev3.SensorPort
-
Creates a SensorPort from the port id.
- setAcceleration(int) - Method in class ch.aplu.ev3.GenericGear
-
Sets the acceleration rate of both motors in degrees/sec/sec
Smaller values make speed changes smoother.
- setAcceleration(int) - Method in class ch.aplu.ev3.GenericMotor
-
Sets the acceleration rate of the motor in degrees/sec/sec
The default value is 6000.
- setAnalogInputMode(int) - Method in class ch.aplu.ev3.I2CExpander
-
Sets the input mode for the PCF8591 device.
- setAnalogOut0(int, int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O0.
- setAnalogOut1(int, int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1.
- setAxeLengthMilli(int) - Method in class ch.aplu.ev3.GenericGear
-
Sets the axe length (distance between while centers).
- setBrakeDelay(int) - Method in class ch.aplu.ev3.GenericGear
-
Sets the break delay (time to wait until stopping motors).
- setDCOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 0.
- setDCOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 9.
- setDIO(int[]) - Method in class ch.aplu.ev3.PrototypeSensor
-
Sets the direction of the 6 digital input/output channels.
- setDIO(int[]) - Method in class ch.aplu.ev3.SuperProSensor
-
Sets the direction of the 8 digital input/output channels.
- setDIOMask(int) - Method in class ch.aplu.ev3.PrototypeSensor
-
Sets the direction of the 6 digital input/output channels.
- setDIOMask(int) - Method in class ch.aplu.ev3.SuperProSensor
-
Sets the direction of the 8 digital input/output channels.
- setFloodlight(int) - Method in class ch.aplu.ev3.ColorSensor
-
Turns the red, green or blue LED on or all off.
- setFloodlight(int) - Method in class ch.aplu.ev3.NxtColorSensor
-
Turns the red, green or blue LED on or all off.
- setLED(int) - Method in class ch.aplu.ev3.LegoRobot
-
Turn on/off the brick's left/right LEDs (only affected in pair).
- setLED(int) - Method in class ch.aplu.ev3.SuperProSensor
-
Turn the given onboard LED on.
- setLocation(int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Sets the location of the playground (pixel coordinates of the upper left vertex).
- setLocation(int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Sets the location of the playground (pixel coordinates of the upper left vertex).
- setNegSawtoothOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 4.
- setNegSawtoothOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 4.
- setPosSawtoothOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 3.
- setPosSawtoothOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 3.
- setPWMOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 6.
- setPWMOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 6.
- setSamplingPeriod(int) - Method in class ch.aplu.ev3.PrototypeSensor
-
Sets the sampling period of the ADC (4..100 ms, default 4 ms).
- setSineOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 1.
- setSineOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 1.
- setSpeed(int) - Method in class ch.aplu.ev3.GenericGear
-
Sets the speed to the given value (arbitrary units).
- setSpeed(int) - Method in class ch.aplu.ev3.GenericMotor
-
Sets the speed to the given value (arbitrary units).
- setSpeedFactor(double) - Method in class ch.aplu.ev3.GenericMotor
-
Sets the motor speed factor to given value.
- setSquareOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 2.
- setSquareOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 2.
- setStartDirection(double) - Static method in class ch.aplu.ev3.LegoContext
-
Sets the EV3 starting direction (zero to EAST).
- setStartDirection(double) - Static method in class ch.aplu.ev3.RobotContext
-
Sets the EV3 starting direction (zero to EAST).
- setStartPosition(int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Sets the EV3 starting position (x-y-coordinates 0..500, origin at upper left).
- setStartPosition(int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Sets the EV3 starting position (x-y-coordinates 0..500, origin at upper left).
- setTriangleOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut0(type, frequency, voltage) with type = 5.
- setTriangleOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Same as setAnalogOut1(type, frequency, voltage) with type = 5.
- setTriggerLevel(int) - Method in class ch.aplu.ev3.LightSensor
-
Sets a new trigger level and returns the previous one.
- setTriggerLevel(int) - Method in class ch.aplu.ev3.NxtLightSensor
-
Sets a new trigger level and returns the previous one.
- setTriggerLevel(int) - Method in class ch.aplu.ev3.NxtSoundSensor
-
Sets a new trigger level and returns the previous one.
- setTriggerLevel(int) - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Sets a new trigger level and returns the previous one.
- setTriggerLevel(int) - Method in class ch.aplu.ev3.UltrasonicSensor
-
Sets a new trigger level and returns the previous one.
- setTurtleSpeed(int) - Method in class ch.aplu.ev3.NxtTurtleRobot
-
Sets the turtle speed to the given value.
- setTurtleSpeed(int) - Method in class ch.aplu.ev3.TurtleRobot
-
Sets the turtle speed to the given value.
- setup(int, int) - Method in class ch.aplu.ev3.I2CExpander
-
Selects type, mode and I2C address of attached device.
- setVelocity(double) - Method in class ch.aplu.ev3.GenericGear
-
Sets the velocity to the given value.
- setVelocity(double) - Method in class ch.aplu.ev3.GenericMotor
-
Sets the velocity to the given value.
- setVolume(int) - Method in class ch.aplu.ev3.LegoRobot
-
Sets the sound volume.
- show(String) - Static method in class ch.aplu.ev3.DebugConsole
-
Shows debug message.
- ShowError - Class in ch.aplu.ev3
-
Class to display error messages.
- ShowError(String) - Constructor for class ch.aplu.ev3.ShowError
-
- showNavigationBar(boolean) - Static method in class ch.aplu.ev3.LegoContext
-
Shows the navigation bar of the GameGrid.
- showNavigationBar() - Static method in class ch.aplu.ev3.LegoContext
-
Shows the navigation bar of the GameGrid and runs the simulation immediately.
- showNavigationBar(boolean) - Static method in class ch.aplu.ev3.RobotContext
-
Shows the navigation bar of the GameGrid.
- showNavigationBar() - Static method in class ch.aplu.ev3.RobotContext
-
Shows the navigation bar of the GameGrid and runs the simulation immediately.
- SoundAdapter - Class in ch.aplu.ev3
-
Class with empty callback methods for the sound sensor.
- SoundAdapter() - Constructor for class ch.aplu.ev3.SoundAdapter
-
- SoundListener - Interface in ch.aplu.ev3
-
Class with declaration of callback methods for the sound sensor.
- speedToVelocity(int) - Method in class ch.aplu.ev3.GenericMotor
-
Conversion from speed to velocity.
- startCalibration() - Method in class ch.aplu.ev3.HTCompassSensor
-
Starts calibration process.
- startTimer() - Static method in class ch.aplu.ev3.Tools
-
Starts a timer or restart it by setting its time to zero.
- stop() - Method in class ch.aplu.ev3.GenericGear
-
Stops the gear.
- stop(boolean) - Method in class ch.aplu.ev3.GenericMotor
-
Stops the motor.
- stop() - Method in class ch.aplu.ev3.GenericMotor
-
Stops the motor.
- stopCalibration() - Method in class ch.aplu.ev3.HTCompassSensor
-
Stops calibration process.
- sub(Vector2D) - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector that is the vector difference of the current vector and the given vector.
- sub(Vector3D) - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector that is the vector difference of the current vector and the given vector.
- SuperProSensor - Class in ch.aplu.ev3
-
Class that represents a SuperPro prototype sensor
(HiTechnic NXT SuperPro Prototype Board).
- SuperProSensor(SensorPort) - Constructor for class ch.aplu.ev3.SuperProSensor
-
Creates a sensor instance connected to the given port.
- SuperProSensor() - Constructor for class ch.aplu.ev3.SuperProSensor
-
Creates a sensor instance connected to port S1.
- waitButton() - Static method in class ch.aplu.ev3.Tools
-
Waits until any button is pressed.
- waitButton(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until any button is pressed.
- waitDown() - Static method in class ch.aplu.ev3.Tools
-
Waits until DOWN button is pressed.
- waitDown(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until DOWN button is pressed.
- waitEnter() - Static method in class ch.aplu.ev3.Tools
-
Waits until ENTER button is pressed.
- waitEnter(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until ENTER button is pressed.
- waitEscape() - Static method in class ch.aplu.ev3.Tools
-
Waits until ESCAPE button is pressed.
- waitEscape(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until ESCAPE button is pressed.
- waitLeft() - Static method in class ch.aplu.ev3.Tools
-
Waits until LEFT button is pressed.
- waitLeft(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until LEFT button is pressed.
- waitRight() - Static method in class ch.aplu.ev3.Tools
-
Waits until RIGHT button is pressed.
- waitRight(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until RIGHT button is pressed.
- waitUp() - Static method in class ch.aplu.ev3.Tools
-
Waits until UP button is pressed.
- waitUp(String) - Static method in class ch.aplu.ev3.Tools
-
Displays the prompt and waits until UP button is pressed.
- wakeUp() - Static method in class ch.aplu.ev3.Tools
-
Wakes up the waiting thread.
- write(int[]) - Method in class ch.aplu.ev3.PrototypeSensor
-
Writes the given bit state (low/high) to the digital output channels.
- write(int[]) - Method in class ch.aplu.ev3.SuperProSensor
-
Writes the given bit state (low/high) to the digital output channels.
- writeAnalog(int) - Method in class ch.aplu.ev3.I2CExpander
-
Sets the output voltage of the 8-bit DAC.
- writeByte(int) - Method in class ch.aplu.ev3.PrototypeSensor
-
Writes the given byte to the digital output channels.
- writeByte(int) - Method in class ch.aplu.ev3.SuperProSensor
-
Writes the lower byte of the given int value to the digital output channels.
- writeDigital(int) - Method in class ch.aplu.ev3.I2CExpander
-
Writes one byte data to the digital output of the PCF8574/PCF8574A deivce
and reads back the current state of the 8 DIO pins.
- writeStrobe(int[]) - Method in class ch.aplu.ev3.SuperProSensor
-
Writes the given bit state (low/high) to the strobe output channels.
- writeStrobeByte(int) - Method in class ch.aplu.ev3.SuperProSensor
-
Writes the lower half byte (lower 4 bits) of the given value to the strobe output channels.