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

A

actionPerformed(ActionEvent) - Method in class roomba.roombanetwork.services.startergui.ServiceStarterGUI
Called whenever an action was performed on any of the GUI controls
addEdge(PathEdge) - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
addEdge(PathEdge) - Method in class roomba.roombanetwork.services.camloc.travelgraph.Path
Edges should be added in reverse order.
addEdge(int, int, int, int, double, double) - Method in class roomba.roombanetwork.services.camloc.travelgraph.TravelGraph
 
addListener(ClientListener) - Static method in class roomba.roombanetwork.services.userservice.UserService
Adds a listener for incoming messages.
addOverlay(ImageOverlay) - Method in class roomba.roombanetwork.util.ImagePanel
 
addRNCDefinition(RNCDefinition) - Method in class roomba.roombanetwork.server.RNCTable
Adds an RNC Definition to the table
addSongNote(int, int) - Method in class roomba.roombanetwork.services.userservice.Roomba
Adds a note to the current song.
addTrack(Track) - Method in class roomba.roombanetwork.services.image.ColorFinderService
 

B

bytesToHex(byte[]) - Static method in class roomba.roombanetwork.util.ImageConverter
 
byteToHex(byte) - Static method in class roomba.roombanetwork.util.ImageConverter
 

C

Camera - Interface in roomba.roombanetwork.services.image
Interface for a Camera
CAMERA_ISIGHT - Static variable in class roomba.roombanetwork.services.image.CameraFactory
 
CAMERA_LOGITECH_QUICKCAM_MACOSX - Static variable in class roomba.roombanetwork.services.image.CameraFactory
 
CAMERA_LOGITECH_QUICKCAM_WINDOWS - Static variable in class roomba.roombanetwork.services.image.CameraFactory
 
CameraFactory - Class in roomba.roombanetwork.services.image
Factory to instantiate new cameras of a specified type.
CameraFactory() - Constructor for class roomba.roombanetwork.services.image.CameraFactory
 
CameraLocalizationService - Class in roomba.roombanetwork.services.camloc
Provides a camera localization service to the Roomba Network.
CameraLocalizationService(String, String, int, String, String) - Constructor for class roomba.roombanetwork.services.camloc.CameraLocalizationService
Constructor - creates the RNC and will image tracks and odometry readings from the specified services.
CameraLocalizationServiceGUI - Class in roomba.roombanetwork.services.startergui
Displays the configuration parameters for a Camera Localization Service and initializes the Camera Localization Service
CameraLocalizationServiceGUI() - Constructor for class roomba.roombanetwork.services.startergui.CameraLocalizationServiceGUI
 
clearSong() - Method in class roomba.roombanetwork.services.userservice.Roomba
Clears the current song without playing it
ClientListener - Interface in roomba.roombanetwork.client
A ClientListener is a class that is listening for incoming roomba network messages
closeSocket() - Method in class roomba.roombanetwork.util.SocketClient
Closes the socket connection
ColorFinderGUI - Class in roomba.roombanetwork.services.image
Builds and displays a GUI for providing parameters to the color finding algorithms
ColorFinderGUI(ColorFinderService) - Constructor for class roomba.roombanetwork.services.image.ColorFinderGUI
Builds and displays a GUI for providing parameters to the color finding algorithms
ColorFinderService - Class in roomba.roombanetwork.services.image
Provides a color finder service to the Roomba Network.
ColorFinderService(String, String, int, Camera) - Constructor for class roomba.roombanetwork.services.image.ColorFinderService
Constructor - creates the RNC and will start to grab images from the camera.
ColorFinderServiceGUI - Class in roomba.roombanetwork.services.startergui
Displays the configuration parameters for a Color Finder Service and initializes the color finder service
ColorFinderServiceGUI() - Constructor for class roomba.roombanetwork.services.startergui.ColorFinderServiceGUI
 
CommandHandler - Class in roomba.roombanetwork.server
Handles the messages associated with client commands
CommandHandler(RoombaNetworkServer) - Constructor for class roomba.roombanetwork.server.CommandHandler
Constructor
connect() - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Connects to the RNS.
convertFromHexString(String, int, int) - Static method in class roomba.roombanetwork.util.ImageConverter
 
convertToBufferedImage(Image, int, int) - Static method in class roomba.roombanetwork.util.ImageConverter
 
convertToString(Image, int, int) - Static method in class roomba.roombanetwork.util.ImageConverter
 

D

DataHandler - Class in roomba.roombanetwork.server
Handles the messages associated with client data
DataHandler(RoombaNetworkServer) - Constructor for class roomba.roombanetwork.server.DataHandler
Constructor
disconnect() - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Disconnects from the RNS.
disconnect() - Method in class roomba.roombanetwork.server.RNCDefinition
Forces a disconnect of the RNC
disconnect() - Method in interface roomba.roombanetwork.services.image.Camera
Disconnects the camera
disconnect() - Method in class roomba.roombanetwork.services.image.isight.ISight
Disconnects the camera
disconnect() - Method in class roomba.roombanetwork.services.image.jmfcam.JMFCam
Disconnects the camera
disconnect() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Disconnects the roomba device
disconnect() - Static method in class roomba.roombanetwork.services.userservice.UserService
Disconnect from the server
disconnect() - Method in class roomba.roombanetwork.util.SocketServer
Called when the server should be shutdown and all clients disconnected
disconnectClient(int) - Method in class roomba.roombanetwork.server.RoombaNetworkServer
Called when a connection to a client should be disconnected.
disconnectRNC(int) - Method in class roomba.roombanetwork.server.RNCTable
Disconnected an RNC that is contained in the table
dispose() - Method in class roomba.roombanetwork.services.image.isight.VideoCapture
Should be called when the video is no longer needed
distanceTo(int, int) - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
draw(Graphics) - Method in interface roomba.roombanetwork.util.ImageOverlay
 
draw(Graphics) - Method in class roomba.roombanetwork.util.RectangleImageOverlay
 
drive(double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to drive a distance (in Meters)
driveAt(double) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Sets the speed that the roomba will drive straight at.

E

edgeUnification() - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
edgeUnification() - Method in class roomba.roombanetwork.services.camloc.travelgraph.TravelGraph
 
ERROR_DISCONNECTEDCLIENT - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_INCORRECTPROTOCOLVERSION - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_INVALIDMESSAGE - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_INVALIDNUMBEROFACTUATORS - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_INVALIDNUMBEROFFIELDS - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_INVALIDNUMBEROFSENSORS - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_INVALIDSENDERID - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_NUMBERFORMAT - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_OK - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_UNEXPECTEDMESSAGE - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_UNKNOWNMESSAGETYPE - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ERROR_UNKNOWNSENDER - Static variable in class roomba.roombanetwork.server.ErrorHandler
 
ErrorHandler - Class in roomba.roombanetwork.server
Handles any messages that produce an error
ErrorHandler(RoombaNetworkServer) - Constructor for class roomba.roombanetwork.server.ErrorHandler
Constructor
establishClient(int, String, int) - Method in class roomba.roombanetwork.server.RoombaNetworkServer
Called when a connection to a client should be established.

F

findPaths(int, int) - Method in class roomba.roombanetwork.services.camloc.travelgraph.TravelGraph
 
forwardForTime(double, double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to drive straight for the specified time duration (in seconds) at the speed specified
forwardSpeed(double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to drive straight at the specified speed

G

getAngle() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the rotational distance traveled from the initial position
getBattery() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the battery charge level
getBatteryCharge() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the battery charge as reported by the roomba
getBeginVertex() - Method in class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
 
getCenterWheelDrop() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the center wheel drop sensor
getClient() - Method in class roomba.roombanetwork.services.startergui.Service
Gets the Roomba Network Client that is handling the service communication to the RNS
getCliffFrontLeft() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the cliff front left sensor
getCliffFrontRight() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the cliff front right sensor
getCliffLeft() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the cliff left sensor
getCliffRight() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the cliff right sensor
getConfidence() - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
getConnectedRNCs(int, String, String) - Method in class roomba.roombanetwork.server.RNCTable
Returns a list of RNC Definitions from the table that match the specified filters
getDisconnectedRNCs() - Method in class roomba.roombanetwork.server.RNCTable
Returns a list of disconnected RNC Definitions from the table
getDistance() - Method in class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
 
getDistance() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the translational distance traveled from the initial position
getEdges() - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
getEndVertex() - Method in class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
 
getErrorMessage() - Method in class roomba.roombanetwork.services.image.ColorFinderService
Returns the error message for the service if any
getErrorMessage() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Returns the error message (if one)
getErrorMessage() - Method in class roomba.roombanetwork.services.roomba.RoombaService
Returns the error message for the service if any
getErrorMessage() - Method in interface roomba.roombanetwork.services.ServiceStatusProvider
Returns the error message for the service if any
getFinalPosition(RoombaPosition) - Method in class roomba.roombanetwork.services.camloc.travelgraph.Path
 
getHeading() - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
getHeading() - Method in class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
 
getHeight() - Method in interface roomba.roombanetwork.services.image.Camera
Gets the height of the image that is provided
getHeight() - Method in class roomba.roombanetwork.services.image.isight.ISight
Gets the height of the image that is provided
getHeight() - Method in class roomba.roombanetwork.services.image.isight.VideoCapture
Gets the height of the video image
getHeight() - Method in class roomba.roombanetwork.services.image.jmfcam.JMFCam
Gets the height of the image that is provided
getID() - Method in class roomba.roombanetwork.server.RNCDefinition
Gets the ID of the RNC service
getLastHeading() - Method in class roomba.roombanetwork.services.camloc.travelgraph.Path
 
getLatestImage() - Method in interface roomba.roombanetwork.services.image.Camera
Gets the latest image that was pulled from the camera
getLatestImage() - Method in class roomba.roombanetwork.services.image.isight.ISight
Gets the latest image that was pulled from the camera
getLatestImage() - Method in class roomba.roombanetwork.services.image.jmfcam.JMFCam
Gets the latest image that was pulled from the camera
getLeftBump() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the left bump sensor
getLeftWheelDrop() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the left wheel drop sensor
getLocalizedX() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the x position reported by localization.
getLocalizedY() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the y position reported by localization.
getLock() - Method in class roomba.roombanetwork.server.RNCDefinition
Gets the RNC ID that has a lock on this RNC.
getMinimumSize() - Method in class roomba.roombanetwork.util.ImagePanel
Method declaration
getNewCamera(String) - Static method in class roomba.roombanetwork.services.image.CameraFactory
Gets an instance of the specified type of camera.
getNextImage() - Method in class roomba.roombanetwork.services.image.isight.VideoCapture
Gets the latest image from the grabber
getNextPixels(int[]) - Method in class roomba.roombanetwork.services.image.isight.VideoCapture
Gets the next set of pixels
getOdometryX() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the x position reported by odometry
getOdometryY() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the y position reported by odometry
getOutgoingQueueSize() - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Returns the queue size of messages waiting to be sent
getPort() - Method in class roomba.roombanetwork.util.SocketServer
Returns the port that the server is running on
getPosX() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the X position of the roomba
getPosY() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the Y position of the roomba
getPreferredSize() - Method in class roomba.roombanetwork.util.ImagePanel
Method declaration
getQueueSize() - Method in class roomba.roombanetwork.util.SocketClient
Returns the current size of the waiting queue
getRightBump() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the right bump sensor
getRightWheelDrop() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the right wheel drop sensor
getRNC() - Method in class roomba.roombanetwork.services.camloc.CameraLocalizationService
Gets the Roomba Network Client
getRNC() - Method in class roomba.roombanetwork.services.image.ColorFinderService
Gets the Roomba Network Client
getRNC() - Method in class roomba.roombanetwork.services.image.ImageService
Gets the Roomba Network Client
getRNC() - Method in class roomba.roombanetwork.services.image.ImageViewerService
Gets the Roomba Network Client
getRNC() - Method in class roomba.roombanetwork.services.logger.LoggerService
Gets the Roomba Network Client
getRNC() - Method in class roomba.roombanetwork.services.roomba.RoombaService
Gets the Roomba Network Client
getRNCTable() - Method in class roomba.roombanetwork.server.RoombaNetworkServer
Accessor to the RNC Table
getServiceID() - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Gets the service ID that has been assigned to the RNC
getServiceID() - Static method in class roomba.roombanetwork.services.userservice.UserService
Gets the assigned service ID of the user service
getServiceName() - Method in class roomba.roombanetwork.server.RNCDefinition
Gets the name of the RNC service
getServiceName(int) - Method in class roomba.roombanetwork.server.RNCTable
Returns the name of an RNC stored in the table
getServiceType() - Method in class roomba.roombanetwork.server.RNCDefinition
Gets the type of the RNC service
getServiceType(int) - Method in class roomba.roombanetwork.server.RNCTable
Returns the type of an RNC stored in the table
getStatus() - Method in class roomba.roombanetwork.services.image.ColorFinderService
Returns the status code for the service
getStatus() - Method in class roomba.roombanetwork.services.roomba.RoombaService
Returns the status code for the service
getStatus() - Method in interface roomba.roombanetwork.services.ServiceStatusProvider
Returns the status code for the service
getTotalDistance() - Method in class roomba.roombanetwork.services.camloc.travelgraph.Path
 
getTrackName() - Method in class roomba.roombanetwork.services.image.Track
Gets the track name
getUnifiedEdge() - Method in class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
 
getVirtualWall() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the virtual wall sensor data as reported by the roomba
getVirtualWall() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the virtual wall sensor
getWall() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the wall sensor data as reported by the roomba
getWall() - Method in class roomba.roombanetwork.services.userservice.Roomba
Gets the status of the wall sensor
getWidth() - Method in interface roomba.roombanetwork.services.image.Camera
Gets the width of the image that is provided
getWidth() - Method in class roomba.roombanetwork.services.image.isight.ISight
Gets the width of the image that is provided
getWidth() - Method in class roomba.roombanetwork.services.image.isight.VideoCapture
Gets the width of the video image
getWidth() - Method in class roomba.roombanetwork.services.image.jmfcam.JMFCam
Gets the width of the image that is provided
getX() - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
getX() - Method in class roomba.roombanetwork.services.image.Track
Gets the x position of the track in the last processed image.
getY() - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
getY() - Method in class roomba.roombanetwork.services.image.Track
Gets the y position of the track in the last processed image.

H

handleMessage(String, String[]) - Method in class roomba.roombanetwork.server.CommandHandler
Handles an incoming message
handleMessage(String, String[]) - Method in class roomba.roombanetwork.server.DataHandler
Handles an incoming message
handleMessage(String, int, String[]) - Method in class roomba.roombanetwork.server.ErrorHandler
Handles an incoming message
handleMessage(String, String[]) - Method in class roomba.roombanetwork.server.ServiceManager
Handles an incoming message
hexCharToInt(char) - Static method in class roomba.roombanetwork.util.ImageConverter
 
hexToBytes(String) - Static method in class roomba.roombanetwork.util.ImageConverter
 

I

ImageConverter - Class in roomba.roombanetwork.util
 
ImageConverter() - Constructor for class roomba.roombanetwork.util.ImageConverter
 
ImageOverlay - Interface in roomba.roombanetwork.util
 
ImagePanel - Class in roomba.roombanetwork.util
GUI Panel that displays an image
ImagePanel() - Constructor for class roomba.roombanetwork.util.ImagePanel
 
ImageService - Class in roomba.roombanetwork.services.image
Provides an image service to the Roomba Network.
ImageService(String, String, int, Camera) - Constructor for class roomba.roombanetwork.services.image.ImageService
Constructor - creates the RNC and will connect to the specified camera
ImageServiceGUI - Class in roomba.roombanetwork.services.startergui
Displays the configuration parameters for an Image Service and initializes an image service
ImageServiceGUI() - Constructor for class roomba.roombanetwork.services.startergui.ImageServiceGUI
 
ImageVertex - Class in roomba.roombanetwork.services.camloc.travelgraph
 
ImageVertex(int, int) - Constructor for class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
ImageViewerService - Class in roomba.roombanetwork.services.image
A service to show the video from one or more cameras
ImageViewerService(String, int) - Constructor for class roomba.roombanetwork.services.image.ImageViewerService
Constructor - connects to all image services and displays a window for each
ImageViewerService(String, String, int) - Constructor for class roomba.roombanetwork.services.image.ImageViewerService
Constructor - connects to an Image service specified by name
ImageViewerServiceGUI - Class in roomba.roombanetwork.services.startergui
Displays the configuration parameters for an Image Viewer Service and initializes the viewer
ImageViewerServiceGUI() - Constructor for class roomba.roombanetwork.services.startergui.ImageViewerServiceGUI
 
isBumpLeft() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the status of the left bump sensor
isBumpRight() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the status of the right bump sensor
isCliffFrontLeft() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the cliff front left as reported by the roomba
isCliffFrontRight() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the cliff front right as reported by the roomba
isCliffLeft() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the cliff left as reported by the roomba
isCliffRight() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the cliff right as reported by the roomba
isConnected() - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Returns the flag indicating if the client is connected to the RNS.
isConnected() - Method in class roomba.roombanetwork.server.RNCDefinition
Indicates if the RNC is still connected to the RNS
isConnected(int) - Method in class roomba.roombanetwork.server.RNCTable
Indicates if an RNC contained in the table is still connected to the RNS.
isConnected() - Method in class roomba.roombanetwork.util.SocketServer
Indicates if the server is connected to a client
ISight - Class in roomba.roombanetwork.services.image.isight
Class to connect to an ISight camera and grab an image from it
ISight() - Constructor for class roomba.roombanetwork.services.image.isight.ISight
Constructor - connects to the iSight camera
isInitialized() - Method in interface roomba.roombanetwork.services.image.Camera
Indicates if the camera has been started and initialized properly
isInitialized() - Method in class roomba.roombanetwork.services.image.isight.ISight
Indicates if the camera has been started and initialized properly
isInitialized() - Method in class roomba.roombanetwork.services.image.jmfcam.JMFCam
Indicates if the camera has been started and initialized properly
isInitialized() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Returns the initialized flag.
isMarked() - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
isVertex(int, int) - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
isWheelDropCenter() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the wheel drop center data as reported by the roomba
isWheelDropLeft() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the wheel drop left data as reported by the roomba
isWheelDropRight() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Gets the wheel drop right data as reported by the roomba

J

JMFCam - Class in roomba.roombanetwork.services.image.jmfcam
Class to connect to a Java Media Framework camera and grab images from it
JMFCam() - Constructor for class roomba.roombanetwork.services.image.jmfcam.JMFCam
Constructor - connects to the Java Media Framework camera

L

limitQueueSize(int) - Method in class roomba.roombanetwork.util.SocketClient
Used to limit the maximum size of the waiting queue.
listCameras() - Static method in class roomba.roombanetwork.services.image.CameraFactory
Provides a list of the supported cameras.
listeners - Variable in class roomba.roombanetwork.services.userservice.UserService
 
lock(int) - Method in class roomba.roombanetwork.server.RNCDefinition
Specifies a lock on the RNC.
lock(int, int) - Method in class roomba.roombanetwork.server.RNCTable
Locks an RNC contained in the table.
LoggerService - Class in roomba.roombanetwork.services.logger
Provides a logging service to the Roomba Network.
LoggerService(String, int) - Constructor for class roomba.roombanetwork.services.logger.LoggerService
Constructor - creates the RNC and starts the logging

M

main(String[]) - Static method in class roomba.roombanetwork.client.RoombaNetworkClient
Test main method
main(String[]) - Static method in class roomba.roombanetwork.server.RoombaNetworkServer
The main method to start the RNS.
main(String[]) - Static method in class roomba.roombanetwork.services.roomba.RoombaDrive
Test main method
main(String[]) - Static method in class roomba.roombanetwork.services.roomba.RoombaService
 
main(String[]) - Static method in class roomba.roombanetwork.services.startergui.ServiceStarterGUI
Main method - entry point into the GUI application
main(String[]) - Static method in class roomba.roombanetwork.services.userservice.UserTestService
 
main(String[]) - Static method in class roomba.roombanetwork.util.ImageConverter
 
main(String[]) - Static method in class roomba.roombanetwork.util.SocketClient
Test main to send a message to a server
main(String[]) - Static method in class roomba.roombanetwork.util.SocketServer
Test main method
messageReceived(String, String[]) - Method in interface roomba.roombanetwork.client.ClientListener
Processes a message received.
messageReceived(String) - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Processes a message received.
messageReceived(String) - Method in class roomba.roombanetwork.server.RoombaNetworkServer
Called when an incoming message is received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.camloc.CameraLocalizationService
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.image.ColorFinderService
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.image.ImageService
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.image.ImageViewerService
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.logger.LoggerService
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.roomba.RoombaService
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.userservice.Roomba
Processes a message received.
messageReceived(String, String[]) - Method in class roomba.roombanetwork.services.userservice.UserService
Processes a message received.
messageReceived(String) - Method in interface roomba.roombanetwork.util.SocketListener
Called when a new message has been received
MessageVerifier - Class in roomba.roombanetwork.client
Verifies an incoming message for proper format
MessageVerifier() - Constructor for class roomba.roombanetwork.client.MessageVerifier
 
mouseClicked(MouseEvent) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
 
mouseEntered(MouseEvent) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
 
mouseExited(MouseEvent) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
 
mouseMoved(MouseEvent) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
 
mousePressed(MouseEvent) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
 
mouseReleased(MouseEvent) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
 

N

name - Static variable in class roomba.roombanetwork.services.userservice.UserService
 

O

overlayColorIndex - Static variable in class roomba.roombanetwork.services.image.Track
 
overlayColors - Static variable in class roomba.roombanetwork.services.image.Track
 

P

paintComponent(Graphics) - Method in class roomba.roombanetwork.util.ImagePanel
Method declaration
Path - Class in roomba.roombanetwork.services.camloc.travelgraph
 
Path() - Constructor for class roomba.roombanetwork.services.camloc.travelgraph.Path
 
PathEdge - Class in roomba.roombanetwork.services.camloc.travelgraph
 
PathEdge(ImageVertex, ImageVertex, double, double) - Constructor for class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
 
pause(double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to not process any other commands for the specified duration (in seconds)
playSong(int[]) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Play a song.
playSong() - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to play the current song.
processImage(BufferedImage) - Method in class roomba.roombanetwork.services.image.Track
Processes an image and finds the x and y position of the track in the image.
PROTOCOL_VERSION - Static variable in class roomba.roombanetwork.client.RoombaNetworkClient
The Protocol version that the client is using
PROTOCOL_VERSION - Static variable in class roomba.roombanetwork.server.RoombaNetworkServer
The Protocol version that the server is using

R

reconnect() - Method in interface roomba.roombanetwork.services.image.Camera
Reconnects the camera
reconnect() - Method in class roomba.roombanetwork.services.image.isight.ISight
Reconnects the camera
reconnect() - Method in class roomba.roombanetwork.services.image.jmfcam.JMFCam
Reconnects the camera
RectangleImageOverlay - Class in roomba.roombanetwork.util
 
RectangleImageOverlay(int, int, int, int, Color) - Constructor for class roomba.roombanetwork.util.RectangleImageOverlay
 
removeOverlay(ImageOverlay) - Method in class roomba.roombanetwork.util.ImagePanel
 
removeRNCDefinition(int) - Method in class roomba.roombanetwork.server.RNCTable
Removes an RNC Definition from the table
removeRNCDefinition(RNCDefinition) - Method in class roomba.roombanetwork.server.RNCTable
Removes an RNC Definition from the table
resetDisconnectTimer() - Method in class roomba.roombanetwork.server.RNCDefinition
Resets the disconnect timer.
resetDisconnectTimer(int) - Method in class roomba.roombanetwork.server.RNCTable
Resets the disconnect timer of an RNC that is contained in the table.
rnc - Variable in class roomba.roombanetwork.services.userservice.UserService
 
RNCDefinition - Class in roomba.roombanetwork.server
Contains info about an RNC connected and manages the disconnect timer
RNCDefinition(int, String, String) - Constructor for class roomba.roombanetwork.server.RNCDefinition
Constructor
RNCTable - Class in roomba.roombanetwork.server
Stores information about the stored RNCs
RNCTable() - Constructor for class roomba.roombanetwork.server.RNCTable
 
Roomba - Class in roomba.roombanetwork.services.userservice
A User Service representation of a Roomba.
Roomba() - Constructor for class roomba.roombanetwork.services.userservice.Roomba
Constructor - gets a lock on a Roomba service
Roomba(boolean) - Constructor for class roomba.roombanetwork.services.userservice.Roomba
Constructor - connects to a Roomba service
Roomba(String) - Constructor for class roomba.roombanetwork.services.userservice.Roomba
Constructor - gets a lock on a specific Roomba, specified by the name
Roomba(String, boolean) - Constructor for class roomba.roombanetwork.services.userservice.Roomba
Constructor - connects on a specific Roomba, specified by the name
roomba.roombanetwork.client - package roomba.roombanetwork.client
 
roomba.roombanetwork.server - package roomba.roombanetwork.server
 
roomba.roombanetwork.services - package roomba.roombanetwork.services
 
roomba.roombanetwork.services.camloc - package roomba.roombanetwork.services.camloc
 
roomba.roombanetwork.services.camloc.travelgraph - package roomba.roombanetwork.services.camloc.travelgraph
 
roomba.roombanetwork.services.image - package roomba.roombanetwork.services.image
 
roomba.roombanetwork.services.image.isight - package roomba.roombanetwork.services.image.isight
 
roomba.roombanetwork.services.image.jmfcam - package roomba.roombanetwork.services.image.jmfcam
 
roomba.roombanetwork.services.logger - package roomba.roombanetwork.services.logger
 
roomba.roombanetwork.services.roomba - package roomba.roombanetwork.services.roomba
 
roomba.roombanetwork.services.startergui - package roomba.roombanetwork.services.startergui
 
roomba.roombanetwork.services.userservice - package roomba.roombanetwork.services.userservice
 
roomba.roombanetwork.util - package roomba.roombanetwork.util
 
RoombaDrive - Class in roomba.roombanetwork.services.roomba
Controls the roomba through a serial port and gets sensor data back from the roomba
RoombaDrive(String) - Constructor for class roomba.roombanetwork.services.roomba.RoombaDrive
Constructor
RoombaNetworkClient - Class in roomba.roombanetwork.client
This class performs the role of RNC (Roomba Network Client).
RoombaNetworkClient(ClientListener, String, String, String, int, boolean) - Constructor for class roomba.roombanetwork.client.RoombaNetworkClient
Constructor for creating the RNC.
RoombaNetworkClient(ClientListener, String, String, String, int, boolean, boolean) - Constructor for class roomba.roombanetwork.client.RoombaNetworkClient
Constructor for creating the RNC.
RoombaNetworkServer - Class in roomba.roombanetwork.server
This class performs the role of RNS (Roomba Network Server).
RoombaNetworkServer(int) - Constructor for class roomba.roombanetwork.server.RoombaNetworkServer
Constructor for creating the RNS.
RoombaPosition - Class in roomba.roombanetwork.services.camloc
 
RoombaPosition(double, double, double, double) - Constructor for class roomba.roombanetwork.services.camloc.RoombaPosition
 
RoombaService - Class in roomba.roombanetwork.services.roomba
Provides a roomba service to the Roomba Network, handles robot commands, and produces sensor data
RoombaService(String, String, int, String) - Constructor for class roomba.roombanetwork.services.roomba.RoombaService
Constructor - creates the RNC and starts the Roomba
RoombaServiceGUI - Class in roomba.roombanetwork.services.startergui
Displays the configuration parameters for a Roomba Service and initializes a roomba service
RoombaServiceGUI() - Constructor for class roomba.roombanetwork.services.startergui.RoombaServiceGUI
 
run() - Method in class roomba.roombanetwork.util.SocketClient
Run method that controls the functionality of the client connection
run() - Method in class roomba.roombanetwork.util.SocketServer
Run method used to accept new connections

S

sendMessage(String) - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Sends a message to the RNS.
sendMessage(String[]) - Method in class roomba.roombanetwork.client.RoombaNetworkClient
Sends a message to the RNS.
sendMessage(int, String) - Method in class roomba.roombanetwork.server.RoombaNetworkServer
Called when an outgoing message should be sent
sendMessage(String[]) - Static method in class roomba.roombanetwork.services.userservice.UserService
Sends a message to the RNS
sendString(String) - Method in class roomba.roombanetwork.util.SocketClient
Adds a string to the queue to send
serverAddress - Static variable in class roomba.roombanetwork.services.userservice.UserService
 
Service - Class in roomba.roombanetwork.services.startergui
Contains information about a service
Service(String, String, RoombaNetworkClient) - Constructor for class roomba.roombanetwork.services.startergui.Service
Constructor
Service(String, String, RoombaNetworkClient, ServiceStatusProvider) - Constructor for class roomba.roombanetwork.services.startergui.Service
Constructor
ServiceManager - Class in roomba.roombanetwork.server
Handles the messages associated with managing the client services
ServiceManager(RoombaNetworkServer) - Constructor for class roomba.roombanetwork.server.ServiceManager
Constructor
ServiceStarterGUI - Class in roomba.roombanetwork.services.startergui
GUI for starting the RNS and/or services on a host machine
ServiceStarterGUI() - Constructor for class roomba.roombanetwork.services.startergui.ServiceStarterGUI
Constructor - Creates and displays the GUI
ServiceStatusProvider - Interface in roomba.roombanetwork.services
Interface to provide status of a particular service.
serviceSubscribed(int, String, String) - Method in class roomba.roombanetwork.server.RNCTable
Checks if a service matches the filters contained in the RNC Definitions in this table
setConfidence(double) - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
setHeading(double) - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
setImage(Image) - Method in class roomba.roombanetwork.util.ImagePanel
Method declaration
setMarked(boolean) - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
setName(String) - Static method in class roomba.roombanetwork.services.userservice.UserService
Sets the name of the user service.
setServerAddress(String) - Static method in class roomba.roombanetwork.services.userservice.UserService
Sets the RNS hostname (or ip address) that the RNC should connect to.
setStatusGreenLED(boolean) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Set Status Green LED
setStatusGreenLED(boolean) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to set the green status LED
setStatusRedLED(boolean) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Set Status Red LED
setStatusRedLED(boolean) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to set the red status LED
setX(double) - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
setX(int) - Method in class roomba.roombanetwork.util.RectangleImageOverlay
 
setY(double) - Method in class roomba.roombanetwork.services.camloc.RoombaPosition
 
setY(int) - Method in class roomba.roombanetwork.util.RectangleImageOverlay
 
SocketClient - Class in roomba.roombanetwork.util
This class connects to a socket server to send messages to the server
SocketClient(String, int) - Constructor for class roomba.roombanetwork.util.SocketClient
The constructor for the client.
SocketClient(String, int, boolean) - Constructor for class roomba.roombanetwork.util.SocketClient
The constructor for the client.
SocketListener - Interface in roomba.roombanetwork.util
Interface to accept a message received by the Socket Server
SocketServer - Class in roomba.roombanetwork.util
This class accepts connections from socket clients and processes incoming messages
SocketServer(int, SocketListener) - Constructor for class roomba.roombanetwork.util.SocketServer
Constructor to set up the server.
SocketServer(int, SocketListener, boolean) - Constructor for class roomba.roombanetwork.util.SocketServer
Constructor to set up the server.
SocketServer(SocketListener) - Constructor for class roomba.roombanetwork.util.SocketServer
Constructor to set up the server.
SocketServer(SocketListener, boolean) - Constructor for class roomba.roombanetwork.util.SocketServer
Constructor to set up the server.
startService(String, JFrame) - Method in class roomba.roombanetwork.services.startergui.CameraLocalizationServiceGUI
Displays the configuration parameters for a Camera Localization Service and initializes the camera localization service
startService(String, JFrame) - Method in class roomba.roombanetwork.services.startergui.ColorFinderServiceGUI
Displays the configuration parameters for a Color Finder Service and initializes the color finder service
startService(String, JFrame) - Method in class roomba.roombanetwork.services.startergui.ImageServiceGUI
Displays the configuration parameters for an Image Service and initializes an image service
startService(String, JFrame) - Method in class roomba.roombanetwork.services.startergui.ImageViewerServiceGUI
Displays the configuration parameters for an Image Service and initializes an image service
startService(String, JFrame) - Method in class roomba.roombanetwork.services.startergui.RoombaServiceGUI
Displays the configuration parameters for a Roomba Service and initializes a roomba service
STATUS_ERROR - Static variable in interface roomba.roombanetwork.services.ServiceStatusProvider
 
STATUS_OK - Static variable in interface roomba.roombanetwork.services.ServiceStatusProvider
 
straight(double) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Commands the Roomba to travel a specified distance (in meters)

T

toHexChar(int) - Static method in class roomba.roombanetwork.util.ImageConverter
 
TOLERANCE - Static variable in class roomba.roombanetwork.services.image.Track
 
toString() - Method in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
toString() - Method in class roomba.roombanetwork.services.startergui.Service
Presents the information about the service as a string
Track - Class in roomba.roombanetwork.services.image
Contains the necessary information about a color finder track such that it can find the track within an image (if it exists)
Track(BufferedImage, String, ImagePanel) - Constructor for class roomba.roombanetwork.services.image.Track
Constructor - the image clip is centered on the object to track
TravelGraph - Class in roomba.roombanetwork.services.camloc.travelgraph
 
TravelGraph(int, int) - Constructor for class roomba.roombanetwork.services.camloc.travelgraph.TravelGraph
 
turn(double) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Turns the Roomba a specified angle (in radians)
turn(double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to turn an angle (in degrees)
turnAt(double) - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Sets the speed that the roomba will rotate at.
turnForTime(double, double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to turn for the specified time duration (in seconds) at the speed specified
turnSpeed(double) - Method in class roomba.roombanetwork.services.userservice.Roomba
Command the Roomba to turn at the specified speed

U

unification(PathEdge) - Method in class roomba.roombanetwork.services.camloc.travelgraph.PathEdge
The process of unification will take a second edge and merge it into this edge if possible.
updateImage(Image) - Method in class roomba.roombanetwork.services.image.ColorFinderGUI
Updates the camera panel with the latest image
updateSensors() - Method in class roomba.roombanetwork.services.roomba.RoombaDrive
Updates the Roomba's sensor information
UserService - Class in roomba.roombanetwork.services.userservice
Connects to the RNS as a user service and handles message passing to and from the RNS.
userService - Static variable in class roomba.roombanetwork.services.userservice.UserService
 
UserTestService - Class in roomba.roombanetwork.services.userservice
 
UserTestService() - Constructor for class roomba.roombanetwork.services.userservice.UserTestService
 

V

verifyMessage(String, String[]) - Static method in class roomba.roombanetwork.client.MessageVerifier
Verifies an incoming message for proper format
VERTEX_TOLERANCE - Static variable in class roomba.roombanetwork.services.camloc.travelgraph.ImageVertex
 
VideoCapture - Class in roomba.roombanetwork.services.image.isight
Captures video from a quicktime resource
VideoCapture(int, int) - Constructor for class roomba.roombanetwork.services.image.isight.VideoCapture
Constructor - Starts the video capture with a specified width and height
VIEWING_WINDOW - Static variable in class roomba.roombanetwork.services.image.Track
 

W

waitForBump() - Method in class roomba.roombanetwork.services.userservice.Roomba
This method will block until either bump sensor is detected
waitForVirtualWall() - Method in class roomba.roombanetwork.services.userservice.Roomba
This method will block until a virtual wall is detected

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