Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
A
A
- Static variable in class ch.aplu.nxt.
MotorPort
Declaration used by a motor connected to port A.
ABOUT
- Static variable in interface ch.aplu.nxt.
SharedConstants
accelerationChanged(SensorPort, int[])
- Method in interface ch.aplu.nxt.
AccelerometerListener
Called when at least one of the x,y,z values changes.
AccelerometerListener
- Interface in
ch.aplu.nxt
Class with declarations of callback methods for the prototype sensor.
ACCELEROMETERPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
AccelerometerSensor
- Class in
ch.aplu.nxt
Class that represents a accelerometer sensor (HiTechnic).
AccelerometerSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
AccelerometerSensor
Creates a sensor instance connected to the given port.
AccelerometerSensor()
- Constructor for class ch.aplu.nxt.
AccelerometerSensor
Creates a sensor instance connected to port S1.
activate(boolean)
- Method in class ch.aplu.nxt.
LightSensor
Turns on/off the LED used for reflecting light back into the sensor.
addAccelerometerListener(AccelerometerListener, boolean, boolean, boolean)
- Method in class ch.aplu.nxt.
AccelerometerSensor
Registers the given accelerometer listener.
addCompassListener(CompassListener, double)
- Method in class ch.aplu.nxt.
CompassHTSensor
Registers the given compass listener for the given trigger level.
addCompassListener(CompassListener)
- Method in class ch.aplu.nxt.
CompassHTSensor
Registers the given compass listener with default trigger level 180.
addGyroListener(GyroListener, int)
- Method in class ch.aplu.nxt.
GyroSensor
Registers the given gyro listener for the given trigger level.
addGyroListener(GyroListener)
- Method in class ch.aplu.nxt.
GyroSensor
Registers the given gyro listener with default trigger level 500.
addLightListener(LightListener, int)
- Method in class ch.aplu.nxt.
LightSensor
Registers the given light listener for the given trigger level.
addLightListener(LightListener)
- Method in class ch.aplu.nxt.
LightSensor
Registers the given light listener with default trigger level 500.
addMotionListener(MotionListener)
- Method in class ch.aplu.nxt.
Gear
Register the given motion listener.
addMotionListener(MotionListener)
- Method in class ch.aplu.nxt.
Motor
Registers the given motion listener.
addPart(Part)
- Method in class ch.aplu.nxt.
NxtRobot
Assembles the given part into the robot.
addPrototypeListener(PrototypeListener)
- Method in class ch.aplu.nxt.
PrototypeSensor
Registers the given prototype listener.
addPrototypeListener(PrototypeListener)
- Method in class ch.aplu.nxt.
SuperProSensor
Registers the given prototype listener.
addRFIDListener(RFIDListener)
- Method in class ch.aplu.nxt.
RFIDSensor
Registers the given rfid listener.
addSoundListener(SoundListener, int)
- Method in class ch.aplu.nxt.
SoundSensor
Registers the given sound listener for the given trigger level.
addSoundListener(SoundListener)
- Method in class ch.aplu.nxt.
SoundSensor
Registers the given sound listener with default trigger level 50.
addTouchListener(TouchListener)
- Method in class ch.aplu.nxt.
TouchSensor
Registers the given touch listener.
addTransceiverListener(TransceiverListener)
- Method in class ch.aplu.nxt.
Transceiver
Add a listener to get connnection and data notifications.
addUltrasonicListener(UltrasonicListener, int)
- Method in class ch.aplu.nxt.
UltrasonicSensor
Registers the given ultrasonic listener for the given trigger level.
addUltrasonicListener(UltrasonicListener)
- Method in class ch.aplu.nxt.
UltrasonicSensor
Registers the given ultrasonic listener with default trigger level 20.
ainChanged(SensorPort, int[])
- Method in class ch.aplu.nxt.
PrototypeAdapter
Empty method called when at least one of the 5 analog inputs changed its value.
ainChanged(SensorPort, int[])
- Method in interface ch.aplu.nxt.
PrototypeListener
Called when at least one of the 5 analog inputs changed its value.
ANGLE
- Static variable in interface ch.aplu.nxt.
SharedConstants
ANGLESTEPSMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
available()
- Method in class ch.aplu.nxt.
CQueue
Returns the current number of data elements in the queue.
AXELENGTH
- Static variable in interface ch.aplu.nxt.
SharedConstants
B
B
- Static variable in class ch.aplu.nxt.
MotorPort
Declaration used by a motor connected to port B.
backward()
- Method in class ch.aplu.nxt.
Gear
Same as forward(), but move in reverse direction.
backward(int)
- Method in class ch.aplu.nxt.
Gear
Same as forward(int duration), but move in reverse direction.
backward()
- Method in class ch.aplu.nxt.
Motor
Starts the backward rotation with preset speed.
backward(int)
- Method in class ch.aplu.nxt.
TurtleRobot
Moves the turtle backward the given number of steps.
blueLED
- Static variable in class ch.aplu.nxt.
SuperProSensor
Constant for the blue onboard LED.
BluetoothClient
- Class in
ch.aplu.bluetooth
Class to create a client that connects to a server via Bluetooth.
BluetoothClient()
- Constructor for class ch.aplu.bluetooth.
BluetoothClient
BluetoothClient(String)
- Constructor for class ch.aplu.bluetooth.
BluetoothClient
Creates a BluetoothClient instance for the given server's Bluetooth name that will connect to channel 1.
BluetoothPeer
- Class in
ch.aplu.bluetooth
Class that implements a Bluetooth peer-to-peer communication based on the client-server model.
BluetoothPeer(String, BtPeerListener)
- Constructor for class ch.aplu.bluetooth.
BluetoothPeer
Creates a BluetoothPeer instance that will connect to the given node.
BluetoothServer
- Class in
ch.aplu.bluetooth
Class that creates a Bluetooth server thread.
BluetoothServer(BtListener, boolean)
- Constructor for class ch.aplu.bluetooth.
BluetoothServer
Creates a server instance.
BluetoothServer(BtListener)
- Constructor for class ch.aplu.bluetooth.
BluetoothServer
BOOLEANMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
BOOT
- Static variable in interface ch.aplu.nxt.
SharedConstants
box
- Static variable in class ch.aplu.nxt.
NxtContext
Box obstacle.
BRAKE
- Static variable in interface ch.aplu.nxt.
SharedConstants
BRAKEDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
bright(SensorPort, int)
- Method in class ch.aplu.nxt.
LightAdapter
Empty method called when the light becomes brighter than the trigger level.
bright(SensorPort, int)
- Method in interface ch.aplu.nxt.
LightListener
Called when the light becomes brighter than the trigger level.
BtListener
- Interface in
ch.aplu.bluetooth
Declaration of a notification method called from the class BluetoothServer.
BtPeerListener
- Interface in
ch.aplu.bluetooth
Declarations of notification methods called from the class BluetoothPeer.
C
C
- Static variable in class ch.aplu.nxt.
MotorPort
Declaration used by a motor connected to port C.
cancel()
- Method in class ch.aplu.bluetooth.
BluetoothServer
Cancels the blocking waitForConnection() or closes an opened connection.
CELSIUSMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
ch.aplu.bluetooth
- package ch.aplu.bluetooth
Package for Bluetooth communication based on lejos.nxt.comm.Bluetooth
ch.aplu.nxt
- package ch.aplu.nxt
Package for the Lego robot brick based on the NxtJLib OOP design
channel
- Static variable in class ch.aplu.nxt.
NxtContext
Channel obstacle.
close()
- Method in class ch.aplu.bluetooth.
BluetoothServer
Closes the opened connection.
CLOSE
- Static variable in interface ch.aplu.nxt.
SharedConstants
ColorHTSensor
- Class in
ch.aplu.nxt
Class that represents a color light sensor (HiTechnic Color Sensor)
ColorHTSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
ColorHTSensor
Creates a sensor instance connected to the given port.
ColorHTSensor()
- Constructor for class ch.aplu.nxt.
ColorHTSensor
Creates a sensor instance connected to port S1.
COLORPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
ColorSensor
- Class in
ch.aplu.nxt
Class that represents a color light sensor (Lego Color Sensor)
ColorSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
ColorSensor
Creates a sensor instance connected to the given port.
ColorSensor()
- Constructor for class ch.aplu.nxt.
ColorSensor
Creates a sensor instance connected to port S1.
CompassAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the compass sensor.
CompassAdapter()
- Constructor for class ch.aplu.nxt.
CompassAdapter
CompassHTSensor
- Class in
ch.aplu.nxt
Class that represents a compass sensor from HiTechnics.
CompassHTSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
CompassHTSensor
Creates a sensor instance connected to the given port.
CompassHTSensor()
- Constructor for class ch.aplu.nxt.
CompassHTSensor
Creates a sensor instance connected to port S1.
CompassListener
- Interface in
ch.aplu.nxt
Class with declarations of callback methods for the compass sensor.
COMPASSPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
connect()
- Method in class ch.aplu.bluetooth.
BluetoothClient
Connects the client to the host.
continueRelativeTo(int)
- Method in class ch.aplu.nxt.
Motor
Same as rotateTo(int count), but the rotation counter is not set to zero.
continueRelativeTo(int, boolean)
- Method in class ch.aplu.nxt.
Motor
Same as rotateTo(int count, boolean blocking), but the rotation counter is not set to zero.
continueTo(int)
- Method in class ch.aplu.nxt.
Motor
Same as rotateTo(int count), but the rotation counter is not set to zero.
continueTo(int, boolean)
- Method in class ch.aplu.nxt.
Motor
Same as rotateTo(int count, boolean blocking), but the rotation counter is not set to zero.
CQueue
- Class in
ch.aplu.nxt
Implementation of a circular queue of fixed size (FIFO buffer) containing elements of class CQueueData.
CQueue(int)
- Constructor for class ch.aplu.nxt.
CQueue
Creates a queue with given maximal number of elements.
CQueueData
- Class in
ch.aplu.nxt
Structured data for the circular queue.
CQueueData(int, int)
- Constructor for class ch.aplu.nxt.
CQueueData
Creates a class instance with given integer pair.
CQueueData(CQueueData)
- Constructor for class ch.aplu.nxt.
CQueueData
Creates a clone of the given data.
CRAWLERROTATIONFACTOR
- Static variable in interface ch.aplu.nxt.
SharedConstants
CRAWLERROTATIONSPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
CRAWLERSPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
CRAWLERSTEPFACTOR
- Static variable in interface ch.aplu.nxt.
SharedConstants
CUSTOM
- Static variable in interface ch.aplu.nxt.
SharedConstants
D
dark(SensorPort, int)
- Method in class ch.aplu.nxt.
LightAdapter
Empty method called when the light becomes darker than the trigger level.
dark(SensorPort, int)
- Method in interface ch.aplu.nxt.
LightListener
Called when the light becomes darker than the trigger level.
DEBUG_LEVEL_HIGH
- Static variable in interface ch.aplu.nxt.
SharedConstants
DEBUG_LEVEL_LOW
- Static variable in interface ch.aplu.nxt.
SharedConstants
DEBUG_LEVEL_MEDIUM
- Static variable in interface ch.aplu.nxt.
SharedConstants
DEBUG_LEVEL_OFF
- Static variable in interface ch.aplu.nxt.
SharedConstants
DebugConsole
- Class in
ch.aplu.nxt
Class to show debug information using System.out.
DebugConsole()
- Constructor for class ch.aplu.nxt.
DebugConsole
DEBUGLEVEL
- Static variable in interface ch.aplu.nxt.
SharedConstants
delay(long)
- Static method in class ch.aplu.nxt.
Tools
Suspends execution of the current thread for the given amount of time.
DELETE
- Static variable in interface ch.aplu.nxt.
SharedConstants
DELETE_USER_FLASH
- Static variable in interface ch.aplu.nxt.
SharedConstants
detected(SensorPort, long)
- Method in interface ch.aplu.nxt.
RFIDListener
Called when the RFID sensor detects a new transponder.
dinChanged(SensorPort, int[])
- Method in class ch.aplu.nxt.
PrototypeAdapter
Empty method called when at least one of the digital inputs changed its value.
dinChanged(SensorPort, int[])
- Method in interface ch.aplu.nxt.
PrototypeListener
Called when at least one of the digital inputs changed its value.
DIRECT_COMMAND_NOREPLY
- Static variable in interface ch.aplu.nxt.
SharedConstants
DIRECT_COMMAND_REPLY
- Static variable in interface ch.aplu.nxt.
SharedConstants
disconnect()
- Method in class ch.aplu.bluetooth.
BluetoothClient
If connected, closes input and output streams and releases the Bluetooth communication.
E
equals(SensorPort)
- Method in class ch.aplu.nxt.
SensorPort
Compares the labels of the current port to the given port.
exit()
- Method in class ch.aplu.nxt.
NxtRobot
Calls cleanup() of all sensors, stops any running motor and terminates the running program.
F
FAHRENHEITMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
far(SensorPort, int)
- Method in class ch.aplu.nxt.
UltrasonicAdapter
Empty method called when the distance exceeds the trigger level.
far(SensorPort, int)
- Method in interface ch.aplu.nxt.
UltrasonicListener
Called when the distance exceeds the trigger level.
fast(SensorPort, int)
- Method in class ch.aplu.nxt.
GyroAdapter
Empty method called when the gyro value overruns the trigger level.
fast(SensorPort, int)
- Method in interface ch.aplu.nxt.
GyroListener
Called when the gyro value overruns the trigger level.
FIND_FIRST
- Static variable in interface ch.aplu.nxt.
SharedConstants
FIND_NEXT
- Static variable in interface ch.aplu.nxt.
SharedConstants
forward()
- Method in class ch.aplu.nxt.
Gear
Starts the forward movement with preset speed.
forward(int)
- Method in class ch.aplu.nxt.
Gear
Starts the forward movement for the given duration (in ms) with preset speed.
forward()
- Method in class ch.aplu.nxt.
Motor
Starts the forward rotation with preset speed.
forward(int)
- Method in class ch.aplu.nxt.
TurtleRobot
Moves the turtle forward the given number of steps.
G
Gear
- Class in
ch.aplu.nxt
Combines two motors on an axis to perform a car-like movement.
Gear(MotorPort, MotorPort)
- Constructor for class ch.aplu.nxt.
Gear
Creates a gear instance with left motor plugged into port1, right motor plugged into port2.
Gear()
- Constructor for class ch.aplu.nxt.
Gear
Creates a gear instance with left motor plugged into port A, right motor plugged into port B.
GEARSPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
get()
- Method in class ch.aplu.nxt.
CQueue
Returns the next element from the queue.
GET_BATTERY_LEVEL
- Static variable in interface ch.aplu.nxt.
SharedConstants
GET_CURRENT_PROGRAM_NAME
- Static variable in interface ch.aplu.nxt.
SharedConstants
GET_DEVICE_INFO
- Static variable in interface ch.aplu.nxt.
SharedConstants
GET_FIRMWARE_VERSION
- Static variable in interface ch.aplu.nxt.
SharedConstants
GET_INPUT_VALUES
- Static variable in interface ch.aplu.nxt.
SharedConstants
GET_OUTPUT_STATE
- Static variable in interface ch.aplu.nxt.
SharedConstants
getAcceleration()
- Method in class ch.aplu.nxt.
AccelerometerSensor
Returns the current acceleration in x, y, z direction (10 bit, two's complement, -512..511).
getBatteryLevel()
- Method in class ch.aplu.nxt.
NxtRobot
Returns the battery level.
getBtAddress()
- Static method in class ch.aplu.nxt.
Tools
Gets the Bluetooth address of the device.
getBtName()
- Static method in class ch.aplu.nxt.
Tools
Gets the Bluetooth friendly name of the device.
getColor()
- Method in class ch.aplu.nxt.
ColorHTSensor
Returns a Color reference to the the calibrated color reading.
getColor()
- Method in class ch.aplu.nxt.
ColorSensor
Returns a lejos.robotics.Color reference to the the calibrated color reading.
getColorID()
- Method in class ch.aplu.nxt.
ColorHTSensor
Returns the HiTechnic color index:
0: black
1: blue
2: blue
3: blue
4: green
5: yellow
6: yellow
7: red
8: red
9: red
10: pink
11: pink
12: light green
13: light yellow
14: light red
15: light red
16: light red
17: white
getData(int, byte[], int)
- Method in class ch.aplu.nxt.
I2CSensor
Retrieves data from the sensor.
getDegrees()
- Method in class ch.aplu.nxt.
CompassHTSensor
Polls the sensor.
getDistance()
- Method in class ch.aplu.nxt.
UltrasonicSensor
Polls the sensor.
getGear()
- Method in class ch.aplu.nxt.
TurtleRobot
Returns the gear used as component of the turtle.
getId()
- Method in class ch.aplu.nxt.
MotorPort
Returns the port identification as integer.
getId()
- Method in class ch.aplu.nxt.
SensorPort
Returns the port identification as integer.
getInputStream()
- Method in class ch.aplu.bluetooth.
BluetoothClient
getKnownBtDevices()
- Static method in class ch.aplu.nxt.
Tools
Returns a list of all registered Bluetooth devices.
getLabel()
- Method in class ch.aplu.nxt.
MotorPort
Returns the port identification as string.
getLabel()
- Method in class ch.aplu.nxt.
SensorPort
Returns the port identification as string.
getLejosI2CSensor()
- Method in class ch.aplu.nxt.
I2CSensor
Returns the reference of the the underlying lejos.nxt.I2CSensor.
getLejosMotor()
- Method in class ch.aplu.nxt.
Motor
Returns the reference of the the underlying lejos.nxt.NXTRegulatedMotor.
getLejosPort()
- Method in class ch.aplu.nxt.
ColorHTSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
ColorSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
GyroSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
I2CSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
LightSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
RFIDSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
SoundSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosPort()
- Method in class ch.aplu.nxt.
TouchSensor
Returns the reference of the the underlying lejos.nxt.SensorPort.
getLejosSensor()
- Method in class ch.aplu.nxt.
ColorHTSensor
Returns the reference of the the underlying lejos.nxt.addon.ColorHTSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
ColorSensor
Returns the reference of the the underlying lejos.nxt.ColorSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
CompassHTSensor
Returns the reference of the the underlying lejos.nxt.CompassSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
GyroSensor
Returns the reference of the the underlying lejos.nxt.GyroSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
LightSensor
Returns the reference of the the underlying lejos.nxt.LightSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
RFIDSensor
Returns the reference of the the underlying lejos.nxt.RFIDSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
SoundSensor
Returns the reference of the the underlying lejos.nxt.SoundSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
TouchSensor
Returns the reference of the the underlying lejos.nxt.TouchSensor.
getLejosSensor()
- Method in class ch.aplu.nxt.
UltrasonicSensor
Returns the reference of the the underlying lejos.nxt.UltrasonicSensor.
getLightValue()
- Method in class ch.aplu.nxt.
ColorSensor
Returns the intensity of the detected light.
getMotLeft()
- Method in class ch.aplu.nxt.
Gear
Returns left motor of the gear.
getMotorCount()
- Method in class ch.aplu.nxt.
Motor
Returns current value of the rotation counter.
getMotRight()
- Method in class ch.aplu.nxt.
Gear
Returns right motor of the gear.
getOutputStream()
- Method in class ch.aplu.bluetooth.
BluetoothClient
getPortId()
- Method in class ch.aplu.nxt.
Motor
Returns the port number.
getPortLabel()
- Method in class ch.aplu.nxt.
Motor
Returns the port label.
getProductID()
- Method in class ch.aplu.nxt.
I2CSensor
Returns the product identifier (if available).
getProductID()
- Method in class ch.aplu.nxt.
RFIDSensor
Returns the product identifier (if available).
getRecipient()
- Method in class ch.aplu.nxt.
Transceiver
Returns the Bluetooth name of the remote transceiver.
getSerialNo()
- Method in class ch.aplu.nxt.
RFIDSensor
Returns the serial number of the RFID sensor.
getSignalStrength()
- Method in class ch.aplu.bluetooth.
BluetoothClient
Get the signal strength of the connection.
getSpeed()
- Method in class ch.aplu.nxt.
Gear
Returns the current speed (arbitrary units).
getSpeed()
- Method in class ch.aplu.nxt.
Motor
Returns the current speed (arbitrary units).
getTime()
- Static method in class ch.aplu.nxt.
Tools
Gets the timer's time.
getTransponderId()
- Method in class ch.aplu.nxt.
RFIDSensor
Polls the sensor.
getTurtleSpeed()
- Method in class ch.aplu.nxt.
TurtleRobot
Returns the current turtle speed.
getValue()
- Method in class ch.aplu.nxt.
GyroSensor
Polls the sensor.
getValue()
- Method in class ch.aplu.nxt.
LightSensor
Polls the sensor.
getValue()
- Method in class ch.aplu.nxt.
SoundSensor
Polls the sensor.
getVelocity()
- Method in class ch.aplu.nxt.
Gear
Returns the current velocity.
getVelocity()
- Method in class ch.aplu.nxt.
Motor
Returns the current velocity.
getVersion()
- Method in class ch.aplu.nxt.
I2CSensor
Returns the sensor version number (if available).
getVersion()
- Static method in class ch.aplu.nxt.
NxtRobot
Returns library version information.
getVersion()
- Method in class ch.aplu.nxt.
RFIDSensor
Returns the sensor version number (if available).
GyroAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the gyro sensor.
GyroAdapter()
- Constructor for class ch.aplu.nxt.
GyroAdapter
GyroListener
- Interface in
ch.aplu.nxt
Interface with declarations of callback methods for the gyro sensor.
GYROPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
GyroSensor
- Class in
ch.aplu.nxt
Class that represents a gyro sensor from HiTechnic.
GyroSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
GyroSensor
Creates a sensor instance connected to the given port.
GyroSensor()
- Constructor for class ch.aplu.nxt.
GyroSensor
Creates a sensor instance connected to port S1.
H
HIGH_SPEED_BUFFER
- Static variable in interface ch.aplu.nxt.
SharedConstants
I
I2CSensor
- Class in
ch.aplu.nxt
A sensor wrapper to allow easy access to I2C sensors, like the ultrasonic sensor.
I2CSensor(SensorPort, byte, int)
- Constructor for class ch.aplu.nxt.
I2CSensor
Creates a sensor instance of given type connected to the given port using the given I2C device address (default address is 0x02).
I2CSensor(SensorPort, byte)
- Constructor for class ch.aplu.nxt.
I2CSensor
Creates a sensor instance of given type connected to the given port with default device address 0x02.
inColorCube(int[], int[])
- Method in class ch.aplu.nxt.
ColorHTSensor
Checks if given rgb values lies within given color cube.
inColorCube(Color, int[])
- Method in class ch.aplu.nxt.
ColorSensor
Checks if given color lies within given color cube.
INFRAREDSEEKERPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
initBlackLevel()
- Method in class ch.aplu.nxt.
ColorHTSensor
Puts the sensor into black/ambient level calibration mode.
initWhiteBalance()
- Method in class ch.aplu.nxt.
ColorHTSensor
Puts the sensor into white balance calibration mode.
isBtDeviceKnown(String)
- Static method in class ch.aplu.nxt.
Tools
isCanceled()
- Method in class ch.aplu.bluetooth.
BluetoothServer
Returns true, if cancel was previously called.
isConnected()
- Method in class ch.aplu.bluetooth.
BluetoothClient
Returns the connection state.
isConnected()
- Method in class ch.aplu.bluetooth.
BluetoothPeer
Returns the connection status.
isConnected()
- Method in class ch.aplu.nxt.
Transceiver
Returns the connection status.
isListening()
- Method in interface ch.aplu.nxt.
TransceiverListener
Called when the client could not connect and a listening server is started.
isMoving()
- Method in class ch.aplu.nxt.
Gear
Checks if one or both motors are rotating.
isMoving()
- Method in class ch.aplu.nxt.
Motor
Checks if the motor is rotating.
isPressed()
- Method in class ch.aplu.nxt.
TouchSensor
Polls the sensor.
K
KEEP_ALIVE
- Static variable in interface ch.aplu.nxt.
SharedConstants
L
label
- Variable in class ch.aplu.nxt.
CQueueData
Second member of the integer pair.
ledOff()
- Method in class ch.aplu.nxt.
SuperProSensor
Turn off both onboard LEDs (red and blue).
ledOff(SuperProSensor.LED)
- Method in class ch.aplu.nxt.
SuperProSensor
Turn the given onboard LED off.
ledOn()
- Method in class ch.aplu.nxt.
SuperProSensor
Turn on both onboard LEDs (red and blue).
ledOn(SuperProSensor.LED)
- Method in class ch.aplu.nxt.
SuperProSensor
Turn the given onboard LED on.
left()
- Method in class ch.aplu.nxt.
Gear
Starts turning left with left motor rotating forward and right motor rotating backward at preset speed.
left(int)
- Method in class ch.aplu.nxt.
Gear
Starts turning left for the given duration (in ms) with preset speed.
left(int)
- Method in class ch.aplu.nxt.
TurtleRobot
Turns the turtle to the left for the given angle.
leftArc(double)
- Method in class ch.aplu.nxt.
Gear
Starts turning to the left on an arc with given radius (in m).
leftArc(double, int)
- Method in class ch.aplu.nxt.
Gear
Starts turning to the left on an arc with given radius (in m) for the given duration (in ms) with preset speed.
lejos.nxt
- package lejos.nxt
lejos.robotics
- package lejos.robotics
LIGHT_ACTIVE
- Static variable in interface ch.aplu.nxt.
SharedConstants
LIGHT_INACTIVE
- Static variable in interface ch.aplu.nxt.
SharedConstants
LightAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the light sensor.
LightAdapter()
- Constructor for class ch.aplu.nxt.
LightAdapter
LightListener
- Interface in
ch.aplu.nxt
Interface with declarations of callback methods for the light sensor.
LIGHTPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
LightSensor
- Class in
ch.aplu.nxt
Class that represents a light sensor.
LightSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
LightSensor
Creates a sensor instance connected to the given port.
LightSensor()
- Constructor for class ch.aplu.nxt.
LightSensor
Creates a sensor instance connected to port S1.
loud(SensorPort, int)
- Method in class ch.aplu.nxt.
SoundAdapter
Empty method called when the sound becomes louder than the trigger level.
loud(SensorPort, int)
- Method in interface ch.aplu.nxt.
SoundListener
Called when the sound becomes louder than the trigger level.
LOWSPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
LOWSPEED_9V
- Static variable in interface ch.aplu.nxt.
SharedConstants
LS_GET_STATUS
- Static variable in interface ch.aplu.nxt.
SharedConstants
LS_READ
- Static variable in interface ch.aplu.nxt.
SharedConstants
LS_WRITE
- Static variable in interface ch.aplu.nxt.
SharedConstants
M
MESSAGE_READ
- Static variable in interface ch.aplu.nxt.
SharedConstants
MESSAGE_WRITE
- Static variable in interface ch.aplu.nxt.
SharedConstants
MODEMASK
- Static variable in interface ch.aplu.nxt.
SharedConstants
MotionAdapter
- Class in
ch.aplu.nxt
Class with an empty declaration of a callback method when the movement stops.
MotionAdapter()
- Constructor for class ch.aplu.nxt.
MotionAdapter
MOTIONDETECTORPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
MotionListener
- Interface in
ch.aplu.nxt
Class with a declaration of a callback method when the movement stops.
motionStopped()
- Method in class ch.aplu.nxt.
MotionAdapter
Empty method called when the movement stops.
motionStopped()
- Method in interface ch.aplu.nxt.
MotionListener
Called when the movement stops.
Motor
- Class in
ch.aplu.nxt
Class that represents one of the NXT motors.
Motor(MotorPort)
- Constructor for class ch.aplu.nxt.
Motor
Creates a motor instance that is plugged into given port.
Motor()
- Constructor for class ch.aplu.nxt.
Motor
MOTOR_RUN_STATE_IDLE
- Static variable in interface ch.aplu.nxt.
SharedConstants
MOTOR_RUN_STATE_RAMPDOWN
- Static variable in interface ch.aplu.nxt.
SharedConstants
MOTOR_RUN_STATE_RAMPUP
- Static variable in interface ch.aplu.nxt.
SharedConstants
MOTOR_RUN_STATE_RUNNING
- Static variable in interface ch.aplu.nxt.
SharedConstants
MOTORON
- Static variable in interface ch.aplu.nxt.
SharedConstants
MotorPort
- Class in
ch.aplu.nxt
Useful declarations for port connections.
MOTORSPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
MOTORSPEEDFACTOR
- Static variable in interface ch.aplu.nxt.
SharedConstants
MOTORSPEEDMULTIPLIER
- Static variable in interface ch.aplu.nxt.
SharedConstants
moveTo(int, boolean)
- Method in class ch.aplu.nxt.
Gear
Sets the rotation counter to zero and rotate both motors until the given count is reached.
moveTo(int)
- Method in class ch.aplu.nxt.
Gear
Same as moveTo(int count, boolean blocking) with blocking = true.
N
near(SensorPort, int)
- Method in class ch.aplu.nxt.
UltrasonicAdapter
Empty method called when the distance falls below the trigger level.
near(SensorPort, int)
- Method in interface ch.aplu.nxt.
UltrasonicListener
Called when the distance falls below the trigger level.
NO_OF_SENSOR_TYPES
- Static variable in interface ch.aplu.nxt.
SharedConstants
NO_SENSOR
- Static variable in interface ch.aplu.nxt.
SharedConstants
notifyConnection(InputStream, OutputStream)
- Method in interface ch.aplu.bluetooth.
BtListener
Called when a connection is established.
notifyConnection(boolean)
- Method in interface ch.aplu.bluetooth.
BtPeerListener
Called when connection is established/lost.
notifyConnection(boolean)
- Method in class ch.aplu.nxt.
Transceiver
For internal use only.
notifyConnection(boolean)
- Method in interface ch.aplu.nxt.
TransceiverListener
Called when the connection is established/lost.
NxtContext
- Class in
ch.aplu.nxt
Dummy class to make NxtJLib source compatible with NxtSim.
NxtRobot
- Class in
ch.aplu.nxt
Class that represents a NXT robot brick.
NxtRobot(boolean)
- Constructor for class ch.aplu.nxt.
NxtRobot
Creates an instance of NxtRobot and and delays execution until the user presses the ENTER button.
NxtRobot()
- Constructor for class ch.aplu.nxt.
NxtRobot
Creates an instance of NxtRobot continues execution normally.
O
Obstacle
- Class in
ch.aplu.nxt
Dummy class to make NxtJLib source compatible with NxtSim.
Obstacle(String)
- Constructor for class ch.aplu.nxt.
Obstacle
Creates an obstacle from given image file.
OPEN_APPEND_DATA
- Static variable in interface ch.aplu.nxt.
SharedConstants
OPEN_READ
- Static variable in interface ch.aplu.nxt.
SharedConstants
OPEN_READ_LINEAR
- Static variable in interface ch.aplu.nxt.
SharedConstants
OPEN_WRITE
- Static variable in interface ch.aplu.nxt.
SharedConstants
OPEN_WRITE_DATA
- Static variable in interface ch.aplu.nxt.
SharedConstants
OPEN_WRITE_LINEAR
- Static variable in interface ch.aplu.nxt.
SharedConstants
P
Part
- Class in
ch.aplu.nxt
Abstract class as ancestor of all parts.
Part()
- Constructor for class ch.aplu.nxt.
Part
PCTFULLSCALEMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
PERIODCOUNTERMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
PLAY_SOUND_FILE
- Static variable in interface ch.aplu.nxt.
SharedConstants
PLAY_TONE
- Static variable in interface ch.aplu.nxt.
SharedConstants
playTone(int, int)
- Method in class ch.aplu.nxt.
NxtRobot
Plays a tone of given frequency (in Hz) for the given duration (in ms).
POLL
- Static variable in interface ch.aplu.nxt.
SharedConstants
POLL_BUFFER
- Static variable in interface ch.aplu.nxt.
SharedConstants
POLL_LENGTH
- Static variable in interface ch.aplu.nxt.
SharedConstants
pressed(SensorPort)
- Method in class ch.aplu.nxt.
TouchAdapter
Empty method called when the touch sensor is pressed.
pressed(SensorPort)
- Method in interface ch.aplu.nxt.
TouchListener
Called when the touch sensor is pressed.
PrototypeAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the prototype sensor.
PrototypeAdapter()
- Constructor for class ch.aplu.nxt.
PrototypeAdapter
PrototypeListener
- Interface in
ch.aplu.nxt
Class with declarations of callback methods for the prototype sensor.
PROTOTYPEPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
PrototypeSensor
- Class in
ch.aplu.nxt
Class that represents a prototype sensor (HiTechnic NXT Prototype Board).
PrototypeSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
PrototypeSensor
Creates a sensor instance connected to the given port.
PrototypeSensor()
- Constructor for class ch.aplu.nxt.
PrototypeSensor
Creates a sensor instance connected to port S1.
put(CQueueData)
- Method in class ch.aplu.nxt.
CQueue
Puts given given element at the next position of the queue.
putSleep(int)
- Static method in class ch.aplu.nxt.
Tools
Puts the current thread in a wait state until wakeUp() is called or timeout (in ms) expires.
putSleep()
- Static method in class ch.aplu.nxt.
Tools
Same as putSleep(int timeout) with timeout = 0 (timeout disalbed).
Q
quiet(SensorPort, int)
- Method in class ch.aplu.nxt.
SoundAdapter
Empty method called when the sound becomes lower than the trigger level.
quiet(SensorPort, int)
- Method in interface ch.aplu.nxt.
SoundListener
Called when the sound becomes lower than the trigger level.
R
RAWMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
read(int[], int[])
- Method in class ch.aplu.nxt.
PrototypeSensor
Reads the sensor.
READ
- Static variable in interface ch.aplu.nxt.
SharedConstants
read(int[], int[])
- Method in class ch.aplu.nxt.
SuperProSensor
Reads the sensor.
readAnalog(int[])
- Method in class ch.aplu.nxt.
PrototypeSensor
Reads the sensor.
readAnalog(int[])
- Method in class ch.aplu.nxt.
SuperProSensor
Reads the analog input of the sensor.
readDigital(int[])
- Method in class ch.aplu.nxt.
PrototypeSensor
Reads the sensor.
readDigital(int[])
- Method in class ch.aplu.nxt.
SuperProSensor
Reads the sensor.
received(int, int)
- Method in interface ch.aplu.nxt.
TransceiverListener
Called when incoming data is received.
receiveDataBlock(int[])
- Method in interface ch.aplu.bluetooth.
BtPeerListener
Called when incoming data is received.
receiveDataBlock(int[])
- Method in class ch.aplu.nxt.
Transceiver
For internal use only.
redLED
- Static variable in class ch.aplu.nxt.
SuperProSensor
Constant for the red onboard LED.
REFLECTION
- Static variable in interface ch.aplu.nxt.
SharedConstants
REGULATED
- Static variable in interface ch.aplu.nxt.
SharedConstants
REGULATION_MODE_IDLE
- Static variable in interface ch.aplu.nxt.
SharedConstants
REGULATION_MODE_MOTOR_SPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
REGULATION_MODE_MOTOR_SYNC
- Static variable in interface ch.aplu.nxt.
SharedConstants
releaseConnection()
- Method in class ch.aplu.bluetooth.
BluetoothPeer
Releases a connection and inform the connected node's listener by calling notifyConnection(false).
releaseConnection()
- Method in class ch.aplu.nxt.
Transceiver
Releases a connection and inform the connected node's listener by calling notifyConnection(false).
released(SensorPort)
- Method in class ch.aplu.nxt.
TouchAdapter
Empty method called when the touch sensor is released.
released(SensorPort)
- Method in interface ch.aplu.nxt.
TouchListener
Called when the touch sensor is released.
REPLY_COMMAND
- Static variable in interface ch.aplu.nxt.
SharedConstants
RESET_MOTOR_POSITION
- Static variable in interface ch.aplu.nxt.
SharedConstants
RESET_SCALED_INPUT_VALUE
- Static variable in interface ch.aplu.nxt.
SharedConstants
resetMotorCount()
- Method in class ch.aplu.nxt.
Motor
Resets the rotation counter to zero.
RFIDListener
- Interface in
ch.aplu.nxt
Class with declaration of callback methods for the rfid sensor.
RFIDPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
RFIDSensor
- Class in
ch.aplu.nxt
Class that represents a RFID sensor from CODATEX (www.codatex.com).
RFIDSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
RFIDSensor
Creates a sensor instance connected to the given port.
RFIDSensor()
- Constructor for class ch.aplu.nxt.
RFIDSensor
Creates a sensor instance connected to port S1.
right()
- Method in class ch.aplu.nxt.
Gear
Same as left(), but turns in the opposite direction.
right(int)
- Method in class ch.aplu.nxt.
Gear
Same as left(int duration), but turns in the opposite direction.
right(int)
- Method in class ch.aplu.nxt.
TurtleRobot
Turns the turtle to the right for the given angle.
rightArc(double)
- Method in class ch.aplu.nxt.
Gear
Same as leftArc(double radius), but turns to the right.
rightArc(double, int)
- Method in class ch.aplu.nxt.
Gear
Same as leftArc(double radius, int duration), but turns to the right.
rotateTo(int)
- Method in class ch.aplu.nxt.
Motor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
rotateTo(int, boolean)
- Method in class ch.aplu.nxt.
Motor
Sets the rotation counter to zero and rotates the motor until the given count is reached.
run()
- Method in class ch.aplu.bluetooth.
BluetoothServer
For internal use only.
S
S1
- Static variable in class ch.aplu.nxt.
SensorPort
Declaration used by a sensor connected to port S1.
S2
- Static variable in class ch.aplu.nxt.
SensorPort
Declaration used by a sensor connected to port S2.
S3
- Static variable in class ch.aplu.nxt.
SensorPort
Declaration used by a sensor connected to port S3.
S4
- Static variable in class ch.aplu.nxt.
SensorPort
Declaration used by a sensor connected to port S4.
send(int, int)
- Method in class ch.aplu.nxt.
Transceiver
Send a state/value information to a connected remote transceiver.
sendData(int, byte)
- Method in class ch.aplu.nxt.
I2CSensor
Sets a single byte in the I2C sensor.
sendData(int, byte[], int)
- Method in class ch.aplu.nxt.
I2CSensor
Send multiple values with a I2C write transaction.
sendDataBlock(int[])
- Method in class ch.aplu.bluetooth.
BluetoothPeer
Send a block of data to the connected node.
Sensor
- Class in
ch.aplu.nxt
Abstract class as ancestor of all sensors.
SENSOREVENTDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
SensorPort
- Class in
ch.aplu.nxt
Useful declarations for port connections.
SET_BRICK_NAME
- Static variable in interface ch.aplu.nxt.
SharedConstants
SET_INPUT_MODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
SET_OUTPUT_STATE
- Static variable in interface ch.aplu.nxt.
SharedConstants
setAcceleration(int)
- Method in class ch.aplu.nxt.
Gear
Sets the acceleration rate of both motors in degrees/sec/sec The default value is 2000.
setAcceleration(int)
- Method in class ch.aplu.nxt.
Motor
Sets the acceleration rate of the motor in degrees/sec/sec The default value is 6000.
setAnalogOut(int, int, int, int)
- Method in class ch.aplu.nxt.
SuperProSensor
Enables the digital output.
setContMode(boolean)
- Method in class ch.aplu.nxt.
RFIDSensor
Selects between Single Read and Continous Read mode.
setDIO(int[])
- Method in class ch.aplu.nxt.
PrototypeSensor
Sets the direction of the 6 digital input/output channels.
setDIO(int[])
- Method in class ch.aplu.nxt.
SuperProSensor
Sets the direction of the 8 digital input/output channels.
setFloodlight(int)
- Method in class ch.aplu.nxt.
ColorSensor
Turns the red, green or blue LED on or off.
setLocation(int, int)
- Static method in class ch.aplu.nxt.
NxtContext
Sets the location of the playground (pixel coordinates of the upper left vertex).
setSamplingPeriod(int)
- Method in class ch.aplu.nxt.
PrototypeSensor
Sets the sampling period of the ADC (4..100 ms, default 4 ms).
setSpeed(int)
- Method in class ch.aplu.nxt.
Gear
Sets the speed to the given value (arbitrary units).
setSpeed(int)
- Method in class ch.aplu.nxt.
Motor
Sets the speed to the given value (arbitrary units).
setSpeedFactor(double)
- Method in class ch.aplu.nxt.
Motor
Sets the motor speed factor to given value.
setStartDirection(double)
- Static method in class ch.aplu.nxt.
NxtContext
Sets the Nxt starting direction (zero to EAST).
setStartPosition(int, int)
- Static method in class ch.aplu.nxt.
NxtContext
Sets the Nxt starting position (x-y-coordinates 0..500, origin at upper left).
setTriggerLevel(double)
- Method in class ch.aplu.nxt.
CompassHTSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int)
- Method in class ch.aplu.nxt.
GyroSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int)
- Method in class ch.aplu.nxt.
LightSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int)
- Method in class ch.aplu.nxt.
SoundSensor
Sets a new trigger level and returns the previous one.
setTriggerLevel(int)
- Method in class ch.aplu.nxt.
UltrasonicSensor
Sets a new trigger level and returns the previous one.
setTurtleSpeed(int)
- Method in class ch.aplu.nxt.
TurtleRobot
Sets the turtle speed to the given value.
setVelocity(double)
- Method in class ch.aplu.nxt.
Gear
Sets the velocity to the given value.
setVelocity(double)
- Method in class ch.aplu.nxt.
Motor
Sets the velocity to the given value.
SharedConstants
- Interface in
ch.aplu.nxt
Public declarations of important global constants.
show(String)
- Static method in class ch.aplu.nxt.
DebugConsole
Shows debug message.
ShowError
- Class in
ch.aplu.nxt
Class to display error messages.
ShowError(String)
- Constructor for class ch.aplu.nxt.
ShowError
showNavigationBar(boolean)
- Static method in class ch.aplu.nxt.
NxtContext
Shows the navigation bar of the GameGrid.
showNavigationBar()
- Static method in class ch.aplu.nxt.
NxtContext
Shows the navigation bar of the GameGrid and runs the simulation immediately.
SLOPEMASK
- Static variable in interface ch.aplu.nxt.
SharedConstants
slow(SensorPort, int)
- Method in class ch.aplu.nxt.
GyroAdapter
Empty method called when the gyro value under-runs the trigger level.
slow(SensorPort, int)
- Method in interface ch.aplu.nxt.
GyroListener
Called when the gyro value under-runs the trigger level.
SOUND_DB
- Static variable in interface ch.aplu.nxt.
SharedConstants
SOUND_DBA
- Static variable in interface ch.aplu.nxt.
SharedConstants
SoundAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the sound sensor.
SoundAdapter()
- Constructor for class ch.aplu.nxt.
SoundAdapter
SoundListener
- Interface in
ch.aplu.nxt
Class with declaration of callback methods for the sound sensor.
SOUNDPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
SoundSensor
- Class in
ch.aplu.nxt
Class that represents a sound sensor.
SoundSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
SoundSensor
Creates a sensor instance connected to the given port.
SoundSensor()
- Constructor for class ch.aplu.nxt.
SoundSensor
Creates a sensor instance connected to port S1.
speedToVelocity(int)
- Method in class ch.aplu.nxt.
Motor
Conversion from speed to velocity.
START_PROGRAM
- Static variable in interface ch.aplu.nxt.
SharedConstants
startCalibration()
- Method in class ch.aplu.nxt.
CompassHTSensor
Starts calibration process.
startTimer()
- Static method in class ch.aplu.nxt.
Tools
Starts a timer or restart it by setting its time to zero.
state
- Variable in class ch.aplu.nxt.
CQueueData
First member of the integer pair.
stop()
- Method in class ch.aplu.nxt.
Gear
Stops the gear.
stop()
- Method in class ch.aplu.nxt.
Motor
Stops the motor.
STOP_PROGRAM
- Static variable in interface ch.aplu.nxt.
SharedConstants
STOP_SOUND_PLAYBACK
- Static variable in interface ch.aplu.nxt.
SharedConstants
stopCalibration()
- Method in class ch.aplu.nxt.
CompassHTSensor
Stops calibration process.
SuperProSensor
- Class in
ch.aplu.nxt
Class that represents a SuperPro prototype sensor (HiTechnic NXT SuperPro Prototype Board).
SuperProSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
SuperProSensor
Creates a sensor instance connected to the given port.
SuperProSensor()
- Constructor for class ch.aplu.nxt.
SuperProSensor
Creates a sensor instance connected to port S1.
SuperProSensor.LED
- Enum in
ch.aplu.nxt
Enumeration for the on board LEDs.
SWITCH
- Static variable in interface ch.aplu.nxt.
SharedConstants
switchOff()
- Method in class ch.aplu.nxt.
Transceiver
Turns the transceiver off and releases all resources.
switchOn(boolean)
- Method in class ch.aplu.nxt.
Transceiver
Turns the transceiver on.
switchOn()
- Method in class ch.aplu.nxt.
Transceiver
Same as switchOn(true) (verbose mode).
SYSTEM_COMMAND_NOREPLY
- Static variable in interface ch.aplu.nxt.
SharedConstants
SYSTEM_COMMAND_REPLY
- Static variable in interface ch.aplu.nxt.
SharedConstants
T
TEMPERATURE
- Static variable in interface ch.aplu.nxt.
SharedConstants
TITLE
- Static variable in interface ch.aplu.nxt.
SharedConstants
TITLEMP
- Static variable in interface ch.aplu.nxt.
SharedConstants
toLeft(SensorPort, double)
- Method in class ch.aplu.nxt.
CompassAdapter
Empty method called when the compass reading points to a direction at the left half-plane of the trigger direction.
toLeft(SensorPort, double)
- Method in interface ch.aplu.nxt.
CompassListener
Called when the compass reading points to a direction at the left half-plane of the trigger direction.
Tools
- Class in
ch.aplu.nxt
Class with some useful helper methods.
Tools()
- Constructor for class ch.aplu.nxt.
Tools
toRight(SensorPort, double)
- Method in class ch.aplu.nxt.
CompassAdapter
Empty method called when the compass reading points to a direction at the right half-plane of the trigger direction.
toRight(SensorPort, double)
- Method in interface ch.aplu.nxt.
CompassListener
Called when the compass reading points to a direction at the right half-plane of the trigger direction.
TouchAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the touch sensor.
TouchAdapter()
- Constructor for class ch.aplu.nxt.
TouchAdapter
TouchListener
- Interface in
ch.aplu.nxt
Interface with declarations of callback methods for the touch sensor.
TOUCHPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
TouchSensor
- Class in
ch.aplu.nxt
Class that represents a touch sensor.
TouchSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
TouchSensor
Creates a sensor instance connected to the given port.
TouchSensor()
- Constructor for class ch.aplu.nxt.
TouchSensor
Creates a sensor instance connected to port S1.
Transceiver
- Class in
ch.aplu.nxt
Class that implements a Bluetooth transmitter/receiver module to exchange status information between two NxtRobots.
Transceiver(String, int)
- Constructor for class ch.aplu.nxt.
Transceiver
Creates a transceiver instance to prepare a Bluetooth connection with another transceiver running at a remote NXT with given Bluetooth name.
Transceiver(String)
- Constructor for class ch.aplu.nxt.
Transceiver
Creates a transceiver instance to prepare a Bluetooth connection with another transceiver running at a remote NXT with given Bluetooth name.
TransceiverListener
- Interface in
ch.aplu.nxt
Declarations of notification methods called from the class Transceiver.
TRANSITIONCNTMODE
- Static variable in interface ch.aplu.nxt.
SharedConstants
turnTo(int)
- Method in class ch.aplu.nxt.
Gear
Same as turnTo(int count, boolean blocking) with blocking = true.
turnTo(int, boolean)
- Method in class ch.aplu.nxt.
Gear
Sets the rotation counter to zero and turn with the motors running in opposite direction.
TurtleCrawler
- Class in
ch.aplu.nxt
TurtleCrawler(boolean)
- Constructor for class ch.aplu.nxt.
TurtleCrawler
Creates TurtleCrawler instance and delays execution until the user presses the ENTER button.
TurtleCrawler()
- Constructor for class ch.aplu.nxt.
TurtleCrawler
Creates a TurtleCrawler instance.
TurtleRobot
- Class in
ch.aplu.nxt
Implementation of the basic Logo turtle movements.
TurtleRobot(boolean)
- Constructor for class ch.aplu.nxt.
TurtleRobot
Creates TurtleRobot instance and delays execution until the user presses the ENTER button.
TurtleRobot()
- Constructor for class ch.aplu.nxt.
TurtleRobot
Creates a TurtleRobot instance.
TURTLEROTATIONFACTOR
- Static variable in interface ch.aplu.nxt.
SharedConstants
TURTLEROTATIONSPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
TURTLESPEED
- Static variable in interface ch.aplu.nxt.
SharedConstants
TURTLESTEPFACTOR
- Static variable in interface ch.aplu.nxt.
SharedConstants
U
UltrasonicAdapter
- Class in
ch.aplu.nxt
Class with empty callback methods for the ultrasonic sensor.
UltrasonicAdapter()
- Constructor for class ch.aplu.nxt.
UltrasonicAdapter
UltrasonicListener
- Interface in
ch.aplu.nxt
Class with declarations of callback methods for the ultrasonic sensor.
ULTRASONICPOLLDELAY
- Static variable in interface ch.aplu.nxt.
SharedConstants
UltrasonicSensor
- Class in
ch.aplu.nxt
Class that represents an ultrasonic sensor.
UltrasonicSensor(SensorPort)
- Constructor for class ch.aplu.nxt.
UltrasonicSensor
Creates a sensor instance connected to the given port.
UltrasonicSensor()
- Constructor for class ch.aplu.nxt.
UltrasonicSensor
Creates a sensor instance connected to port S1.
useBackground(String)
- Static method in class ch.aplu.nxt.
NxtContext
Use the give image as background (playground size 501 x 501).
useObstacle(String, int, int)
- Static method in class ch.aplu.nxt.
NxtContext
Defines the give images as an obstacle.
useObstacle(Obstacle)
- Static method in class ch.aplu.nxt.
NxtContext
Uses the given obstacle at the center of the playground.
V
valueOf(String)
- Static method in enum ch.aplu.nxt.
SuperProSensor.LED
Returns the enum constant of this type with the specified name.
values()
- Static method in enum ch.aplu.nxt.
SuperProSensor.LED
Returns an array containing the constants of this enum type, in the order they are declared.
velocityToSpeed(double)
- Method in class ch.aplu.nxt.
Motor
Conversion from velocity to speed.
VERSION
- Static variable in interface ch.aplu.nxt.
SharedConstants
W
waitEnter()
- Static method in class ch.aplu.nxt.
Tools
Waits until ENTER button is hit.
waitEnter(String)
- Static method in class ch.aplu.nxt.
Tools
Displays the prompt and waits until ENTER button is hit.
waitEscape()
- Static method in class ch.aplu.nxt.
Tools
Waits until ESCAPE button is hit.
waitEscape(String)
- Static method in class ch.aplu.nxt.
Tools
Displays the prompt and waits until ESCAPE button is hit.
wakeUp()
- Static method in class ch.aplu.nxt.
Tools
Wakes up the waiting thread.
write(int[])
- Method in class ch.aplu.nxt.
PrototypeSensor
Writes the given bit state (low/high) to the digital output channels.
WRITE
- Static variable in interface ch.aplu.nxt.
SharedConstants
write(int)
- Method in class ch.aplu.nxt.
SuperProSensor
Writes the lower byte of the given value to the digital output channels.
write(int[])
- Method in class ch.aplu.nxt.
SuperProSensor
Writes the given bit state (low/high) to the digital output channels.
writeStrobe(int)
- Method in class ch.aplu.nxt.
SuperProSensor
Writes the lower half byte (lower 4 bits) of the given value to the strobe output channels.
writeStrobe(int[])
- Method in class ch.aplu.nxt.
SuperProSensor
Writes the given bit state (low/high) to the strobe output channels.
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
Overview
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes