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

A

A - Static variable in class josx.platform.rcx.Motor
Motor A.
abs(double) - Static method in class java.lang.Math
Returns the absolute value of a double value.
abs(int) - Static method in class java.lang.Math
Returns the absolute value of an integer value.
acos(double) - Static method in class java.lang.Math
Arc cosine function.
action() - Method in interface josx.robotics.Behavior
The code in action() represents the actual action of the robot when this behavior becomes active.
activate() - Method in class josx.platform.rcx.Sensor
Activates the sensor.
addButtonListener(ButtonListener) - Method in class josx.platform.rcx.Button
Adds a listener of button events.
addElement(Object) - Method in class java.util.Vector
 
addSensorListener(SensorListener) - Method in class josx.platform.rcx.Sensor
Adds a sensor listener.
addSerialListener(SerialListener) - Static method in class josx.platform.rcx.Serial
Adds a listener of receive events.
ALL - Static variable in interface josx.platform.rcx.Segment
 
ALL_BUTTONS - Static variable in class josx.platform.rcx.Poll
 
ALL_SENSORS - Static variable in class josx.platform.rcx.Poll
 
append(boolean) - Method in class java.lang.StringBuffer
 
append(char) - Method in class java.lang.StringBuffer
 
append(double) - Method in class java.lang.StringBuffer
 
append(float) - Method in class java.lang.StringBuffer
 
append(int) - Method in class java.lang.StringBuffer
 
append(long) - Method in class java.lang.StringBuffer
 
append(Object) - Method in class java.lang.StringBuffer
 
append(String) - Method in class java.lang.StringBuffer
 
Arbitrator - class josx.robotics.Arbitrator.
Arbitrator controls which behavior should currently be active in a behavior control system.
Arbitrator(Behavior[]) - Constructor for class josx.robotics.Arbitrator
Allocates an Arbitrator object and initializes it with an array of Behavior objects.
ArithmeticException - exception java.lang.ArithmeticException.
 
ArithmeticException() - Constructor for class java.lang.ArithmeticException
 
ArrayIndexOutOfBoundsException - exception java.lang.ArrayIndexOutOfBoundsException.
 
ArrayIndexOutOfBoundsException() - Constructor for class java.lang.ArrayIndexOutOfBoundsException
 
asin(double) - Static method in class java.lang.Math
Arc sine function.
atan(double) - Static method in class java.lang.Math
Arc tangent function
atan2(double, double) - Static method in class java.lang.Math
Converts rectangular coordinates (b, a) to polar (r, theta).
available() - Method in class java.io.InputStream
Returns the number of bytes that can be read (or skipped over) from this input stream without blocking by the next caller of a method for this input stream.
available() - Method in class josx.rcxcomm.RCXInputStream
Checks if there is any data avaliable on the InputStream

B

B - Static variable in class josx.platform.rcx.Motor
Motor B.
backward() - Method in class josx.platform.rcx.Motor
Causes motor to rotate backwards.
backward() - Method in class josx.robotics.TimingNavigator
Moves the RCX robot backward until stop() is called.
backward() - Method in interface josx.robotics.Navigator
Moves the RCX robot backward until stop() is called.
backward() - Method in class josx.robotics.RotationNavigator
Moves the RCX robot backward until stop() is called.
Battery - class josx.platform.rcx.Battery.
Provides access to Battery.
BATTERY - Static variable in interface josx.platform.rcx.Segment
 
Battery() - Constructor for class josx.platform.rcx.Battery
 
beep() - Static method in class josx.platform.rcx.Sound
Beeps once.
beepSequence() - Static method in class josx.platform.rcx.Sound
Downward tones.
Behavior - interface josx.robotics.Behavior.
The Behavior interface represents an object embodying a specific behavior belonging to a robot.
BitSet - class java.util.BitSet.
Represents a long set of bits.
BitSet(int) - Constructor for class java.util.BitSet
 
BOOLEAN_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
Button - class josx.platform.rcx.Button.
Abstraction for an RCX button.
BUTTON_MASK_SHIFT - Static variable in class josx.platform.rcx.Poll
 
ButtonListener - interface josx.platform.rcx.ButtonListener.
Abstraction for receiver of button events.
buttonPressed(Button) - Method in interface josx.platform.rcx.ButtonListener
 
buttonReleased(Button) - Method in interface josx.platform.rcx.ButtonListener
 
BUTTONS - Static variable in class josx.platform.rcx.Button
Array containing VIEW, PRGM and RUN, in that order.
buzz() - Static method in class josx.platform.rcx.Sound
Low buzz.

C

C - Static variable in class josx.platform.rcx.Motor
Motor C.
call(short) - Static method in class josx.platform.rcx.ROM
 
call(short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short, short) - Static method in class josx.platform.rcx.ROM
 
call(short, short, short, short, short) - Static method in class josx.platform.rcx.ROM
 
CANONICAL_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
capacity() - Method in class java.util.Vector
 
capacityIncrement - Variable in class java.util.Vector
 
ceil(double) - Static method in class java.lang.Math
Returns the smallest (closest to negative infinity) double value that is not less than the argument and is equal to a mathematical integer.
charAt(int) - Method in class java.lang.StringBuffer
 
Class - class java.lang.Class.
Not functional.
Class() - Constructor for class java.lang.Class
 
ClassCastException - exception java.lang.ClassCastException.
 
ClassCastException() - Constructor for class java.lang.ClassCastException
 
ClassNotFoundException - exception java.lang.ClassNotFoundException.
 
ClassNotFoundException() - Constructor for class java.lang.ClassNotFoundException
 
clear() - Method in class java.util.Vector
 
clear() - Static method in class josx.platform.rcx.LCD
Clears the display.
clear(int) - Method in class java.util.BitSet
 
clearSegment(int) - Static method in class josx.platform.rcx.LCD
Clears an LCD segment.
Cloneable - interface java.lang.Cloneable.
This interface is not functional.
close() - Method in class java.io.InputStream
Closes this input stream and releases any system resources associated with the stream.
close() - Method in class java.io.OutputStream
Closes this output stream and releases any system resources associated with this stream.
close() - Method in class josx.rcxcomm.DataPort
Closes this DataPort.
close() - Method in class josx.rcxcomm.RCXBean
Close this RCX bean.
close() - Method in class josx.rcxcomm.Tower
Close the tower
close() - Method in class josx.rcxcomm.RCXInputStream
Close the stream and stop listening
close() - Method in class josx.rcxcomm.RCXOutputStream
Close the stream.
close() - Method in class josx.rcxcomm.RCXPort
Closes this RCXPort.
controlMotor(char, int, int) - Static method in class josx.platform.rcx.Motor
Deprecated. I've decided to remove this method. If you really need it, check its implementation in classes/josx/platform/rcx/Motor.java.
cos(double) - Static method in class java.lang.Math
Cosine function.
currentThread() - Static method in class java.lang.Thread
 
currentTimeMillis() - Static method in class java.lang.System
Current time expressed in milliseconds.

D

dataAvailable() - Method in class josx.rcxcomm.DataPort
 
dataAvailable() - Method in class josx.rcxcomm.RCXPort
Check if data is available using RCX Serial Class.
DataInputStream - class java.io.DataInputStream.
 
DataInputStream(InputStream) - Constructor for class java.io.DataInputStream
 
DATALOG - Static variable in interface josx.platform.rcx.Segment
 
DataOutputStream - class java.io.DataOutputStream.
 
DataOutputStream(OutputStream) - Constructor for class java.io.DataOutputStream
 
DataPort - class josx.rcxcomm.DataPort.
An abstract class which provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU
DataPort() - Constructor for class josx.rcxcomm.DataPort
 
DEFAULT_BUFFER_SIZE - Static variable in class josx.rcxcomm.RCXInputStream
The default buffer size for the InputStream is 32 bytes
DEFAULT_TIMEOUT - Static variable in class josx.rcxcomm.DataPort
The default time-out for the DataPort.
DEFAULT_TIMEOUT - Static variable in class josx.rcxcomm.RCXInputStream
 
DEFAULT_TIMEOUT - Static variable in class josx.rcxcomm.RCXPort
The default time-out for the RCXPort.
delete(int, int) - Method in class java.lang.StringBuffer
 
DOWNLOAD - Static variable in interface josx.platform.rcx.Segment
 

E

E - Static variable in class java.lang.Math
 
elementAt(int) - Method in class java.util.Vector
 
elementCount - Variable in class java.util.Vector
 
elementData - Variable in class java.util.Vector
 
ensureCapacity(int) - Method in class java.util.Vector
 
equals(Object) - Method in class java.lang.Object
 
equals(Object) - Method in class java.lang.String
 
equals(Object) - Method in class java.util.Vector
 
Error - error java.lang.Error.
 
Error() - Constructor for class java.lang.Error
 
Exception - exception java.lang.Exception.
 
Exception() - Constructor for class java.lang.Exception
 
exit(int) - Static method in class java.lang.System
Terminate the application.
exp(double) - Static method in class java.lang.Math
Exponential function.

F

finalize() - Method in class josx.rcxcomm.RCXBean
 
floor(double) - Static method in class java.lang.Math
Returns the largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer.
flt() - Method in class josx.platform.rcx.Motor
Causes motor to float.
flush() - Method in class java.io.OutputStream
Flushes this output stream and forces any buffered output bytes to be written out.
flush() - Method in class java.io.DataOutputStream
Flushes this data output stream.
flush() - Method in class josx.rcxcomm.RCXOutputStream
Flush the OutputStream
forName(String) - Static method in class java.lang.Class
 
forward() - Method in class josx.platform.rcx.Motor
Causes motor to rotate forward.
forward() - Method in class josx.robotics.TimingNavigator
Moves the RCX robot forward until stop() is called.
forward() - Method in interface josx.robotics.Navigator
Moves the RCX robot forward until stop() is called.
forward() - Method in class josx.robotics.RotationNavigator
Moves the RCX robot forward until stop() is called.
free(Object) - Method in class josx.rcxcomm.RCXBean
Make the RCX bean available for other threads.
freeMemory() - Method in class java.lang.Runtime
Return the amount of free memory.on the heap

G

get(int) - Method in class java.util.BitSet
 
get(int, int) - Static method in class josx.platform.rcx.PersistentMemoryArea
 
get(Object) - Method in class java.util.Hashtable
 
getAngle() - Method in class josx.robotics.TimingNavigator
Returns the current angle the RCX robot is facing.
getAngle() - Method in interface josx.robotics.Navigator
Returns the current angle the RCX robot is facing.
getAngle() - Method in class josx.robotics.RotationNavigator
Returns the current angle the RCX robot is facing.
getChars() - Method in class java.lang.StringBuffer
Retrieves the contents of the StringBuffer in the form of an array of characters.
getClass() - Method in class java.lang.Object
Returns null.
getComPort() - Method in class josx.rcxcomm.RCXBean
Getter for the property "ComPort".
getDataAddress(Object) - Static method in class josx.platform.rcx.Memory
 
getError() - Method in class josx.rcxcomm.Tower
Get the last OS error
getId() - Method in class josx.platform.rcx.Motor
Get the ID of the motor.
getId() - Method in class josx.platform.rcx.Button
Return the ID of the button.
getId() - Method in class josx.platform.rcx.Sensor
Return the ID of the sensor.
getInputStream() - Method in class josx.rcxcomm.DataPort
Returns an input stream for this DataPort.
getInputStream() - Method in class josx.rcxcomm.RCXPort
Returns an input stream for this RCXPort.
getInputStream() - Method in class java.net.URLConnection
Returns an input stream for this URLConnection.
getInputStream() - Method in class java.net.Socket
Returns an input stream for this Socket.
getMessage() - Method in class java.lang.Throwable
 
getOutputStream() - Method in class josx.rcxcomm.DataPort
Returns an output stream for this DataPort.
getOutputStream() - Method in class josx.rcxcomm.RCXPort
Returns an output stream for this RCXPort.
getOutputStream() - Method in class java.net.URLConnection
Returns an output stream for this URLConnection.
getOutputStream() - Method in class java.net.Socket
Returns an output stream for this Socket.
getPower() - Method in class josx.platform.rcx.Motor
Returns the current motor power.
getPriority() - Method in class java.lang.Thread
 
getRuntime() - Static method in class java.lang.System
Get the singleton instance of Runtime.
getRuntime() - Static method in class java.lang.Runtime
Get the single instance of us.
getTimeOut() - Method in class josx.rcxcomm.DataPort
Getter for property timeOut.
getTimeOut() - Method in class josx.rcxcomm.RCXPort
Getter for property timeOut.
getUsbFlag() - Method in class josx.rcxcomm.Tower
Getter for USB Flag
getVoltage() - Static method in class josx.platform.rcx.Battery
 
getVoltageInternal() - Static method in class josx.platform.rcx.Battery
 
getVoltageMilliVolt() - Static method in class josx.platform.rcx.Battery
 
getX() - Method in class josx.robotics.TimingNavigator
Returns the current x coordinate of the RCX.
getX() - Method in interface josx.robotics.Navigator
Returns the current x coordinate of the RCX.
getX() - Method in class josx.robotics.RotationNavigator
Returns the current x coordinate of the RCX.
getY() - Method in class josx.robotics.TimingNavigator
Returns the current y coordinate of the RCX.
getY() - Method in interface josx.robotics.Navigator
Returns the current y coordinate of the RCX.
getY() - Method in class josx.robotics.RotationNavigator
Returns the current y coordinate of the RCX.
gotoAngle(float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot to point in a certain direction.
gotoAngle(float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot to point in a certain direction.
gotoAngle(float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot to point in a certain direction.
gotoPoint(float, float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot towards the target point and moves the required distance.
gotoPoint(float, float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot towards the target point and moves the required distance.
gotoPoint(float, float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot towards the target point and moves the required distance.

H

hashCode() - Method in class java.lang.Object
 
Hashtable - class java.util.Hashtable.
Maps keys to objects.
Hashtable() - Constructor for class java.util.Hashtable
 
hexdump(String, byte[], int) - Method in class josx.rcxcomm.Tower
dump hex to standard out

I

IllegalArgumentException - exception java.lang.IllegalArgumentException.
 
IllegalArgumentException() - Constructor for class java.lang.IllegalArgumentException
 
IllegalMonitorStateException - exception java.lang.IllegalMonitorStateException.
 
IllegalMonitorStateException() - Constructor for class java.lang.IllegalMonitorStateException
 
IllegalStateException - exception java.lang.IllegalStateException.
 
IllegalStateException() - Constructor for class java.lang.IllegalStateException
 
in - Variable in class java.io.DataInputStream
 
indexOf(Object) - Method in class java.util.Vector
 
indexOf(Object, int) - Method in class java.util.Vector
 
InputStream - class java.io.InputStream.
This abstract class is the superclass of all classes representing an input stream of bytes.
InputStream() - Constructor for class java.io.InputStream
 
insertElementAt(Object, int) - Method in class java.util.Vector
 
interrupt() - Method in class java.lang.Thread
Set the interrupted flag.
interrupted() - Static method in class java.lang.Thread
 
InterruptedException - exception java.lang.InterruptedException.
 
InterruptedException() - Constructor for class java.lang.InterruptedException
 
ioe - Variable in class josx.rcxcomm.RCXPort
 
IOException - exception java.io.IOException.
Signals that an I/O exception of some sort has occurred.
IOException() - Constructor for class java.io.IOException
Constructs an IOException with null as its error detail message.
IOException(String) - Constructor for class java.io.IOException
Constructs an IOException with the specified detail message.
isAlive() - Method in class java.lang.Thread
 
isAlive() - Method in class josx.rcxcomm.Tower
Check if RCX is alive
isBackward() - Method in class josx.platform.rcx.Motor
Return true if motor is backward.
isDaemon() - Method in class java.lang.Thread
Set the daemon flag.
isEmpty() - Method in class java.util.Vector
 
isFloating() - Method in class josx.platform.rcx.Motor
 
isForward() - Method in class josx.platform.rcx.Motor
Return true if motor is forward.
isInterrupted() - Method in class java.lang.Thread
 
isMoving() - Method in class josx.platform.rcx.Motor
 
isPacketAvailable() - Static method in class josx.platform.rcx.Serial
Checks to see if a packet is available.
isPressed() - Method in class josx.platform.rcx.Button
 
isSending() - Static method in class josx.platform.rcx.Serial
Return true if a message is being sent.
isStopped() - Method in class josx.platform.rcx.Motor
Return true if motor is stopped.

J

java.io - package java.io
Input/Output support (see josx.rcxcomm).
java.lang - package java.lang
Core Java classes
java.net - package java.net
Networking/sockets support (Available via the josx.rcxcomm package and SocketProxy on the PC)java.util - package java.util
Utilities
join() - Method in class java.lang.Thread
Join not yet implemented
join(long) - Method in class java.lang.Thread
 
josx.platform.rcx - package josx.platform.rcx
Access to RCX sensors, motors, etc.
josx.rcxcomm - package josx.rcxcomm
 
josx.robotics - package josx.robotics
 

L

LCD - class josx.platform.rcx.LCD.
LCD routines.
LCD_DECIMAL_0 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_1 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_2 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_DECIMAL_3 - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_PROGRAM - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_SIGNED - Static variable in interface josx.platform.rcx.LCDConstants
 
LCD_UNSIGNED - Static variable in interface josx.platform.rcx.LCDConstants
 
LCDConstants - interface josx.platform.rcx.LCDConstants.
LCD constants.
length() - Method in class java.lang.StringBuffer
 
lock(Object) - Method in class josx.rcxcomm.RCXBean
Create a lock of this the RCX bean.
log(double) - Static method in class java.lang.Math
Natural log function.

M

main(String[]) - Static method in class josx.rcxcomm.SocketProxy
 
MalformedURLException - exception java.net.MalformedURLException.
Thrown to indicate that a malformed URL has occurred.
MalformedURLException() - Constructor for class java.net.MalformedURLException
Constructs a MalformedURLException with no detail message.
MalformedURLException(String) - Constructor for class java.net.MalformedURLException
Constructs a MalformedURLException with the specified detail message.
mark(int) - Method in class java.io.InputStream
Marks the current position in this input stream.
markSupported() - Method in class java.io.InputStream
Tests if this input stream supports the mark and reset methods.
Math - class java.lang.Math.
Mathematical functions.
MAX_PRIORITY - Static variable in class java.lang.Thread
The maximum priority that a thread can have.
max(double, double) - Static method in class java.lang.Math
Returns the greater of two double values.
max(int, int) - Static method in class java.lang.Math
Returns the greater of two integer values.
Memory - class josx.platform.rcx.Memory.
Provides access to memory.
Memory() - Constructor for class josx.platform.rcx.Memory
 
MIN_PRIORITY - Static variable in class java.lang.Thread
The minimum priority that a thread can have.
min(double, double) - Static method in class java.lang.Math
Returns the lesser of two double values.
min(int, int) - Static method in class java.lang.Math
Returns the lesser of two integer values.
MinLCD - class josx.platform.rcx.MinLCD.
Only the most basic APIs from LCD.
MinSound - class josx.platform.rcx.MinSound.
Only the most basic APIs from Sound.
MinuteTimer - class josx.platform.rcx.MinuteTimer.
Provides access to Battery.
MinuteTimer() - Constructor for class josx.platform.rcx.MinuteTimer
 
monitor - Variable in class josx.rcxcomm.DataPort
 
monitor - Variable in class josx.rcxcomm.RCXPort
 
MONITOR - Static variable in class josx.platform.rcx.Memory
Should be used for all native memory accesses.
Motor - class josx.platform.rcx.Motor.
Abstraction for a motor.
MOTOR_A_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_A_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_A_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_B_VIEW - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_FWD - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_REV - Static variable in interface josx.platform.rcx.Segment
 
MOTOR_C_VIEW - Static variable in interface josx.platform.rcx.Segment
 

N

Navigator - interface josx.robotics.Navigator.
The Navigator interface contains methods for performing basic navigational movements.
nextInt() - Method in class java.util.Random
 
NoClassDefFoundError - error java.lang.NoClassDefFoundError.
 
NoClassDefFoundError(String) - Constructor for class java.lang.NoClassDefFoundError
 
NORM_PRIORITY - Static variable in class java.lang.Thread
The priority that is assigned to the primordial thread.
NoSuchMethodError - error java.lang.NoSuchMethodError.
 
NoSuchMethodError() - Constructor for class java.lang.NoSuchMethodError
 
notify() - Method in class java.lang.Object
Wake up one thread blocked on a wait().
notifyAll() - Method in class java.lang.Object
Wake up all threads blocked on a wait().
NullPointerException - exception java.lang.NullPointerException.
 
NullPointerException() - Constructor for class java.lang.NullPointerException
 

O

Object - class java.lang.Object.
All classes extend this one, implicitly.
Object() - Constructor for class java.lang.Object
 
Opcode - interface josx.platform.rcx.Opcode.
Opcode constants.
OPCODE_ABSOLUTE_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ABSOLUTE_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ADD_TO_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ADD_TO_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ALIVE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_ALIVE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_AND_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_AND_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_BRANCH_ALWAYS_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_BRANCH_ALWAYS_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CALL_SUBROUTINE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_SENSOR_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_SENSOR_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_TIMER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_CLEAR_TIMER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DATALOG_NEXT - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DATALOG_NEXT_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DECREMENT_LOOP_COUNTER_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DECREMENT_LOOP_COUNTER_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_SUBROUTINES - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_SUBROUTINES_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_TASKS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_ALL_TASKS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_FIRMWARE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_FIRMWARE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_SUBROUTINE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_SUBROUTINE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DELETE_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DIVIDE_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_DIVIDE_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_BATTERY_POWER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_BATTERY_POWER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_MEMORY_MAP - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_MEMORY_MAP_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VALUE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VALUE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VERSIONS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_GET_VERSIONS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MULTIPLY_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_MULTIPLY_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_OR_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_OR_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_SOUND_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_TONE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_PLAY_TONE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_POWER_OFF - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_POWER_OFF_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_REMOTE_COMMAND - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SEND_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DATALOG_SIZE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DATALOG_SIZE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DISPLAY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_DISPLAY_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_LOOP_COUNTER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MESSAGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_DIRECTION - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_DIRECTION_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_ON_OFF - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_ON_OFF_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_POWER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_MOTOR_POWER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_POWER_DOWN_DELAY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_POWER_DOWN_DELAY_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_PROGRAM_NUMBER - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_PROGRAM_NUMBER_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_MODE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_MODE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_TYPE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_SENSOR_TYPE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TIME - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TIME_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TRANSMITTER_RANGE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_TRANSMITTER_RANGE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SET_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SIGN_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SIGN_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_FIRMWARE_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_FIRMWARE_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_SUBROUTINE_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_SUBROUTINE_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_DOWNLOAD - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_DOWNLOAD_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_START_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_ALL_TASKS - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_ALL_TASKS_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_TASK - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_STOP_TASK_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SUBTRACT_FROM_VARIABLE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_SUBTRACT_FROM_VARIABLE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TEST_AND_BRANCH_FAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TEST_AND_BRANCH_NEAR - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TRANSFER_DATA - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_TRANSFER_DATA_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UNLOCK_FIRMWARE - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UNLOCK_FIRMWARE_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UPLOAD_DATALOG - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_UPLOAD_DATALOG_REPLY - Static variable in interface josx.platform.rcx.Opcode
 
OPCODE_WAIT - Static variable in interface josx.platform.rcx.Opcode
 
open() - Method in class josx.rcxcomm.Tower
Open the tower
open(String) - Method in class josx.rcxcomm.Tower
Open the tower
openConnection() - Method in class java.net.URL
Create and open a URL connection using http get.
out - Variable in class java.io.DataOutputStream
 
OutOfMemoryError - error java.lang.OutOfMemoryError.
 
OutOfMemoryError() - Constructor for class java.lang.OutOfMemoryError
 
OutputStream - class java.io.OutputStream.
This abstract class is the superclass of all classes representing an output stream of bytes.
OutputStream() - Constructor for class java.io.OutputStream
 

P

packetAvailable(byte[], int) - Method in interface josx.platform.rcx.SerialListener
Called when a packet is received through the IR.
passivate() - Method in class josx.platform.rcx.Sensor
Passivates the sensor.
PersistentMemoryArea - class josx.platform.rcx.PersistentMemoryArea.
A memory area for persistent storage.
PI - Static variable in class java.lang.Math
 
playTone(int, int) - Static method in class josx.platform.rcx.Sound
Plays a tone, given its frequency and duration.
playTone(int, int) - Static method in class josx.platform.rcx.MinSound
Deprecated.  
Poll - class josx.platform.rcx.Poll.
Provides blocking access to events from the RCX.
Poll() - Constructor for class josx.platform.rcx.Poll
Constructor.
poll(int, int) - Method in class josx.platform.rcx.Poll
Wait for the sensor/button values to change then return.
pow(double, double) - Static method in class java.lang.Math
Power function.
PRGM - Static variable in class josx.platform.rcx.Button
The Prgm button.
PRGM_MASK - Static variable in class josx.platform.rcx.Poll
 
print(char[]) - Static method in class josx.platform.rcx.TextLCD
Print up to the first 5 characters of a char array to the LCD.
print(String) - Static method in class josx.platform.rcx.TextLCD
Prints a string on the LCD.
printChar(char, int) - Static method in class josx.platform.rcx.TextLCD
Prints a character to a given position.
ProximitySensor - class josx.platform.rcx.ProximitySensor.
A 'sensor' to detect object proximity.
ProximitySensor(Sensor) - Constructor for class josx.platform.rcx.ProximitySensor
Constructor.
ProximitySensor(Sensor, int) - Constructor for class josx.platform.rcx.ProximitySensor
Constructor.
put(Object, Object) - Method in class java.util.Hashtable
 

R

Random - class java.util.Random.
Pseudo-random number generation.
random() - Static method in class java.lang.Math
Random number generator.
Random(long) - Constructor for class java.util.Random
 
RANGE_LONG - Static variable in interface josx.platform.rcx.Segment
 
RANGE_SHORT - Static variable in interface josx.platform.rcx.Segment
 
RAW_VALUE - Static variable in interface josx.platform.rcx.SensorConstants
 
RCXBean - class josx.rcxcomm.RCXBean.
Handles communication with a LEGO RCX Based on original code by the LEGO3 Team at DTU-IAU
RCXBean() - Constructor for class josx.rcxcomm.RCXBean
Creates new RCXBean
rcxin - Variable in class josx.rcxcomm.DataPort
 
rcxin - Variable in class josx.rcxcomm.RCXPort
 
RCXInputStream - class josx.rcxcomm.RCXInputStream.
RCXInputStream provides an interface similar to FileInputStream.
RCXInputStream() - Constructor for class josx.rcxcomm.RCXInputStream
Creates new RCXInputStream
rcxout - Variable in class josx.rcxcomm.DataPort
 
rcxout - Variable in class josx.rcxcomm.RCXPort
 
RCXOutputStream - class josx.rcxcomm.RCXOutputStream.
Cut down version of RCXPort, which only supports writes.
RCXOutputStream() - Constructor for class josx.rcxcomm.RCXOutputStream
Creates new RCXOutputStream
RCXPort - class josx.rcxcomm.RCXPort.
RCXPort provides an interface similar to java.net.Socket Adapted from original code created by the LEGO3 Team at DTU-IAU
RCXPort() - Constructor for class josx.rcxcomm.RCXPort
Parameterless constructor for the RCXPort.
read() - Method in class java.io.InputStream
Reads the next byte of data from the input stream.
read() - Method in class java.io.DataInputStream
Reads the next byte of data from this input stream.
read() - Method in class josx.rcxcomm.RCXInputStream
Read a single byte from the InputStream.
read(byte[]) - Method in class java.io.InputStream
Reads some number of bytes from the input stream and stores them into the buffer array b.
read(byte[]) - Method in class java.io.DataInputStream
 
read(byte[]) - Method in class josx.rcxcomm.Tower
Low-level read
read(byte[], int, int) - Method in class java.io.InputStream
Reads up to len bytes of data from the input stream into an array of bytes.
read(byte[], int, int) - Method in class java.io.DataInputStream
 
readBoolean() - Method in class java.io.DataInputStream
 
readBooleanValue() - Method in class josx.platform.rcx.Sensor
Reads the boolean value of the sensor.
readButtons() - Static method in class josx.platform.rcx.Button
Low-level API that reads status of buttons.
readByte() - Method in class java.io.DataInputStream
 
readByte(int) - Method in class josx.platform.rcx.PersistentMemoryArea
 
readByte(int) - Static method in class josx.platform.rcx.Memory
 
readChar() - Method in class java.io.DataInputStream
 
readInt() - Method in class java.io.DataInputStream
 
readPacket(byte[]) - Static method in class josx.platform.rcx.Serial
Reads a packet received by the RCX, if one is available.
readRawValue() - Method in class josx.platform.rcx.Sensor
Reads the raw value of the sensor.
readSensorValue(int, int) - Static method in class josx.platform.rcx.Sensor
Low-level API for reading sensor values.
readShort() - Method in class java.io.DataInputStream
 
readShort(int) - Static method in class josx.platform.rcx.Memory
 
readValue() - Method in class josx.platform.rcx.Sensor
Reads the canonical value of the sensor.
receive() - Method in class josx.rcxcomm.RCXBean
Receive a byte from the RCX.
receive(byte[]) - Method in class josx.rcxcomm.Tower
Receive a packet
receive(int) - Method in class josx.rcxcomm.RCXBean
Receive n bytes from the RCX.
receiveByte() - Method in class josx.rcxcomm.DataPort
 
receiveByte() - Method in class josx.rcxcomm.RCXPort
 
receiveInt() - Method in class josx.rcxcomm.RCXBean
Receive a byte from the RCX.
refresh() - Static method in class josx.platform.rcx.MinLCD
Refreshes LCD.
refresh() - Static method in class josx.platform.rcx.LCD
Refreshes LCD.
removeAllElements() - Method in class java.util.Vector
 
removeElement(Object) - Method in class java.util.Vector
 
removeElementAt(int) - Method in class java.util.Vector
 
reset() - Method in class java.io.InputStream
Repositions this stream to the position at the time the mark method was last called on this input stream.
reset() - Static method in class josx.platform.rcx.MinuteTimer
Resets two-byte timer in the RCX.
resetSerial() - Static method in class josx.platform.rcx.Serial
Resets serial communications.
reverseDirection() - Method in class josx.platform.rcx.Motor
Reverses direction of the motor.
ROM - class josx.platform.rcx.ROM.
Provides access to ROM routines.
ROM() - Constructor for class josx.platform.rcx.ROM
 
rotate(float) - Method in class josx.robotics.TimingNavigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotate(float) - Method in interface josx.robotics.Navigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).This method will return once the rotation is complete.
rotate(float) - Method in class josx.robotics.RotationNavigator
Rotates the RCX robot a specific number of degrees in a direction (+ or -).
rotateTo(int) - Method in class josx.platform.rcx.Servo
Set the motor rotating to the specified position.
RotationNavigator - class josx.robotics.RotationNavigator.
The RotationNavigator class contains methods for performing basic navigational movements.
RotationNavigator(float, float, float) - Constructor for class josx.robotics.RotationNavigator
Overloaded RotationNavigator constructor that assumes the following:
Left motor = Motor.A Right motor = Motor.C
Left rotation sensor = Sensor.S1 Right rotation sensor = Sensor.S3
RotationNavigator(float, float, float, Motor, Motor, Sensor, Sensor) - Constructor for class josx.robotics.RotationNavigator
Allocates a RotationNavigator object and initializes if with the proper motors and sensors.
round(float) - Static method in class java.lang.Math
Returns the closest int to the argument.
RUN - Static variable in class josx.platform.rcx.Button
The Run button.
RUN_MASK - Static variable in class josx.platform.rcx.Poll
 
run() - Method in class java.lang.Thread
 
Runtime - class java.lang.Runtime.
Minimalist version of the standard Java Runtime class.
RuntimeException - exception java.lang.RuntimeException.
 
RuntimeException() - Constructor for class java.lang.RuntimeException
 

S

S1 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 1 on RCX.
S2 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 2 on RCX.
S3 - Static variable in class josx.platform.rcx.Sensor
Sensor labeled 3 on RCX.
Segment - interface josx.platform.rcx.Segment.
LCD segment constants.
send(byte) - Method in class josx.rcxcomm.RCXBean
Send a byte to the RCX.
send(byte[]) - Method in class josx.rcxcomm.RCXBean
Send a byte array to the RCX
send(byte[], int) - Method in class josx.rcxcomm.Tower
send a packet to the RCX, e.g 0x10 for ping
sendByte(byte) - Method in class josx.rcxcomm.DataPort
 
sendByte(byte) - Method in class josx.rcxcomm.RCXPort
 
sendInt(int) - Method in class josx.rcxcomm.RCXBean
Send an integer to the RCX.
sendPacket(byte) - Method in class josx.rcxcomm.RCXPort
Send a packet using this RCXPort.
sendPacket(byte[], int) - Method in class josx.rcxcomm.DataPort
Send a packet using this DataPort.
sendPacket(byte[], int, int) - Static method in class josx.platform.rcx.Serial
Sends a packet to the IR tower or another RCX.
Sensor - class josx.platform.rcx.Sensor.
Abstraction for a sensor (considerably changed since alpha5).
SENSOR_1_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_1_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_2_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_2_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_3_ACTIVE - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_3_VIEW - Static variable in interface josx.platform.rcx.Segment
 
SENSOR_MODE_ANGLE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_BOOL - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_DEGC - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_DEGF - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_EDGE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_PCT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_PULSE - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_MODE_RAW - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_LIGHT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_RAW - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_ROT - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_TEMP - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR_TYPE_TOUCH - Static variable in interface josx.platform.rcx.SensorConstants
 
SENSOR1_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSOR2_MASK - Static variable in class josx.platform.rcx.Poll
 
SENSOR3_MASK - Static variable in class josx.platform.rcx.Poll
 
SensorConstants - interface josx.platform.rcx.SensorConstants.
Constants for Sensor methods.
SensorListener - interface josx.platform.rcx.SensorListener.
Listener of sensor events.
SENSORS - Static variable in class josx.platform.rcx.Sensor
Array containing all three sensors [0..2].
Serial - class josx.platform.rcx.Serial.
Low-level API for infra-red (IR) communication between an RCX and the IR tower or between two RCXs.
SERIAL_MASK - Static variable in class josx.platform.rcx.Poll
 
SERIAL_SHIFT - Static variable in class josx.platform.rcx.Poll
 
Serializable - interface java.io.Serializable.
This interface is not functional.
SerialListener - interface josx.platform.rcx.SerialListener.
Listener of incomming serial data.
Servo - class josx.platform.rcx.Servo.
Implmentation of a servo using a Motor and a Rotation Sensor.
Servo(Sensor, Motor) - Constructor for class josx.platform.rcx.Servo
Constructor.
Servo(Sensor, Motor, int) - Constructor for class josx.platform.rcx.Servo
Constructor.
set(int) - Method in class java.util.BitSet
 
setBit(int, int, int) - Static method in class josx.platform.rcx.Memory
 
setComPort(String) - Method in class josx.rcxcomm.RCXBean
Change or set which comPort should be used for communication with the RCX
setDaemon(boolean) - Method in class java.lang.Thread
 
setDataBuffer(byte[]) - Static method in class josx.platform.rcx.Serial
Sets the buffer that will be used to save data transferred with opcode 0x45.
setElementAt(Object, int) - Method in class java.util.Vector
 
setError(int) - Method in class josx.rcxcomm.Tower
Setter for OS Error
setMomentumDelay(short) - Method in class josx.robotics.TimingNavigator
A variable that adds extra time to each rotation.
setNumber(int, int, int) - Static method in class josx.platform.rcx.MinLCD
Sets a number to be displayed in the LCD.
setNumber(int, int, int) - Static method in class josx.platform.rcx.LCD
Sets a number to be displayed in the LCD.
setPower(int) - Method in class josx.platform.rcx.Motor
Sets motor power to a value between 0 and 7.
setPreviousValue(int) - Method in class josx.platform.rcx.Sensor
Resets the canonical sensor value.
setPriority(int) - Method in class java.lang.Thread
Set the priority of this thread.
setRangeLong() - Static method in class josx.platform.rcx.Serial
Sets long range transmision.
setRangeShort() - Static method in class josx.platform.rcx.Serial
Sets short range transmision.
setSegment(int) - Static method in class josx.platform.rcx.LCD
Sets an LCD segment.
setSize(int) - Method in class java.util.Vector
 
setThrottle(int) - Method in class josx.platform.rcx.Poll
Set a throttle on the regularity with which inputs are polled.
setTimeout(int) - Method in class josx.rcxcomm.RCXInputStream
Setter for timeout
setTimeOut(int) - Method in class josx.rcxcomm.DataPort
Setter for property timeOut.
setTimeOut(int) - Method in class josx.rcxcomm.RCXPort
Setter for property timeOut.
setTypeAndMode(int, int) - Method in class josx.platform.rcx.Sensor
Sets the sensor's mode and type.
showNumber(int) - Static method in class josx.platform.rcx.LCD
Shows an unsigned number on the LCD.
showProgramNumber(int) - Static method in class josx.platform.rcx.LCD
Shows an digit in the Program section of the LCD.
sin(double) - Static method in class java.lang.Math
Sine function.
size() - Method in class java.io.DataOutputStream
Returns the current value of the counter written, the number of bytes written to this data output stream so far.
size() - Method in class java.util.Vector
 
skip(long) - Method in class java.io.InputStream
Skips over and discards n bytes of data from this input stream.
sleep(long) - Static method in class java.lang.Thread
 
Socket - class java.net.Socket.
An RCX version of Socket that connects to TCP/IP ports via a proxy called SocketProxy running on the PC.
Socket(String, int) - Constructor for class java.net.Socket
Connects to a Socket via the proxy on the PC.
SocketProxy - class josx.rcxcomm.SocketProxy.
A Proxy for the RCX Socket interface.
SocketProxy() - Constructor for class josx.rcxcomm.SocketProxy
 
Sound - class josx.platform.rcx.Sound.
RCX sound routines.
sqrt(double) - Static method in class java.lang.Math
Square root function.
StackOverflowError - error java.lang.StackOverflowError.
 
StackOverflowError() - Constructor for class java.lang.StackOverflowError
 
STANDING - Static variable in interface josx.platform.rcx.Segment
 
start() - Method in class java.lang.Thread
 
start() - Method in class josx.robotics.Arbitrator
This method starts the arbitration of Behaviors.
stateChanged(Sensor, int, int) - Method in class josx.platform.rcx.ProximitySensor
Called from a thread private to sensor that runs at MAX_PRIORITY If newValue > oldValue by more than the threshhold, notify anything wait()ing on the sensor.
stateChanged(Sensor, int, int) - Method in interface josx.platform.rcx.SensorListener
Called when the canonical value of the sensor changes.
stateChanged(Sensor, int, int) - Method in class josx.platform.rcx.Servo
Called by the sensor listener thread when the value of the rotation sensor changes.
stop() - Method in class josx.platform.rcx.Motor
Causes motor to stop, pretty much instantaneously.
stop() - Method in class josx.robotics.TimingNavigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in interface josx.robotics.Navigator
Halts the RCX robot and calculates new x, y coordinates.
stop() - Method in class josx.robotics.RotationNavigator
Halts the RCX robot and calculates new x, y coordinates.
strerror(int) - Method in class josx.rcxcomm.Tower
Converts an error number to a string
String - class java.lang.String.
An immutable string of characters.
String(char[], int, int) - Constructor for class java.lang.String
 
StringBuffer - class java.lang.StringBuffer.
An expandable string of characters.
StringBuffer() - Constructor for class java.lang.StringBuffer
 
StringBuffer(int) - Constructor for class java.lang.StringBuffer
 
StringBuffer(String) - Constructor for class java.lang.StringBuffer
 
suppress() - Method in interface josx.robotics.Behavior
The code in suppress() should stop the current behavior.
System - class java.lang.System.
System utilities.
systemSound(boolean, int) - Static method in class josx.platform.rcx.Sound
Play a system sound.

T

takeControl() - Method in interface josx.robotics.Behavior
Returns a boolean to indicate if this behavior should seize control of the robot.
tan(double) - Static method in class java.lang.Math
Tangent function.
TextLCD - class josx.platform.rcx.TextLCD.
Display text on the LCD screen.
Thread - class java.lang.Thread.
A thread of execution (or task).
Thread() - Constructor for class java.lang.Thread
 
Thread(String) - Constructor for class java.lang.Thread
 
ThreadDeath - error java.lang.ThreadDeath.
This is a special Error, which isn't reported by the VM if uncaught.
ThreadDeath() - Constructor for class java.lang.ThreadDeath
 
Throwable - class java.lang.Throwable.
All exceptions and errors extend this class.
Throwable() - Constructor for class java.lang.Throwable
 
TimingNavigator - class josx.robotics.TimingNavigator.
The Navigator class contains methods for performing basic navigational movements.
TimingNavigator(Motor, Motor, float, float) - Constructor for class josx.robotics.TimingNavigator
Allocates a Navigator object and initializes if with the left and right wheels.
toArray() - Method in class java.util.Vector
 
toCharArray() - Method in class java.lang.String
 
toDegrees(double) - Static method in class java.lang.Math
Converts radians to degrees.
toRadians(double) - Static method in class java.lang.Math
Converts degrees to radians.
toString() - Method in class java.lang.Object
Returns the empty string.
toString() - Method in class java.lang.String
Returns itself.
toString() - Method in class java.lang.StringBuffer
 
totalMemory() - Method in class java.lang.Runtime
Return the size of the heap in bytes.
Tower - class josx.rcxcomm.Tower.
Low-level interface to the Lego IR Tower Used by RCXPort to send and receive messages to and from the RCX.
Tower() - Constructor for class josx.rcxcomm.Tower
Create the tower class
travel(int) - Method in class josx.robotics.TimingNavigator
Moves the RCX robot a specific distance.
travel(int) - Method in interface josx.robotics.Navigator
Moves the RCX robot a specific distance.
travel(int) - Method in class josx.robotics.RotationNavigator
Moves the RCX robot a specific distance.
trimToSize() - Method in class java.util.Vector
 
twoBeeps() - Static method in class josx.platform.rcx.Sound
Beeps twice.

U

UPLOAD - Static variable in interface josx.platform.rcx.Segment
 
URL - class java.net.URL.
An RCX version of URL that uses the RCX version of Socket.
URL(String) - Constructor for class java.net.URL
Create a URL from the supplied string.
URLConnection - class java.net.URLConnection.
An RCX version of URLConnection that uses the RCX version of Socket.
URLConnection(String, int, String) - Constructor for class java.net.URLConnection
Connects to a Socket via the proxy on the PC.

V

valueOf(Object) - Static method in class java.lang.String
 
Vector - class java.util.Vector.
A dynamic array.
Vector() - Constructor for class java.util.Vector
 
Vector(int) - Constructor for class java.util.Vector
 
Vector(int, int) - Constructor for class java.util.Vector
 
VIEW - Static variable in class josx.platform.rcx.Button
The View button.
VIEW_MASK - Static variable in class josx.platform.rcx.Poll
 

W

wait() - Method in class java.lang.Object
This is the same as calling wait(0).
wait(long) - Method in class java.lang.Object
Wait until notified.
waitForPressAndRelease() - Method in class josx.platform.rcx.Button
Wait until the button is released.
waitTillNear(long) - Method in class josx.platform.rcx.ProximitySensor
Block the current thread until a near object is detected.
waitTillSent() - Static method in class josx.platform.rcx.Serial
Wait until a message has been sent.
WALKING - Static variable in interface josx.platform.rcx.Segment
 
write(byte[]) - Method in class java.io.OutputStream
Writes b.length bytes from the specified byte array to this output stream.
write(byte[], int) - Method in class josx.rcxcomm.Tower
Write low-level bytes to the tower, e.g 0xff550010ef10ef for ping
write(byte[], int, int) - Method in class java.io.OutputStream
Writes len bytes from the specified byte array starting at offset off to this output stream.
write(byte[], int, int) - Method in class java.io.DataOutputStream
Writes len bytes from the specified byte array starting at offset off to the underlying output stream.
write(int) - Method in class java.io.OutputStream
Writes the specified byte to this output stream.
write(int) - Method in class java.io.DataOutputStream
Writes the specified byte (the low eight bits of the argument b) to the underlying output stream.
write(int) - Method in class josx.rcxcomm.RCXOutputStream
Write a byte to the OutputStream.
writeBoolean(boolean) - Method in class java.io.DataOutputStream
Writes a boolean to the underlying output stream as a 1-byte value.
writeByte(int) - Method in class java.io.DataOutputStream
Writes out a byte to the underlying output stream as a 1-byte value.
writeByte(int, byte) - Method in class josx.platform.rcx.PersistentMemoryArea
 
writeByte(int, byte) - Static method in class josx.platform.rcx.Memory
 
writeChar(int) - Method in class java.io.DataOutputStream
Writes a char to the underlying output stream as a 2-byte value, high byte first.
writeInt(int) - Method in class java.io.DataOutputStream
Writes an int to the underlying output stream as four bytes, high byte first.
writeShort(int) - Method in class java.io.DataOutputStream
Writes a short to the underlying output stream as two bytes, high byte first.
writeShort(int, short) - Static method in class josx.platform.rcx.Memory
 
written - Variable in class java.io.DataOutputStream
 

Y

yield() - Static method in class java.lang.Thread
 

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