A B C D F G H I L M N O P R S T U W

A

ACTIVE - Static variable in class pt.citar.diablu.nxt.brick.NXTLightSensor
 
ACTIVE - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The active light sensor type.
ANGLE_STEPS_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
ANGLE_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
ATTEMPTED_TO_ACCESS_INVALID_FIELD_OF_A_STRUCTURE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 

B

BAD_ARGUMENTS - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
BAD_INPUT_OR_OUTPUT_SPECIFIED - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
BLUE - Static variable in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
BLUE - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The blue color sensor type.
BOOLEAN_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 

C

CELSIUS_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
closeChannel() - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
closeChannel() - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
closeChannel() - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 
COLOR_BLUE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
COLOR_FULL - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
COLOR_GREEN - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
COLOR_NONE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
COLOR_RED - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
COMMUNICATION_BUS_ERROR - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
CUSTOM_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 

D

DATA_CONTAINS_OUT_OF_RANGE_VALUES - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
dispose() - Method in class pt.citar.diablu.processing.nxt.LegoNXT
 

F

FAHRENHEIT_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
fastStop() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
flush() - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
flush() - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
flush() - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 
forward(byte) - Method in class pt.citar.diablu.nxt.brick.NXTMotor
Make the motor go forward, ramping up the speed.
forwardLimit(byte, int) - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
FULL - Static variable in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
FULL - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The full color sensor type.

G

getBatteryLevel() - Method in class pt.citar.diablu.nxt.brick.NXTBrick
Returns the battery level.
getBatteryLevel() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetBatteryLevel
 
getBatteryLevel() - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the battery level.
getBlockTachoCount() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
getBlockTachoCount() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getButtonState(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the state of the pressure sensor at the specifiec port.
getBytesRead() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseLSRead
Returns the number of bytes read.
getCalibratedValue() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
Calibrated value (valued scaled according to calibration.
getChannel() - Method in class pt.citar.diablu.nxt.brick.NXTBrick
Returns the channel used to communicate.
getColor(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the color level from the color sensor attached to the specified port.
getData() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseLSRead
Returns the Rx data.
getData() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseReceiveMsg
Returns the message data.
getDB() - Method in class pt.citar.diablu.nxt.brick.NXTSoundSensor
 
getDB(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Gets the DB level of the sound sensor on the specified port.
getDistance() - Method in class pt.citar.diablu.nxt.brick.NXTProximitySensor
 
getDistance(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the proximity to an obstacle, measured by the ultrasonic sensor.
getDuration() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
Returns the current duration set to be played when the command is sent.
getFrequency() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
Returns the current frequency set to be played when the command is sent.
getInputPort() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandGetInputValues
Returns the input port on which we want to read values.
getInputPort() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandGetOutputState
Returns the input port on which we want to read values.
getInputPort() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
getLight(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the light level from the light sensor attached to the specified port.
getMailbox() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Returns the mailbox number when the command is sent.
getMailbox() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
Returns the mailbox number when the command is sent.
getMessage() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
Returns the current message when the command is sent.
getMessageSize() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseReceiveMsg
Returns the number of bytes read.
getMessageString() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Returns actual string message obtained from brick
getMode() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
 
getMotorBlockTachoCount(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the current position realative to the last programmed movement.
getMotorRotationCount(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
The current position relative to the last reset of the rotation sensor for this motor.
getMotorTachoCount(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns number of counts since last reset of the motor counter.
getMotorTachoLimit(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Returns the current limit on a movement in progress.
getNormalizedValue() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
getOutputMode() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getOutputPort() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getPacketLength() - Method in class pt.citar.diablu.nxt.protocol.NXTCommand
 
getPowerSetPoint() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
 
getPowerSetPoint() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getRawValue() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
getRegulationMode() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getRemoveFlag() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Returns the current status of the remove flag
getRotationCount() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
getRotationCount() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getRunState() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
 
getRunState() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getScaledValue() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
Scaled value (mode dependent).
getSensorMode() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
getSensorType() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
getStatus() - Method in class pt.citar.diablu.nxt.protocol.NXTResponse
Returns the status of the response.
getStatusDescription() - Method in class pt.citar.diablu.nxt.protocol.NXTResponse
Returns a textual representation of the status code.
getTachoCount() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
getTachoCount() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getTachoLimit() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
getTachoLimit() - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
TODO: Check.
getTachoLimit() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getTurnRatio() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
getValue() - Method in class pt.citar.diablu.nxt.brick.NXTButtonSensor
 
getValue() - Method in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
getValue() - Method in class pt.citar.diablu.nxt.brick.NXTLightSensor
 
GREEN - Static variable in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
GREEN - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The green color sensor type.

H

handBrake() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 

I

ILLEGAL_MAILBOX_QUEUE_ID_SPECIFIED - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
ILLEGAL_SIZE_SPECIFIED - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
INACTIVE - Static variable in class pt.citar.diablu.nxt.brick.NXTLightSensor
 
INACTIVE - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The inactive light sensor type.
initialize() - Method in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
initialize() - Method in class pt.citar.diablu.nxt.brick.NXTLightSensor
 
initialize() - Method in class pt.citar.diablu.nxt.brick.NXTProximitySensor
 
initialize() - Method in class pt.citar.diablu.nxt.brick.NXTSoundSensor
 
INSANE_PACKET - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
INSUFFICIENT_MEMORY_AVAILABLE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
isButtonPressed() - Method in class pt.citar.diablu.nxt.brick.NXTButtonSensor
 
isCalibrated() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
isResponseRequired() - Method in class pt.citar.diablu.nxt.protocol.NXTCommand
Returns the response requirements for the command.
isValid() - Method in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 

L

LegoNXT - Class in pt.citar.diablu.processing.nxt
The LegoNXT class allows you to control the Mindstorms NXT robotic system.
LegoNXT(PApplet, String) - Constructor for class pt.citar.diablu.processing.nxt.LegoNXT
Creates a new instance of LegoNXT
LIGHT_ACTIVE_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
LIGHT_INACTIVE_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
LOWSPEED_9V_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
LOWSPEED_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 

M

Main - Class in pt.citar.diablu.nxt.protocol
 
Main() - Constructor for class pt.citar.diablu.nxt.protocol.Main
Creates a new instance of Main
main(String[]) - Static method in class pt.citar.diablu.nxt.protocol.Main
 
MODE_BRAKE - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The brake mode (bit field - can be combined with other modes).
MODE_MASK_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
MODE_MOTOR_ON - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The motor on mode (bit field - can be combined with other modes).
MODE_REGULATED - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The regulated mode (bit field - can be combined with other modes).
MOTOR_A - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The motor port A.
MOTOR_B - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The motor port B.
MOTOR_C - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The motor port C.
motorForward(int, int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Sets the power to the specified motor.
motorForwardLimit(int, int, int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Make the motor run for a specifiec amount of time.
motorHandBrake(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Stops the motor abruptely.
motorStop(int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Stops the motor smoothely.

N

NO_ACTIVE_PROGRAM - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
NO_FREE_MEMORY_IN_COMMUNICATION_BUFFER - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
NO_OF_SENSOR_TYPES_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
NO_SENSOR_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
No sensor type defined.
NONE - Static variable in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
NONE - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The none color sensor type.
NXTBrick - Class in pt.citar.diablu.nxt.brick
The NXTBrick class just holds de connection channel for the Brick.
NXTBrick(NXTCommChannel) - Constructor for class pt.citar.diablu.nxt.brick.NXTBrick
Creates a new instance of NXTBrick
NXTButtonSensor - Class in pt.citar.diablu.nxt.brick
 
NXTButtonSensor(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTButtonSensor
Coonstructs a new NXTButtonSensor object given the NXTBrick and the port number the sensor is connected to.
NXTColorSensor - Class in pt.citar.diablu.nxt.brick
The NXTColorSensor class represents the, hmm, light sensor...
NXTColorSensor(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTColorSensor
Coonstructs a new NXTColorSensor object given the NXTBrick and the port number the sensor is connected to.
NXTCommand - Class in pt.citar.diablu.nxt.protocol
Represents a Command that can be sent to the NXTBrick.
NXTCommand() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommand
Constructs a new command object with no response requirement.
NXTCommand(boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommand
Constructs a new command object with a response requirement.
NXTCommandGetBatteryLevel - Class in pt.citar.diablu.nxt.protocol
 
NXTCommandGetBatteryLevel() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandGetBatteryLevel
Constructs a new NXTCommandGetBatteryLevel object.
NXTCommandGetInputValues - Class in pt.citar.diablu.nxt.protocol
Represents the GETINPUTVALUES Command.
NXTCommandGetInputValues() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandGetInputValues
Constructs a new NXTCommandGetInputValues object which will read values from input port 0.
NXTCommandGetInputValues(byte) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandGetInputValues
Constructs a new NXTCommandGetInputValues object with a given input port.
NXTCommandGetOutputState - Class in pt.citar.diablu.nxt.protocol
 
NXTCommandGetOutputState() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandGetOutputState
Constructs a new NXTCommandGetOutputState object which will read values from input port 0.
NXTCommandGetOutputState(byte) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandGetOutputState
Constructs a new NXTCommandGetOutputState object with a given input port.
NXTCommandLSRead - Class in pt.citar.diablu.nxt.protocol
Represents the LS Write Command.
NXTCommandLSRead() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandLSRead
 
NXTCommandLSRead(byte, boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandLSRead
Constructs a new NXTCommandLSRead object with a given port and response requirement.
NXTCommandLSWrite - Class in pt.citar.diablu.nxt.protocol
Represents the LS Write Command.
NXTCommandLSWrite() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandLSWrite
 
NXTCommandLSWrite(byte, byte, byte, byte[], boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandLSWrite
Constructs a new NXTCommandLSWrite object with a given port, TX data length, RX data length, data and resqponse requirement.
NXTCommandPlayTone - Class in pt.citar.diablu.nxt.protocol
Represents the PLAYTONE Command.
NXTCommandPlayTone() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
 
NXTCommandPlayTone(int, int) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
Constructs a new NXTCommandPlayTone object with a given frequency and duration and with no response requirement.
NXTCommandPlayTone(int, int, boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
Constructs a new NXTCommandPlayTone object with a given frequency, duration and response requirement.
NXTCommandReceiveMsg - Class in pt.citar.diablu.nxt.protocol
Represents the SENDMESSAGE Command.
NXTCommandReceiveMsg() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
 
NXTCommandReceiveMsg(int) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Constructs a new NXTCommandSendMsg object with a given frequency and duration and with no response requirement.
NXTCommandReceiveMsg(int, boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Represents the MESSAGEREAD Command.
NXTCommandResetMotorPosition - Class in pt.citar.diablu.nxt.protocol
 
NXTCommandResetMotorPosition() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandResetMotorPosition
Constructs a new NXTCommandResetMotorPosition object.
NXTCommandResetMotorPosition(byte) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandResetMotorPosition
Constructs a new NXTCommandResetMotorPosition object with a given output port.
NXTCommandSendMsg - Class in pt.citar.diablu.nxt.protocol
Represents the SENDMESSAGE Command.
NXTCommandSendMsg() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
 
NXTCommandSendMsg(int, String) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
Constructs a new NXTCommandSendMsg object with a given frequency and duration and with no response requirement.
NXTCommandSendMsg(int, String, boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
Constructs a new NXTCommandSendMsg object with a give message and mailbox number to send to.
NXTCommandSetInputMode - Class in pt.citar.diablu.nxt.protocol
The NXTCommandSetInputMode allows you to set the input mode for the sensors.
NXTCommandSetInputMode() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSetInputMode
Constructs a new NXTCommandSetInputMode object with input port = 0, no sensor type, raw sensor mode and with no response requirement.
NXTCommandSetInputMode(byte, byte, byte) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSetInputMode
Constructs a new NXTCommandSetInputMode object with the input port, sensor type, sensor mode and with no response requirement.
NXTCommandSetInputMode(byte, byte, byte, boolean) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSetInputMode
Constructs a new NXTCommandSetInputMode object with the input port, sensor type, sensor mode and response requirement specified.
NXTCommandSetOutputState - Class in pt.citar.diablu.nxt.protocol
This command allows you to set the output state, i.e., to control the NXT motors.
NXTCommandSetOutputState() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Creates a new instance of NXTCommandSetOutputState
NXTCommandSetOutputState(byte, byte, byte, byte, byte, byte, long) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Constructs a new NXTCommandSetOutputState object with output port, power set point, mode byte, regulation mode, turn ration, run state and tacho limit and with no response requirement.
NXTCommBluetoothSerialChannelJSSC - Class in pt.citar.diablu.nxt.protocol
 
NXTCommBluetoothSerialChannelJSSC() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
Creates a new instance of NXTCommBluetoothChannel
NXTCommBluetoothSerialChannelJSSC(String) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
NXTCommBluetoothSerialChannelRXTX - Class in pt.citar.diablu.nxt.protocol
 
NXTCommBluetoothSerialChannelRXTX() - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
Creates a new instance of NXTCommBluetoothChannel
NXTCommBluetoothSerialChannelRXTX(String) - Constructor for class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
NXTCommChannel - Interface in pt.citar.diablu.nxt.protocol
 
NXTComponent - Class in pt.citar.diablu.nxt.brick
This class represents a sensor or a motor of the NXT.
NXTComponent() - Constructor for class pt.citar.diablu.nxt.brick.NXTComponent
 
NXTComponent(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTComponent
Constructs a new component of the brick given a port to which the component is attached.
NXTLightSensor - Class in pt.citar.diablu.nxt.brick
The NXTLightSensor class represents the, hmm, light sensor...
NXTLightSensor(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTLightSensor
Coonstructs a new NXTLightSensor object given the NXTBrick and the port number the sensor is connected to.
NXTMotor - Class in pt.citar.diablu.nxt.brick
 
NXTMotor(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTMotor
Creates a new instance of NXTMotor
NXTMsgBox - Class in pt.citar.diablu.nxt.brick
 
NXTMsgBox(NXTBrick) - Constructor for class pt.citar.diablu.nxt.brick.NXTMsgBox
Creates a new instance of NXTMsgBox associated with a NXTBrick
NXTProximitySensor - Class in pt.citar.diablu.nxt.brick
The NXTProximitySensor class represents the ultrasonic sensor...
NXTProximitySensor(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTProximitySensor
Coonstructs a new NXTProximitySensor object given the NXTBrick and the port number the sensor is connected to.
NXTResponse - Class in pt.citar.diablu.nxt.protocol
Represents a Response to a Command that can be received from the NXTBrick.
NXTResponse() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponse
Constructs a new response object.
NXTResponseGetBatteryLevel - Class in pt.citar.diablu.nxt.protocol
 
NXTResponseGetBatteryLevel() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponseGetBatteryLevel
 
NXTResponseGetOutputState - Class in pt.citar.diablu.nxt.protocol
 
NXTResponseGetOutputState() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponseGetOutputState
 
NXTResponseInputValues - Class in pt.citar.diablu.nxt.protocol
Encapsulates the response to the GETINPUTVALUES command to the NXTBrick.
NXTResponseInputValues() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
NXTResponseLSRead - Class in pt.citar.diablu.nxt.protocol
Encapsulates the response to the GETINPUTVALUES command to the NXTBrick.
NXTResponseLSRead() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponseLSRead
 
NXTResponseReceiveMsg - Class in pt.citar.diablu.nxt.protocol
Encapsulates the response to the MESSAGEREAD command to the NXTBrick.
NXTResponseReceiveMsg() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponseReceiveMsg
 
NXTResponseStatus - Class in pt.citar.diablu.nxt.protocol
The NXTResponseStatus only allows you to read the status code from the response.
NXTResponseStatus() - Constructor for class pt.citar.diablu.nxt.protocol.NXTResponseStatus
 
NXTSoundSensor - Class in pt.citar.diablu.nxt.brick
 
NXTSoundSensor(NXTBrick, byte) - Constructor for class pt.citar.diablu.nxt.brick.NXTSoundSensor
 
NXTSpeaker - Class in pt.citar.diablu.nxt.brick
 
NXTSpeaker(NXTBrick) - Constructor for class pt.citar.diablu.nxt.brick.NXTSpeaker
Creates a new instance of NXTSpeaker associated with a NXTBrick

O

openChannel(Object) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
openChannel(Object) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
openChannel(Object) - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 

P

PCT_FULL_SCALE_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
PENDING_COMMUNICATION_TRANSACTION_IN_PROGRESS - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
PENDING_COMMUNICATION_TRANSACTION_IN_PROGRESS status code.
PERIOD_COUNTER_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
playSoundFile(String, boolean) - Method in class pt.citar.diablu.nxt.brick.NXTSpeaker
Plays a sound file.
playTone(int, int) - Method in class pt.citar.diablu.nxt.brick.NXTSpeaker
Plays a tone on the brick.
playTone(int, int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Plays a tone on the NXT.
PORT_1 - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The sensor port 1.
PORT_2 - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The sensor port 2.
PORT_3 - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The sensor port 3.
PORT_4 - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The sensor port 4.
pt.citar.diablu.nxt.brick - package pt.citar.diablu.nxt.brick
Provides high level classes for the NXT Brick, Sensors and Motors.
pt.citar.diablu.nxt.protocol - package pt.citar.diablu.nxt.protocol
Implementation of the low-level bluetooth protocol for the NXT Brick.
pt.citar.diablu.processing.nxt - package pt.citar.diablu.processing.nxt
Provides a Processing library for interfacing with the Lego Mindstorms NXT.

R

RAW_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
read() - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
read(byte[]) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
read() - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
read(byte[]) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
read() - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 
read(byte[]) - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 
receiveMsg(int, boolean) - Method in class pt.citar.diablu.nxt.brick.NXTMsgBox
Receives a message from the brick.
receiveMsg(int, boolean) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Reads a BT message to the NXT.
receiveResponse(NXTCommChannel) - Method in class pt.citar.diablu.nxt.protocol.NXTResponse
Receives a response from the NXTBrick.
RED - Static variable in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
RED - Static variable in class pt.citar.diablu.processing.nxt.LegoNXT
The red color sensor type.
REFLECTION_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
REGULATION_MODE_IDLE - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The idle regulation mode mode.
REGULATION_MODE_MOTOR_SPEED - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The motor speed regulation mode mode.
REGULATION_MODE_MOTOR_SYNC - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The motor sync regulation mode mode.
REQUEST_FAILED - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
resetMotorPosition(boolean) - Method in class pt.citar.diablu.nxt.brick.NXTMotor
 
resetMotorPosition(int, boolean) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Resets the motor position.
RUN_STATE_IDLE - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The idle run state.
RUN_STATE_RAMP_DOWN - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The ramp down run state.
RUN_STATE_RAMP_UP - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The ramp up run state.
RUN_STATE_RUNNING - Static variable in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
The running run state.

S

sendCommand(NXTCommChannel) - Method in class pt.citar.diablu.nxt.protocol.NXTCommand
Sends the command to the brick and returns the response (if required).
sendCommand(NXTCommand) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
sendCommand(NXTCommand) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
sendCommand(NXTCommand) - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 
sendMsg(int, String) - Method in class pt.citar.diablu.nxt.brick.NXTMsgBox
Sends a message to the brick.
sendMsg(int, String) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Sends a BT message to the NXT.
setColorSensorType(int, int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Sets the type of color sensor to be used on the specifiec port.
setData(byte[]) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandLSWrite
Sets the data.
setDuration(int) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
Sets the duration of the tone to play.
setFrequency(int) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandPlayTone
Sets the frequency of the tone to play.
setInputPort(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandGetInputValues
Sets the input port on which we want to read values.
setInputPort(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandGetOutputState
Sets the input port on which we want to read values.
setLightSensorType(int, int) - Method in class pt.citar.diablu.processing.nxt.LegoNXT
Sets the type of light sensor to be used on the specifiec port.
setMailbox(int) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Sets the mailbox number to send the message to.
setMailbox(int) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
Sets the mailbox number to send the message to.
setMessage(String) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSendMsg
Sets the message.
setMode(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Sets the mode.
setPowerSetPoint(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Sets the power set point.
setRegulationMode(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Sets the regulation mode of the motor.
setRelative(boolean) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandResetMotorPosition
 
setRemoveFlag(boolean) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandReceiveMsg
Sets the value of the remove flag
setResponseRequired(boolean) - Method in class pt.citar.diablu.nxt.protocol.NXTCommand
Sets the requirement for a response to the command.
setRunState(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Sets the run state of the motor.
setRXLength(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandLSWrite
Sets the RX Data Length.
setTachoLimit(long) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandSetOutputState
Sets the tacho limit.
setTXLength(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommandLSWrite
Sets the TX Data Length.
setType(int) - Method in class pt.citar.diablu.nxt.brick.NXTColorSensor
 
setType(int) - Method in class pt.citar.diablu.nxt.brick.NXTLightSensor
 
SLOPE_MASK_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
slowStop() - Method in class pt.citar.diablu.nxt.brick.NXTMotor
Stops the motor slowly.
SOUND_DB_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
SOUND_DBA_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 
SPECIFIED_CHANNEL_CONNECTION_IS_NOT_VALID - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
SPECIFIED_CHANNEL_CONNECTION_NOT_CONFIGURED_OR_BUSY - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
SPECIFIED_MAILBOX_QUEUE_IS_EMPTY - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 
SUCCESS - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
Success status code.
SWITCH_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
Switch sensor type.

T

TEMPERATURE_TYPE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
Temperature sensor type.
toString() - Method in class pt.citar.diablu.nxt.protocol.NXTCommand
Formats the command packet in hex form.
toString() - Method in class pt.citar.diablu.nxt.protocol.NXTResponse
Formats the command packet in hex form.
TRANSITION_CNT_MODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponseInputValues
 

U

UNKNOWN_COMMAND_OPCODE - Static variable in class pt.citar.diablu.nxt.protocol.NXTResponse
 

W

write(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
write(byte[]) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelJSSC
 
write(byte) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
write(byte[]) - Method in class pt.citar.diablu.nxt.protocol.NXTCommBluetoothSerialChannelRXTX
 
write(byte[]) - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 
write(byte) - Method in interface pt.citar.diablu.nxt.protocol.NXTCommChannel
 

A B C D F G H I L M N O P R S T U W

Processing library NXTComm by Jorge C. S. Cardoso. (c) 2014