- 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 that simulates the events
when one of the brick buttons is hit.
- addConnectionListener(ConnectionListener) - Method in class ch.aplu.ev3.LegoRobot
-
Registers a connection listener to get notifications when
the link is established or broken.
- 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 500.
- 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.
- askIPAddress() - Static method in class ch.aplu.ev3.ConnectPanel
-
Shows a modal dialog and asks for IP address.
- C - Static variable in class ch.aplu.ev3.MotorPort
-
Declaration used by a motor connected to port C.
- ch.aplu.ev3 - package ch.aplu.ev3
-
Package for commanding the Lego EV3 robot brick in Direct Mode -
The BrickGate server must be up and running!
- channel - Variable in class ch.aplu.ev3.GenericIRSensor.IRValue
-
The channel number 1..4
- channel - Static variable in class ch.aplu.ev3.LegoContext
-
Channel obstacle.
- channel - Static variable in class ch.aplu.ev3.RobotContext
-
Channel obstacle.
- checkConnection() - Method in class ch.aplu.ev3.TargetCopy
-
- clearDisplay() - Method in class ch.aplu.ev3.LegoRobot
-
Clears the display.
- clone() - Method in class ch.aplu.ev3.Vector2D
-
Returns a new vector with the same coordinates as the current vector.
- clone() - Method in class ch.aplu.ev3.Vector3D
-
Returns a new vector with the same coordinates as the current vector.
- colorCubes - Static variable in class ch.aplu.ev3.ColorSensor
-
Color cubes for detecting color labels.
6 user adaptable int arrays with red_min, red_max, green_min, green_max, blue_min, blue_max
for the colors black, blue, green, yellow, red, white with indices 0, 1, 2, 3, 5, 6.
- ColorLabel - Enum in ch.aplu.ev3
-
Enumeration of detectable colors for color sensors.
- ColorSensor - Class in ch.aplu.ev3
-
Class that represents a EV3 color sensor.
- ColorSensor(SensorPort) - Constructor for class ch.aplu.ev3.ColorSensor
-
Creates a sensor instance connected to the given port.
- ColorSensor() - Constructor for class ch.aplu.ev3.ColorSensor
-
Creates a sensor instance connected to port S1.
- connect() - Method in class ch.aplu.ev3.LegoRobot
-
Connects the host to the robot via an IP socket.
- connect(boolean) - Method in class ch.aplu.ev3.LegoRobot
-
Connects the host to the robot via an IP socket.
- connect(boolean, boolean) - Method in class ch.aplu.ev3.LegoRobot
-
Connects the host to the robot via an IP socket.
- ConnectionListener - Interface in ch.aplu.ev3
-
Callback declaration for IP socket connection/disconnection.
- ConnectPanel - Class in ch.aplu.ev3
-
Message dialog with standard title and EV3 icon.
- continueRelativeTo(int) - Method in class ch.aplu.ev3.GenericMotor
-
Same as rotateTo(int count), but the rotation counter
is not set to zero.
- continueRelativeTo(int, boolean) - Method in class ch.aplu.ev3.GenericMotor
-
Same as rotateTo(int count, boolean blocking), but the rotation counter
is not set to zero.
- continueTo(int) - Method in class ch.aplu.ev3.GenericMotor
-
Same as rotateTo(int count), but the rotation counter
is not set to zero.
- continueTo(int, boolean) - Method in class ch.aplu.ev3.GenericMotor
-
Same as rotateTo(int count, boolean blocking), but the rotation counter
is not set to zero.
- copy() - Method in class ch.aplu.ev3.TargetCopy
-
- create() - Static method in class ch.aplu.ev3.ConnectPanel
-
Creates the panel.
- Gear - Class in ch.aplu.ev3
-
Class that represents the combination of two motors on an axis
to perform a car-like movement.
- 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 one of the motors.
- getAbout() - Static method in class ch.aplu.ev3.LegoRobot
-
Returns copywrite information.
- getBatteryLevel() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the battery level.
- getBrickGateVersion() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the version of the BrickGate server.
- getColor() - Method in class ch.aplu.ev3.ColorSensor
-
Polls the sensor.
- getColor() - Method in class ch.aplu.ev3.HTColorSensor
-
Polls the sensor.
- getColor() - Method in class ch.aplu.ev3.NxtColorSensor
-
Polls the sensor.
- 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
-
Polls the sensor.
- getColorInt() - Method in class ch.aplu.ev3.HTColorSensor
-
Polls the sensor.
- getColorInt() - Method in class ch.aplu.ev3.NxtColorSensor
-
Polls the sensor.
- getColorLabel() - Method in class ch.aplu.ev3.ColorSensor
-
Returns one of the enums of ColorLabel.
- getColorStr() - Method in class ch.aplu.ev3.ColorSensor
-
Returns the name 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.
- getDataOutputStream() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the OutputStream reference of the connection link.
- getDebugLevel() - Static method in class ch.aplu.ev3.LegoRobot
-
Returns the current debug level.
- 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
-
Returns the distance.
- getDistance() - Method in class ch.aplu.ev3.HTEopdShortSensor
-
Returns the distance.
- 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.OpticalDistanceSensor
-
Returns the distance from the object in millimeters.
- 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.SensorPort
-
Return the port id (0 for S1, 1 for S2, 2 for S3, 3 for S4).
- getInputStream() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the InputStream reference of the connection link.
- 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.
- getIPAddress() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the IP address (in dotted format).
- getIPAddresses() - Method in class ch.aplu.ev3.LegoRobot
-
Returns a list with the current brick's IP addresses
- getLabel() - Method in class ch.aplu.ev3.SensorPort
-
Return the port label S1, S2, S3, S4.
- getLeftMotorCount() - Method in class ch.aplu.ev3.GenericGear
-
Returns current value of the rotation counter of the left motor.
- getLightValue() - Method in class ch.aplu.ev3.NxtColorSensor
-
Returns the intensity of the detected light.
- getMop() - Static method in class ch.aplu.ev3.ConnectPanel
-
- getMotorCount() - Method in class ch.aplu.ev3.GenericMotor
-
Returns current value of the rotation counter.
- 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.
- getPassphrase() - Method in class ch.aplu.ev3.TargetCopy.MyUserInfo
-
- getPassword() - Method in class ch.aplu.ev3.TargetCopy.MyUserInfo
-
- 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.PrototypeSensor
-
Returns the product identifier (if available).
- getProductID() - Method in class ch.aplu.ev3.RFIDSensor
-
Returns the product identifier (if available).
- getProductID() - Method in class ch.aplu.ev3.SuperProSensor
-
Returns the product identifier (if available).
- getProperties() - Static method in class ch.aplu.ev3.LegoRobot
-
Returns the properties from the EV3JLib property file.
- getReply(int, int[]) - Method in class ch.aplu.ev3.ArduinoLink
-
Returns a integer array of size 16 containing 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.
- getResourceInfo() - Method in class ch.aplu.ev3.EV3Properties
-
Returns the location of the property file.
- getRightMotorCount() - Method in class ch.aplu.ev3.GenericGear
-
Returns current value of the rotation counter of the right motor.
- 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.
- getTransponderId() - Method in class ch.aplu.ev3.RFIDSensor
-
Polls the sensor.
- 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.
- 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() - Static method in class ch.aplu.ev3.LegoRobot
-
Returns library version information.
- getVersion() - Method in class ch.aplu.ev3.PrototypeSensor
-
Returns the sensor version number (if available).
- getVersion() - Method in class ch.aplu.ev3.RFIDSensor
-
Returns the sensor version number (if available).
- getVersion() - Method in class ch.aplu.ev3.SuperProSensor
-
Returns the sensor version number (if available).
- GGBitmap - Class in ch.aplu.ev3
-
Dummy class for source code compatibility with NxtSim.
- GGBitmap() - Constructor for class ch.aplu.ev3.GGBitmap
-
- 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.
- hide() - Static method in class ch.aplu.ev3.ConnectPanel
-
Hides the dialog.
- 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.
- HTEopdSensor() - Constructor for class ch.aplu.ev3.HTEopdSensor
-
Creates a sensor instance connected to port S1.
- 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.
- HTEopdShortSensor() - Constructor for class ch.aplu.ev3.HTEopdShortSensor
-
Creates a sensor instance connected to port S1.
- HTGyroSensor - Class in ch.aplu.ev3
-
Class that represents a gyro sensor (HiTechnic Gyro Sensor).
- 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.
- 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.
- inColorCube(Color, int[]) - Static method in class ch.aplu.ev3.HTColorSensor
-
Checks if given color lies within given color cube.
- inColorCube(Color, int[]) - Static method in class ch.aplu.ev3.NxtColorSensor
-
Checks if given color lies within given color cube.
- init() - Static method in class ch.aplu.ev3.LegoContext
-
Initializes the static context.
- init() - Static method in class ch.aplu.ev3.RobotContext
-
Initializes the static context.
- 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.
- isAutonomous() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if the client connects locally (with localhost connection).
- isButtonHit() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true, if any of the buttons was hit.
- isConnected() - Method in class ch.aplu.ev3.LegoRobot
-
Returns the connection state.
- 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.
- 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.
- 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.
- 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.
- 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.
- isRunning() - Method in class ch.aplu.ev3.LegoRobot
-
Returns true as long as exit() is not called and the close
button of the Connection Pane is not hit.
- 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.
- left() - Method in class ch.aplu.ev3.GenericGear
-
Starts turning left with left motor stopped and right motor at preset speed.
- left(int) - Method in class ch.aplu.ev3.GenericGear
-
Starts turning left for the given duration (in ms) with preset speed.
- left(int) - Method in class ch.aplu.ev3.NxtTurtleRobot
-
Turns the turtle to the left for the given angle.
- left(int) - Method in class ch.aplu.ev3.TurtleRobot
-
Turns the turtle to the left for the given angle.
- leftArc(double) - Method in class ch.aplu.ev3.GenericGear
-
Starts turning to the left on an arc with given radius (in m).
- leftArc(double, int) - Method in class ch.aplu.ev3.GenericGear
-
Starts turning to the left on an arc with given radius (in m) for the given
duration (in ms) with preset speed.
- LegoContext - Class in ch.aplu.ev3
-
Dummy class to make EV3JLib source compatible with LegoSim.
- LegoRobot - Class in ch.aplu.ev3
-
Class that represents a EV3 robot brick.
- LegoRobot(String, boolean) - Constructor for class ch.aplu.ev3.LegoRobot
-
Creates a EV3Robot instance with given IP address.
- LegoRobot(String) - Constructor for class ch.aplu.ev3.LegoRobot
-
Creates a EV3Robot instance with given IP address.
- LegoRobot() - Constructor for class ch.aplu.ev3.LegoRobot
-
Asks for the IP address and creates a EV3Robot instance.
- LegoRobot.ClosingMode - Enum in ch.aplu.ev3
-
Modes to determine what happens when the title bar close button is hit.
- LightAdapter - Class in ch.aplu.ev3
-
Class with empty callback methods for the light sensor.
- LightAdapter() - Constructor for class ch.aplu.ev3.LightAdapter
-
- LightListener - Interface in ch.aplu.ev3
-
Interface with declarations of callback methods for the light sensor.
- LightSensor - Class in ch.aplu.ev3
-
Class that represents a light sensor (EV3 color sensor in RED mode).
- LightSensor(SensorPort) - Constructor for class ch.aplu.ev3.LightSensor
-
Creates a sensor instance connected to the given port.
- LightSensor() - Constructor for class ch.aplu.ev3.LightSensor
-
Creates a sensor instance connected to port S1.
- loud(SensorPort, int) - Method in class ch.aplu.ev3.SoundAdapter
-
Empty method called when the sound becomes louder than the trigger level.
- loud(SensorPort, int) - Method in interface ch.aplu.ev3.SoundListener
-
Called when the sound becomes louder than the trigger level.
- 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.
- Main - Class in ch.aplu.ev3
-
Main contains a public static void main() entry point and is
able to create an instance of another class (by Java reflection), so that its
default contructor is invoked.
- main(String[]) - Static method in class ch.aplu.ev3.Main
-
Program entry point.
- 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 one of the EV3 motors.
- 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 motor 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.
- NoMain - Annotation Type in ch.aplu.ev3
-
Annotation definition for applications with no
public static void main() method.
- 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.
- notifyConnection(boolean) - Method in interface ch.aplu.ev3.ConnectionListener
-
Called when the EV3Robot connects or disconnects from the EV3 brick.
- 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() - Constructor for class ch.aplu.ev3.NxtGear
-
Creates a gear instance with right motor plugged into port A,
left 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 one of the NXT motors.
- 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 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(String, boolean) - Constructor for class ch.aplu.ev3.NxtTurtleRobot
-
Creates a turtle robot instance using a EV3 brick with given IP address.
- NxtTurtleRobot(String) - Constructor for class ch.aplu.ev3.NxtTurtleRobot
-
Same as TurtleLegoRobot(ipAddress, true)
- NxtTurtleRobot() - Constructor for class ch.aplu.ev3.NxtTurtleRobot
-
Same as TurtleLegoRobot(ipAddress), but ask for the IP address
- 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 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.
- reset() - Method in class ch.aplu.ev3.LegoRobot
-
Resets EV3 to start location/direction.
- 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 right motor to zero.
- RFIDSensor - Class in ch.aplu.ev3
-
Class that represents a RFID sensor from CODATEX (www.codatex.com).
- RFIDSensor(SensorPort) - Constructor for class ch.aplu.ev3.RFIDSensor
-
Creates a sensor instance connected to the given port.
- RFIDSensor() - Constructor for class ch.aplu.ev3.RFIDSensor
-
Creates a sensor instance connected to port S1.
- 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 turning 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 in the right.
- rightArc(double, int) - Method in class ch.aplu.ev3.GenericGear
-
Same as leftArc(double radius, int duration), but turns to the right.
- RobotContext - Class in ch.aplu.ev3
-
Dummy class to make EV3JLib 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.
- sendCommand(String) - Method in class ch.aplu.ev3.TargetCopy
-
- Sensor - Class in ch.aplu.ev3
-
Abstract class as ancestor of all sensors.
- SensorPort - Class in ch.aplu.ev3
-
Useful declarations for sensor 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.
- setBeamAreaColor(Color) - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Sets the color of the beam area (two sector border lines and axis).
- setBeamAreaColor(Color) - Method in class ch.aplu.ev3.UltrasonicSensor
-
Sets the color of the beam area (two sector border lines and axis).
- setContMode(boolean) - Method in class ch.aplu.ev3.RFIDSensor
-
Selects between Single Read and Continous Read mode.
- setDCOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O0 with mode 0: DC voltage level.
- setDCOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 0: DC voltage level.
- 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).
- setMeshTriangleColor(Color) - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Sets the color of the triangle mesh lines.
- setMeshTriangleColor(Color) - Method in class ch.aplu.ev3.UltrasonicSensor
-
Sets the color of the triangle mesh lines.
- setNegSawtoothOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O0 with mode 4: Negative going sawtooth
Once the output is enabled, it remains active even when the program
terminates.
- setNegSawtoothOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 4: Negative going sawtooth
Once the output is enabled, it remains active even when the program
terminates.
- setPosSawtoothOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O0 with mode 3: Positive going sawtooth
Once the output is enabled, it remains active even when the program
terminates.
- setPosSawtoothOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 3: Positive going sawtooth
Once the output is enabled, it remains active even when the program
terminates.
- setProximityCircleColor(Color) - Method in class ch.aplu.ev3.NxtUltrasonicSensor
-
Sets the color of the circle with center at sensor location and radius
equals to the current distance value.
- setProximityCircleColor(Color) - Method in class ch.aplu.ev3.UltrasonicSensor
-
Sets the color of the circle with center at sensor location and radius
equals to the current distance value.
- setPWMOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O0 with mode 6: PWM voltage.
- setPWMOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 6: PWM voltage.
- 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
-
Enables the digital output at port O0 with mode 1: Sine wave.
- setSineOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 1: Sine wave.
- 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.GenericGear
-
Sets the motor speed factor to given value.
- 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
-
Enables the digital output at port O0 with mode 2: Square wave.
- setSquareOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 2: Square wave.
- 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 Nxt 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 Nxt starting position (x-y-coordinates 0..500, origin at upper left).
- setStatusText(String) - Static method in class ch.aplu.ev3.LegoContext
-
Displays the given text in the status bar (if available).
- setStatusText(String) - Static method in class ch.aplu.ev3.RobotContext
-
Displays the given text in the status bar (if available).
- setTriangleOut0(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O0 with mode 5: Triangle wave.
- setTriangleOut1(int, int) - Method in class ch.aplu.ev3.SuperProSensor
-
Enables the digital output at port O1 with mode 5: Triangle wave.
- 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 device type 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.ConnectPanel
-
Shows the text.
- showMessage(String) - Method in class ch.aplu.ev3.TargetCopy.MyUserInfo
-
- showStatusBar(int) - Static method in class ch.aplu.ev3.LegoContext
-
Shows a status bar with given height.
- showStatusBar(int) - Static method in class ch.aplu.ev3.RobotContext
-
Shows a status bar with given height.
- showVersion() - Static method in class ch.aplu.ev3.ConnectPanel
-
Shows the version title.
- 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.GenericGear
-
Conversion from speed to velocity.
- 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() - 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.
- Target - Class in ch.aplu.ev3
-
Dummy class for source code compatibility with RobotSim.
- Target() - Constructor for class ch.aplu.ev3.Target
-
- TargetCopy - Class in ch.aplu.ev3
-
Class to download programs to the EV3 via SCP.
- TargetCopy(String, String, String, String) - Constructor for class ch.aplu.ev3.TargetCopy
-
- TargetCopy.MyUserInfo - Class in ch.aplu.ev3
-
Class to provide user information for SSH login.
- TargetCopy.MyUserInfo(String) - Constructor for class ch.aplu.ev3.TargetCopy.MyUserInfo
-
- TemperatureSensor - Class in ch.aplu.ev3
-
Class that represents the Lego NXT temperature sensor (9749).
- TemperatureSensor(SensorPort) - Constructor for class ch.aplu.ev3.TemperatureSensor
-
Creates a sensor instance connected to the given port.
- TemperatureSensor() - Constructor for class ch.aplu.ev3.TemperatureSensor
-
Creates a sensor instance connected to port S1.
- Tools - Class in ch.aplu.ev3
-
Some useful helper methods.
- Tools() - Constructor for class ch.aplu.ev3.Tools
-
- toString(int) - Static method in class ch.aplu.ev3.IRRemoteSensor
-
Converts integer command to string representation.
- toString() - Method in class ch.aplu.ev3.Vector2D
-
Returns a string with the x-y-coordinates in the format (x,y).
- toString() - Method in class ch.aplu.ev3.Vector3D
-
Returns a string with the x-y-coordinates in the format (x,y,z).
- TouchAdapter - Class in ch.aplu.ev3
-
Class with empty callback methods for the touch sensor.
- TouchAdapter() - Constructor for class ch.aplu.ev3.TouchAdapter
-
- TouchListener - Interface in ch.aplu.ev3
-
Interface with declarations of callback methods for the touch sensor.
- TouchSensor - Class in ch.aplu.ev3
-
Class that represents a touch sensor.
- TouchSensor(SensorPort) - Constructor for class ch.aplu.ev3.TouchSensor
-
Creates a sensor instance connected to the given port.
- TouchSensor() - Constructor for class ch.aplu.ev3.TouchSensor
-
Creates a sensor instance connected to port S1.
- turnTo(int) - Method in class ch.aplu.ev3.GenericGear
-
Same as turnTo(int count, boolean blocking) with blocking = true.
- turnTo(int, boolean) - Method in class ch.aplu.ev3.GenericGear
-
Sets the rotation counter to zero and turn with the motors running in
opposite direction.
- TurtleRobot - Class in ch.aplu.ev3
-
Implementation of the basic Logo turtle movements.
- TurtleRobot(String, boolean) - Constructor for class ch.aplu.ev3.TurtleRobot
-
Creates a turtle robot instance using a EV3 brick with given IP address.
- TurtleRobot(String) - Constructor for class ch.aplu.ev3.TurtleRobot
-
Same as TurtleLegoRobot(ipAddress, true)
- TurtleRobot() - Constructor for class ch.aplu.ev3.TurtleRobot
-
Same as TurtleLegoRobot(ipAddress), but ask for the IP address
- UltrasonicAdapter - Class in ch.aplu.ev3
-
Class with empty callback methods for the ultrasonic sensor.
- UltrasonicAdapter() - Constructor for class ch.aplu.ev3.UltrasonicAdapter
-
- UltrasonicListener - Interface in ch.aplu.ev3
-
Class with declarations of callback methods for the ultrasonic sensor.
- UltrasonicSensor - Class in ch.aplu.ev3
-
Class that represents a EV3 ultrasonic sensor.
- UltrasonicSensor(SensorPort) - Constructor for class ch.aplu.ev3.UltrasonicSensor
-
Creates a sensor instance connected to the given port.
- UltrasonicSensor() - Constructor for class ch.aplu.ev3.UltrasonicSensor
-
Creates a sensor instance connected to port S1.
- useBackground(String) - Static method in class ch.aplu.ev3.LegoContext
-
Use the give image as background (playground size 501 x 501).
- useBackground(String) - Static method in class ch.aplu.ev3.RobotContext
-
Use the give image as background (playground size 501 x 501).
- useObstacle(String, int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Defines the given sprite image to be used as touch obstacle.
- useObstacle(BufferedImage, int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Defines the given buffered image to be used as touch obstacle.
- useObstacle(Obstacle, int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Defines the given obstacle to be used as touch obstacle.
- useObstacle(Obstacle) - Static method in class ch.aplu.ev3.LegoContext
-
Defines the given obstacle to be used as touch obstacle.
- useObstacle(GGBitmap, int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Defines the given GGBitmap to be used as touch obstacle.
- useObstacle(String, int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Defines the given sprite image to be used as touch obstacle.
- useObstacle(BufferedImage, int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Defines the given buffered image to be used as touch obstacle.
- useObstacle(Obstacle, int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Defines the given obstacle to be used as touch obstacle.
- useObstacle(Obstacle) - Static method in class ch.aplu.ev3.RobotContext
-
Defines the given obstacle to be used as touch obstacle.
- useObstacle(GGBitmap, int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Defines the given GGBitmap to be used as touch obstacle.
- useTarget(String, int[][], int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Creates a target for the ultrasonic sensor using the given sprite image.
- useTarget(String, Point[], int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Creates a target for the ultrasonic sensor using the given sprite image.
- useTarget(BufferedImage, Point[], int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Creates a target for the ultrasonic sensor using the given buffered image.
- useTarget(GGBitmap, Point[], int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Creates a target for the ultrasonic sensor using the given GGBitmap.
- useTarget(Target, int, int) - Static method in class ch.aplu.ev3.LegoContext
-
Defines a clone of the given target to be used as target.
- useTarget(String, int[][], int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Creates a target for the ultrasonic sensor using the given sprite image.
- useTarget(String, Point[], int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Creates a target for the ultrasonic sensor using the given sprite image.
- useTarget(BufferedImage, Point[], int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Creates a target for the ultrasonic sensor using the given buffered image.
- useTarget(GGBitmap, Point[], int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Creates a target for the ultrasonic sensor using the given GGBitmap.
- useTarget(Target, int, int) - Static method in class ch.aplu.ev3.RobotContext
-
Defines a clone of the given target to be used as target.
- valueOf(String) - Static method in enum ch.aplu.ev3.ColorLabel
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum ch.aplu.ev3.LegoRobot.ClosingMode
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum ch.aplu.ev3.ColorLabel
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum ch.aplu.ev3.LegoRobot.ClosingMode
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- Vector2D - Class in ch.aplu.ev3
-
Class representing a two-dimensional vector with double coordinates (x, y).
- Vector2D() - Constructor for class ch.aplu.ev3.Vector2D
-
Constructs a zero vector (with coordinates (0, 0)).
- Vector2D(int, int) - Constructor for class ch.aplu.ev3.Vector2D
-
Constructs a vector from given integer x-y-coordinates.
- Vector2D(float, float) - Constructor for class ch.aplu.ev3.Vector2D
-
Constructs a vector from given float x-y-coordinates.
- Vector2D(double, double) - Constructor for class ch.aplu.ev3.Vector2D
-
Constructs a vector from given double x-y-coordinates.
- Vector3D - Class in ch.aplu.ev3
-
Class representing a three-dimensional vector with double coordinates (x, y, z).
- Vector3D() - Constructor for class ch.aplu.ev3.Vector3D
-
Constructs a zero vector (with coordinates (0, 0, 0)).
- Vector3D(int, int, int) - Constructor for class ch.aplu.ev3.Vector3D
-
Constructs a vector from given integer x-y-coordinates.
- Vector3D(float, float, float) - Constructor for class ch.aplu.ev3.Vector3D
-
Constructs a vector from given float x-y-coordinates.
- Vector3D(double, double, double) - Constructor for class ch.aplu.ev3.Vector3D
-
Constructs a vector from given double x-y-coordinates.
- velocityToSpeed(double) - Method in class ch.aplu.ev3.GenericGear
-
Conversion from velocity to speed.
- velocityToSpeed(double) - Method in class ch.aplu.ev3.GenericMotor
-
Conversion from velocity to speed.
- VERSION - Static variable in class ch.aplu.ev3.PackageInfo
-
Current version of package.