Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
A
B
C
D
F
G
H
I
K
L
M
O
P
R
S
T
V
W
X
Y
A
actionPerformed(ActionEvent)
- Method in class robot3.
ControllerInputWindow
actionPerformed(ActionEvent)
- Method in class robot3.
ControllerOutputWindow
addLNPListener(LNPListener)
- Method in class robot3.
LNPManager
This methods adds the parameter to the list of the listener to call when a new message (integrity or addressing) is received.
addressingRead(InputStream)
- Method in class robot3.
LNPManager
Called by run when a 0xF1 is received.
addressingReceived(byte[], byte, byte, byte)
- Method in interface robot3.
LNPListener
Method called by LNPManager when a new addressing packet is received, provided that the current object has subscribed to the LNPManager.
addressingWrite(byte[], byte, byte, byte)
- Method in class robot3.
LNPManager
Sends a addressing packet containing the data of the parameter.
addressingWrite(String, byte, byte, byte)
- Method in class robot3.
LNPManager
Sends a addressing packet containing the data of the parameter.
adjustSpeed(int, boolean)
- Method in class robot3.
ControllerInputWindow
B
BRAKE
- Static variable in class robot3.
Controller
brakeAll
- Variable in class robot3.
ControllerInputWindow
brakeAll()
- Method in class robot3.
Controller
brakeAllNoSend()
- Method in class robot3.
Controller
C
checkChecksum(byte, byte, byte[], byte)
- Static method in class robot3.
LNPManager
Checks if the checksum is correct.
checksum(byte[], int)
- Static method in class robot3.
LNPManager
Computes the checksum.
clearCount
- Variable in class robot3.
ControllerOutputWindow
controller
- Variable in class robot3.
ControllerInputWindow
Controller
- class robot3.
Controller
.
This is the main class used to control the robot.
Controller(boolean)
- Constructor for class robot3.
Controller
ControllerInputWindow
- class robot3.
ControllerInputWindow
.
This class implements the window used for user to input control messages directly to the robot.
ControllerInputWindow(Controller)
- Constructor for class robot3.
ControllerInputWindow
ControllerOutputWindow
- class robot3.
ControllerOutputWindow
.
This class implements the window that shows the state of the robot.
ControllerOutputWindow()
- Constructor for class robot3.
ControllerOutputWindow
D
DEBUG
- Static variable in class robot3.
Controller
decreaseMotorLevel(int, boolean)
- Method in class robot3.
Controller
F
FLOAT
- Static variable in class robot3.
Controller
FORWARD
- Static variable in class robot3.
Controller
G
getInputWindowX()
- Method in class robot3.
Controller
getInstance(String)
- Static method in class robot3.
LNPManager
Static mlethod that return an instance of the current class.
getMotorLevel(int)
- Method in class robot3.
Controller
getMotorState(int)
- Method in class robot3.
Controller
getPreferredSize()
- Method in class robot3.
MotorLevelViewer
goOn
- Variable in class robot3.
LNPManager.WakeupThread
H
hide()
- Method in class robot3.
Controller
I
increaseMessageCount()
- Method in class robot3.
ControllerOutputWindow
increaseMotorLevel(int, boolean)
- Method in class robot3.
Controller
inputWindow
- Variable in class robot3.
Controller
integrityRead(InputStream)
- Method in class robot3.
LNPManager
Called by the read loop when a 0xF0 is read from the serial port.
integrityReceived(byte[])
- Method in interface robot3.
LNPListener
Method called by LNPManager when a new integrity packet is received, provided that the current object has subscribed to the LNPManager.
integrityWrite(byte[])
- Method in class robot3.
LNPManager
Sends a integrity packet containing the data of the parameter.
integrityWrite(String)
- Method in class robot3.
LNPManager
Sends a integrity packet containing the data of the parameter.
IRTower
- Variable in class robot3.
LNPManager
The serial port to which the IRTower is connected
isBraking()
- Method in class robot3.
Controller
K
keyPressed(KeyEvent)
- Method in class robot3.
ControllerInputWindow
keyReleased(KeyEvent)
- Method in class robot3.
ControllerInputWindow
keyTyped(KeyEvent)
- Method in class robot3.
ControllerInputWindow
L
level
- Variable in class robot3.
MotorLevelViewer
listeners
- Variable in class robot3.
LNPManager
The Vector containing the listeners
lnpHostAddress
- Variable in class robot3.
LNPManager
The hostAddress, which can be changed by calling setHostAddress, 0x10 by default.
lnpHostMask
- Static variable in class robot3.
LNPManager
The lnpHostMask, 0xF0 by default
LNPListener
- interface robot3.
LNPListener
.
Interface that all classes interested by what is received by the IR tower should implement.
LNPManager
- class robot3.
LNPManager
.
This class handles the whole LNP protocol.
LNPManager.WakeupThread
- class robot3.
LNPManager.WakeupThread
.
This class keeps the tower awake by sending a 0 every 4th second.
LNPManager.WakeupThread(OutputStream)
- Constructor for class robot3.
LNPManager.WakeupThread
LNPManager(String)
- Constructor for class robot3.
LNPManager
Private constructor of the class.
lnpPortMask
- Static variable in class robot3.
LNPManager
The lnpPortMask, 0x0F by default
logicalWrite(byte[])
- Method in class robot3.
LNPManager
Used to send a logical packet, i.e.
M
main(String[])
- Static method in class robot3.
Controller
manager
- Variable in class robot3.
Controller
MAX_SIZE
- Static variable in class robot3.
LNPManager
The maximum size of a LNP packet
MINUS_BUTTONS
- Static variable in class robot3.
ControllerInputWindow
minusButtons
- Variable in class robot3.
ControllerInputWindow
MOTOR_LEVELS
- Static variable in class robot3.
Controller
motorLevel
- Variable in class robot3.
Controller
motorLevels
- Variable in class robot3.
ControllerOutputWindow
MotorLevelViewer
- class robot3.
MotorLevelViewer
.
Shows the level of a motor
MotorLevelViewer()
- Constructor for class robot3.
MotorLevelViewer
motorOnOff(int)
- Method in class robot3.
ControllerInputWindow
MOTORS
- Static variable in class robot3.
Controller
motorState
- Variable in class robot3.
Controller
msgCount
- Variable in class robot3.
ControllerOutputWindow
msgCountLabel
- Variable in class robot3.
ControllerOutputWindow
O
OFF
- Static variable in class robot3.
MotorLevelViewer
onOffButtons
- Variable in class robot3.
ControllerInputWindow
openPort(String)
- Method in class robot3.
LNPManager
Opens the serial port to which the IR tower is connected.
out
- Variable in class robot3.
LNPManager.WakeupThread
outputWindow
- Variable in class robot3.
Controller
P
paint(Graphics)
- Method in class robot3.
MotorLevelViewer
PANEL_SIZE
- Static variable in class robot3.
MotorLevelViewer
PLUS_BUTTONS
- Static variable in class robot3.
ControllerInputWindow
plusButtons
- Variable in class robot3.
ControllerInputWindow
R
removeLNPListener(LNPListener)
- Method in class robot3.
LNPManager
Removes the parameter from the list of the listeners to call when a new message is received.
REVERSE
- Static variable in class robot3.
Controller
robot3
- package robot3
run()
- Method in class robot3.
LNPManager
DO NOT CALL THIS METHOD DIRECTLY : it's public because it is the implementation of a interface.
run()
- Method in class robot3.
LNPManager.WakeupThread
S
sendAddressingEvent(byte[])
- Method in class robot3.
LNPManager
Sends a WrongChecksumEvent to all the listeners.
sendIntegrityEvent(byte[])
- Method in class robot3.
LNPManager
Sends a IntegrityEvent to all the listeners.
sendWrongChecksumEvent()
- Method in class robot3.
LNPManager
Sends a WrongChecksumEvent to all the listeners.
setAllMotors(int, int, int, int, int, int)
- Method in class robot3.
Controller
setDebug(boolean)
- Method in class robot3.
Controller
setHostAddress(int)
- Method in class robot3.
LNPManager
Sets the host address of the LNPManager.
setLevel(int)
- Method in class robot3.
MotorLevelViewer
setMotorLevel(int, int)
- Method in class robot3.
Controller
setMotorLevel(int, int)
- Method in class robot3.
ControllerOutputWindow
setMotorState(int, int)
- Method in class robot3.
Controller
setMotorState(int, int)
- Method in class robot3.
ControllerOutputWindow
setState(int)
- Method in class robot3.
MotorLevelViewer
setValues
- Variable in class robot3.
ControllerInputWindow
show()
- Method in class robot3.
Controller
state
- Variable in class robot3.
MotorLevelViewer
STATE_COLOR
- Static variable in class robot3.
MotorLevelViewer
STATE_NAMES
- Static variable in class robot3.
Controller
stateButtons
- Variable in class robot3.
ControllerInputWindow
STATES
- Static variable in class robot3.
Controller
stop()
- Method in class robot3.
LNPManager.WakeupThread
T
TEXT_HEIGHT
- Static variable in class robot3.
MotorLevelViewer
theInstance
- Static variable in class robot3.
LNPManager
Contains the only instance of the LNPManager.
V
valueInput
- Variable in class robot3.
ControllerInputWindow
W
wrongChecksumReceived()
- Method in interface robot3.
LNPListener
Method called by LNPManager when a packet with a wrong checksum is received, provided that the current object has subscribed to the LNPManager.
X
X_SIZE
- Static variable in class robot3.
MotorLevelViewer
Y
y
- Variable in class robot3.
MotorLevelViewer
A
B
C
D
F
G
H
I
K
L
M
O
P
R
S
T
V
W
X
Y
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes