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

A

actionPerformed(ActionEvent) - Method in class maslab.telemetry.botclient.BotClient
 
actionPerformed(ActionEvent) - Method in class maslab.telemetry.botclient.ControlPanel
 
actionPerformed(ActionEvent) - Method in class maslab.telemetry.botclient.ImagePlugin
 
addChannel(String, String) - Method in class maslab.telemetry.botclient.ImagePlugin
 
addChannel(String, String) - Method in interface maslab.telemetry.botclient.Plugin
Return true if you can properly handle this new channel (without dropping any existing channels).
addChannel(String, String) - Method in class maslab.telemetry.botclient.ScopePlugin
 
addChannel(String, String) - Method in class maslab.telemetry.botclient.TextPlugin
 
addChannel(String, String) - Method in class maslab.telemetry.botclient.VectorPlugin
 
addCommandListener(JugMessageListener) - Static method in class maslab.telemetry.channel.Channel
Add a new listener to receive messages from the BotClient.
addDataListener(DataListener) - Method in class maslab.data.DataSource
 
addDataSource(DataSource) - Method in class maslab.data.DataLogWriter
 
addEventSource(ClockEventSource) - Method in class maslab.data.Clock
 
addPublisher(LoggerPublisher) - Static method in class maslab.util.Logger
Add a new publisher
addStatusListener(StatusListener) - Method in class maslab.telemetry.JugClient
Add a StatusListener who will be notified of connection/disconnection events and new channel events.
aDesktop - Static variable in class maslab.telemetry.botclient.BotClient
 
advertise(String) - Method in class maslab.telemetry.JugClient
Advertise the existence of a new channel.

B

blue - Variable in class maslab.debug.color_msg_t
 
booleanValue - Variable in class maslab.telemetry.StatusEvent
 
BotClient - Class in maslab.telemetry.botclient
The main class for the BotClient application, used for viewing robot data remotely.
BotClient() - Constructor for class maslab.telemetry.botclient.BotClient
 

C

Camera - Class in maslab.camera
Provides a wrapper around v4l4j drivers for the webcam.
Camera(String, int, int, int) - Constructor for class maslab.camera.Camera
Opens a camera using the specified device, width, height, and full quality.
Camera(String, int, int) - Constructor for class maslab.camera.Camera
Opens a camera using the specified device, width, height, and full quality.
Camera(String) - Constructor for class maslab.camera.Camera
Same as Camera(dev, DEFAULT_WIDTH, DEFAULT_HEIGHT)
CameraViewer - Class in maslab.camera
 
CameraViewer(String, int, int) - Constructor for class maslab.camera.CameraViewer
 
capture() - Method in class maslab.camera.Camera
Deprecated. 
capture(boolean) - Method in class maslab.camera.Camera
Return the BufferedImage provided by v4l4j.
CarOdometryDataSource - Class in maslab.odom
This data source can be used for any car-style robot.
CarOdometryDataSource(String) - Constructor for class maslab.odom.CarOdometryDataSource
 
Channel - Class in maslab.telemetry.channel
Abstract parent class for all channel types.
Channel() - Constructor for class maslab.telemetry.channel.Channel
 
channelSelect(BufferedImage, int) - Static method in class maslab.camera.ImageUtil
 
CIRCLE - Static variable in class maslab.telemetry.channel.VectorChannel
 
CLEAR - Static variable in class maslab.telemetry.channel.VectorChannel
 
clear() - Method in class maslab.telemetry.channel.VectorChannel
Delete all objects from the channel.
Clock - Class in maslab.data
A Clock allows applications to seamlessly interchange live runs with simulated data.
Clock() - Constructor for class maslab.data.Clock
Produce a started realtime clock.
Clock(double) - Constructor for class maslab.data.Clock
How fast should time travel? Set to <0 for "fast as possible", 1.0 for real time.
ClockEventSource - Interface in maslab.data
 
cloneImage(BufferedImage) - Static method in class maslab.camera.ImageUtil
Clone an image.
close() - Method in class maslab.camera.Camera
Releases the resources used by this camera and removes the shutdown hook.
close() - Method in class maslab.data.DataLogWriter
 
closestPoint(GPoint2D) - Method in class maslab.geom.GLineSegment2D
 
color_msg_t - Class in maslab.debug
 
color_msg_t() - Constructor for class maslab.debug.color_msg_t
 
color_msg_t(byte[]) - Constructor for class maslab.debug.color_msg_t
 
color_msg_t(DataInput) - Constructor for class maslab.debug.color_msg_t
 
ColorChannel - Class in maslab.debug
 
ColorChannel(String) - Constructor for class maslab.debug.ColorChannel
 
ColorTest - Class in maslab.test
 
ColorTest() - Constructor for class maslab.test.ColorTest
 
ConsoleLoggerPublisher - Class in maslab.util
A simple publisher for the Logger class that simply prints to the console.
ConsoleLoggerPublisher() - Constructor for class maslab.util.ConsoleLoggerPublisher
Create a new publisher with a default threshold of verbose.
consolePublisher - Static variable in class maslab.util.Logger
 
ControlPanel - Class in maslab.telemetry.botclient
The control panel window for BotClient.
ControlPanel(BotClient) - Constructor for class maslab.telemetry.botclient.ControlPanel
 
convertImage(BufferedImage, int) - Static method in class maslab.camera.ImageUtil
Ensure an image is of the right format, converting it to the format if necessary.
copy() - Method in class maslab.debug.color_msg_t
 
copy() - Method in class maslab.debug.image_msg_t
 
copy() - Method in class maslab.debug.text_msg_t
 

D

DataEvent - Class in maslab.data
You must support an empty constructor, but that object only needs to be able to factory new objects via read.
DataEvent(double) - Constructor for class maslab.data.DataEvent
 
DataListener - Interface in maslab.data
 
DataLogReader - Class in maslab.data
Can we factor out the Reader from the Runner?
DataLogReader(String) - Constructor for class maslab.data.DataLogReader
A log specification:
DataLogReader.SourceEventPair - Class in maslab.data
 
DataLogReader.SourceEventPair(DataSource, DataEvent) - Constructor for class maslab.data.DataLogReader.SourceEventPair
 
DataLogRunner - Class in maslab.data
 
DataLogRunner(Clock, String) - Constructor for class maslab.data.DataLogRunner
 
DataLogRunner(Clock, DataLogReader) - Constructor for class maslab.data.DataLogRunner
 
DataLogRunner(Clock, DataLogReader, double) - Constructor for class maslab.data.DataLogRunner
 
DataLogWriter - Class in maslab.data
 
DataLogWriter(String) - Constructor for class maslab.data.DataLogWriter
Open a new log for writing.
DataSource - Class in maslab.data
A data source publishes data to listeners.
DataSource(String) - Constructor for class maslab.data.DataSource
 
DEBUG - Static variable in class maslab.util.Logger
extensive debugging information
debug(String) - Method in class maslab.util.Logger
A convenience method
DEFAULT_HEIGHT - Static variable in class maslab.camera.Camera
The default height of the picture returned by this camera.
DEFAULT_WIDTH - Static variable in class maslab.camera.Camera
The default width of the picture returned by this camera.
DefaultHandlers - Class in maslab.telemetry.botclient
Stores which plugins are default for which types.
DefaultHandlers(PluginController) - Constructor for class maslab.telemetry.botclient.DefaultHandlers
 
DEFAULTPORT - Static variable in class maslab.telemetry.JugHub
The default port to listen for incoming TCP connections
DELETE - Static variable in class maslab.telemetry.channel.VectorChannel
 
delete(int) - Method in class maslab.telemetry.channel.VectorChannel
Delete a previously drawn object.
DifferentialOdometryDataSource - Class in maslab.odom
This data source can be used for any differentially-driven robot.
DifferentialOdometryDataSource(String) - Constructor for class maslab.odom.DifferentialOdometryDataSource
 
directReceive(JugPacket) - Method in class maslab.telemetry.JugHub
Receives a packet of type COMMAND_MSG from a client in the same JVM.
displayQueueSizes() - Method in class maslab.telemetry.JugClient
As a debugging aid, dump the sizes of each queue to stdout.
distanceTo(GPoint2D) - Method in class maslab.geom.GLine2D
 
distanceTo(GPoint2D) - Method in class maslab.geom.GLineSegment2D
 
distanceTo(GPoint2D) - Method in class maslab.geom.GPoint2D
 
ditherImageFloydSteinberg(BufferedImage) - Static method in class maslab.camera.ImageUtil
Convert an arbitrary input image into a black and white dithered image (using the Floyd-Steinberg dithering algorithm with auto thresholding) suitable for display on the lcd panel.
ditherImageRandom(BufferedImage) - Static method in class maslab.camera.ImageUtil
Convert an arbitrary input image into a black and white dithered image (using random diffusion.) This produces relatively awful results compared to Floyd-Steinberg.
DOT - Static variable in class maslab.telemetry.channel.VectorChannel
 
doubleEquals(double, double) - Static method in class maslab.util.MathUtil
Returns true if the two doubles are within a small epsilon of each other.
drawCircle(int, int, int) - Method in class maslab.telemetry.channel.VectorChannel
Draw a circle.
drawLine(int, int, int, int) - Method in class maslab.telemetry.channel.VectorChannel
Draw a line.
dtheta - Variable in class maslab.odom.OdomData
 
dx - Variable in class maslab.odom.OdomData
 
dy - Variable in class maslab.odom.OdomData
 

E

encode(DataOutput) - Method in class maslab.debug.color_msg_t
 
encode(DataOutput) - Method in class maslab.debug.image_msg_t
 
encode(DataOutput) - Method in class maslab.debug.text_msg_t
 
ERROR - Static variable in class maslab.util.Logger
failure has occurred, typically fatal
error(String, Exception) - Method in class maslab.util.Logger
A convenience method
error(String) - Method in class maslab.util.Logger
A convenience method
event - Variable in class maslab.data.DataLogReader.SourceEventPair
 
exceptionReceived(V4L4JException) - Method in class maslab.camera.Camera
 

F

findMaslabWebCam() - Static method in class maslab.camera.Camera
Searches through the first 10 available video devices and finds the Maslab camera.
forceRealtime() - Method in class maslab.data.Clock
Can be called to force timeDialation=1.0 (e.g., realtime).
formatDouble(double, int) - Static method in class maslab.util.StringUtil
 
formatHex(long, int) - Static method in class maslab.util.StringUtil
 
fromRmatrix(Matrix) - Static method in class maslab.geom.GLine2D
Create a line from the vector from the origin to the line that is perpendicular to the line.
fromRTheta(double, double) - Static method in class maslab.geom.GLine2D
Create a new line given a distance and angle from the origin that is perpendicular to the line.
fromThetaPoint(double, GPoint2D) - Static method in class maslab.geom.GLine2D
Create a line that is at angle theta from the x axis and passes through point p
fsplit(String, int) - Static method in class maslab.data.DataSource
 

G

GeomUtil - Class in maslab.geom
Utilities to convert to and from [DX DY DTHETA] and proper transformation matrices
GeomUtil() - Constructor for class maslab.geom.GeomUtil
 
get(String) - Method in class maslab.data.SimpleProperties
 
getB() - Method in class maslab.geom.GLine2D
Get the y intercept of the line
getBlock() - Method in class maslab.telemetry.MTQueue
Get the oldest object in the queue, waiting until an object is available if necessary.
getBoolean(String, boolean) - Method in class maslab.data.SimpleProperties
 
getBrightness() - Method in class maslab.camera.Camera
Returns -1 if there is an error.
getChannelName() - Method in class maslab.data.DataSource
 
getChannels() - Method in class maslab.telemetry.botclient.BotClient
Get a list of available channels.
getChannels() - Method in class maslab.telemetry.JugClient
Get a list of all channels which are currently advertised.
getContrast() - Method in class maslab.camera.Camera
Returns -1 if there is an error.
getControlList() - Method in class maslab.camera.Camera
Return the v4l4j ControlList used to modify the parameters on the camera.
getDataSource(String) - Method in class maslab.data.DataLogReader
 
getDevice() - Method in class maslab.camera.Camera
Return the device name that this camera is associated with.
getDistX(GPoint2D) - Method in class maslab.geom.GLine2D
Is point p to the left of the line?
getDistY(GPoint2D) - Method in class maslab.geom.GLine2D
What is the vertical distance between p and the line?
getDouble(String, double) - Method in class maslab.data.SimpleProperties
 
getDx() - Method in class maslab.geom.GLine2D
Get component of unit vector
getDy() - Method in class maslab.geom.GLine2D
Get component of unit vector
getEventThread() - Method in class maslab.data.Clock
 
getExposure() - Method in class maslab.camera.Camera
Returns -1 if there is an error.
getHeight() - Method in class maslab.camera.Camera
Return the true height of pictures returned by this Camera.
getInt(String, int) - Method in class maslab.data.SimpleProperties
 
getLine() - Method in class maslab.geom.GLineSegment2D
 
getLineCoordinate(GPoint2D) - Method in class maslab.geom.GLine2D
Get the coordinate of a point (on this line), with 0 corresponding to the point on the line that is perpendicular to a line passing through the origin and the line.
getList() - Method in class maslab.telemetry.MTQueue
Return a list-view of this queue.
getM() - Method in class maslab.geom.GLine2D
Get the slope of the line
getMaxBrightness() - Method in class maslab.camera.Camera
 
getMaxContrast() - Method in class maslab.camera.Camera
 
getMaxExposure() - Method in class maslab.camera.Camera
 
getMaxSharpness() - Method in class maslab.camera.Camera
 
getMaxValue(String) - Method in class maslab.camera.Camera
 
getMaxWhiteBalance() - Method in class maslab.camera.Camera
 
getMinBrightness() - Method in class maslab.camera.Camera
 
getMinContrast() - Method in class maslab.camera.Camera
 
getMinExposure() - Method in class maslab.camera.Camera
 
getMinSharpness() - Method in class maslab.camera.Camera
 
getMinValue(String) - Method in class maslab.camera.Camera
 
getMinWhiteBalance() - Method in class maslab.camera.Camera
 
getNameFromObject(Object) - Static method in class maslab.util.Logger
 
getParameters() - Method in class maslab.data.DataSource
Retrieve a (preferrably human readable) string of parameters for this source.
getParameters() - Method in class maslab.odom.CarOdometryDataSource
 
getParameters() - Method in class maslab.odom.DifferentialOdometryDataSource
 
getParameters() - Method in class maslab.odom.IntegratedOdometryDataSource
 
getPointOfCoordinate(double) - Method in class maslab.geom.GLine2D
The inverse of getLineCoordinate.
getPoll() - Method in class maslab.telemetry.MTQueue
Get the oldest object in the queue, returning null if the queue is empty.
getPublisher() - Method in class maslab.util.JLoggerPublisher
 
getR() - Method in class maslab.geom.GLine2D
The 2x1 vector from the origin to the line that is perpendicular to the line.
getRecordsWritten() - Method in class maslab.data.DataLogWriter
 
getSharpness() - Method in class maslab.camera.Camera
Returns -1 if there is an error.
getString(String, String) - Method in class maslab.data.SimpleProperties
 
getTheta() - Method in class maslab.geom.GLine2D
Get the angle of the line (the angle between the line and the X axis.) Note that a line has two possible values, T and T+180.
getTime() - Method in class maslab.data.Clock
Returns zero if the clock has not yet been started.
getTimeStamp() - Method in class maslab.data.DataEvent
The time when the event occured (time base = 0)
getU() - Method in class maslab.geom.GLine2D
The 2x1 unit vector corresponding to the slope of the line.
getValue(String) - Method in class maslab.camera.Camera
Returns -1 if there is an error.
getWallTime() - Method in class maslab.data.Clock
 
getWhiteBalance() - Method in class maslab.camera.Camera
Returns -1 if there is an error.
getWidth() - Method in class maslab.camera.Camera
Return the true width of pictures returned by this Camera.
getX() - Method in class maslab.geom.GPoint2D
 
getY() - Method in class maslab.geom.GPoint2D
 
GLine2D - Class in maslab.geom
A 2D line
GLine2D() - Constructor for class maslab.geom.GLine2D
 
GLine2D(double, double, GPoint2D) - Constructor for class maslab.geom.GLine2D
Create a new line
GLine2D(double, double) - Constructor for class maslab.geom.GLine2D
Create a new line
GLine2D(GPoint2D, GPoint2D) - Constructor for class maslab.geom.GLine2D
Create a new line through two points.
GLineSegment2D - Class in maslab.geom
 
GLineSegment2D(GPoint2D, GPoint2D) - Constructor for class maslab.geom.GLineSegment2D
 
GPoint2D - Class in maslab.geom
A 2D point *
GPoint2D() - Constructor for class maslab.geom.GPoint2D
 
GPoint2D(double, double) - Constructor for class maslab.geom.GPoint2D
 
green - Variable in class maslab.debug.color_msg_t
 

H

height - Variable in class maslab.debug.image_msg_t
 
HueSaturationPlot - Class in maslab.telemetry.botclient
 
HueSaturationPlot(int, int) - Constructor for class maslab.telemetry.botclient.HueSaturationPlot
 

I

image_msg_t - Class in maslab.debug
 
image_msg_t() - Constructor for class maslab.debug.image_msg_t
 
image_msg_t(byte[]) - Constructor for class maslab.debug.image_msg_t
 
image_msg_t(DataInput) - Constructor for class maslab.debug.image_msg_t
 
ImageChannel - Class in maslab.debug
 
ImageChannel(String) - Constructor for class maslab.debug.ImageChannel
 
ImageChannel - Class in maslab.telemetry.channel
Channel for publishing images to the BotClient.
ImageChannel(String) - Constructor for class maslab.telemetry.channel.ImageChannel
Create a new ImageChannel with compression off and downsampling=1.
ImageChannel(String, boolean) - Constructor for class maslab.telemetry.channel.ImageChannel
Create a new ImageChannel.
ImageChannel(String, boolean, int) - Constructor for class maslab.telemetry.channel.ImageChannel
Create a new ImageChannel.
ImagePlugin - Class in maslab.telemetry.botclient
 
ImagePlugin(JInternalFrame) - Constructor for class maslab.telemetry.botclient.ImagePlugin
 
ImageUtil - Class in maslab.camera
Useful image utilities.
ImageUtil() - Constructor for class maslab.camera.ImageUtil
 
in(JugPacket) - Method in class maslab.telemetry.JugHub.Connection
Called by a connection when a packet is received from a JugClient
init() - Method in class maslab.telemetry.JugHub.Connection
should be called by sub classes after initialization is finished and connection is established.
IntegratedOdometryDataSource - Class in maslab.odom
Integrated odometry data is used by vehicles that give their odometry data in an already-integrated format.
IntegratedOdometryDataSource(String) - Constructor for class maslab.odom.IntegratedOdometryDataSource
 
intersectionWith(GLine2D) - Method in class maslab.geom.GLine2D
Compute the point where two lines intersect, or null if the lines are parallel.
intersectionWith(GLine2D) - Method in class maslab.geom.GLineSegment2D
Returns the point where this segment intersects this line, or null if they do not intersect.
intersectionWith(GLineSegment2D) - Method in class maslab.geom.GLineSegment2D
 
intValue - Variable in class maslab.telemetry.StatusEvent
 

J

JLoggerPublisher - Class in maslab.util
A simple publisher for the Logger class that displays to a Swing text area.
JLoggerPublisher() - Constructor for class maslab.util.JLoggerPublisher
Create a new publisher with a default threshold of verbose.
JugClient - Class in maslab.telemetry
Manages sending and receiving packets via a hub for inter-process/inter-robot communication.
JugClient() - Constructor for class maslab.telemetry.JugClient
Create a new client and connect to the hub on localhost using the default TCP port
JugClient(InetAddress, int) - Constructor for class maslab.telemetry.JugClient
Create a new client and connect to the hub on the specified host and port.
JugHub - Class in maslab.telemetry
Connects all clients together, distributing messages according to subscription and advertisement requests.
JugHub() - Constructor for class maslab.telemetry.JugHub
Create a new hub, listening on the default port.
JugHub.Connection - Class in maslab.telemetry
Represents one TCP connection to a client, including reader and writer threads.
JugHub.Connection() - Constructor for class maslab.telemetry.JugHub.Connection
 
JugHub.LocalConnection - Class in maslab.telemetry
 
JugHub.LocalConnection() - Constructor for class maslab.telemetry.JugHub.LocalConnection
 
JugHub.TCPConnection - Class in maslab.telemetry
 
JugHub.TCPConnection(Socket) - Constructor for class maslab.telemetry.JugHub.TCPConnection
 
JugLoggerPublisher - Class in maslab.telemetry
Channel for publishing text messages to the BotClient
JugLoggerPublisher(String) - Constructor for class maslab.telemetry.JugLoggerPublisher
Create a new TextChannel
JugMessageListener - Interface in maslab.telemetry
 
JugSubscriber - Interface in maslab.telemetry
 

L

LCM_FINGERPRINT - Static variable in class maslab.debug.color_msg_t
 
LCM_FINGERPRINT - Static variable in class maslab.debug.image_msg_t
 
LCM_FINGERPRINT - Static variable in class maslab.debug.text_msg_t
 
LCM_FINGERPRINT_BASE - Static variable in class maslab.debug.color_msg_t
 
LCM_FINGERPRINT_BASE - Static variable in class maslab.debug.image_msg_t
 
LCM_FINGERPRINT_BASE - Static variable in class maslab.debug.text_msg_t
 
length() - Method in class maslab.geom.GLineSegment2D
 
lengthOfProjectionOnto(GLineSegment2D) - Method in class maslab.geom.GLineSegment2D
 
levelToString(int) - Static method in class maslab.util.Logger
Convert an integer value corresponding to a debug level into a human-readable string, e.g.
line - Variable in class maslab.geom.GLineSegment2D
 
LINE - Static variable in class maslab.telemetry.channel.VectorChannel
 
localJugHub - Static variable in class maslab.telemetry.JugHub
 
log - Static variable in class maslab.telemetry.botclient.ScopePlugin
 
log - Static variable in class maslab.telemetry.botclient.VectorPlugin
 
log - Static variable in class maslab.telemetry.channel.VectorChannel
 
log(int, String) - Method in class maslab.util.Logger
Log a message for this channel
log(int, String, Exception) - Method in class maslab.util.Logger
Log a message for this channel
log(String, int, String, Exception) - Static method in class maslab.util.Logger
Produce a log message containing information about an exception that occured.
log(String, int, String) - Static method in class maslab.util.Logger
The actual log method.
Logger - Class in maslab.util
A simple logging facility designed for all of a program's textual output.
Logger(String) - Constructor for class maslab.util.Logger
Create a new logger with the specified name.
Logger(Object) - Constructor for class maslab.util.Logger
Create a logger which will take its name as the class name of the argument.
LoggerPublisher - Class in maslab.util
The base class of all LoggerPublishers.
LoggerPublisher() - Constructor for class maslab.util.LoggerPublisher
 

M

main(String[]) - Static method in class maslab.camera.Camera
Stand alone test program.
main(String[]) - Static method in class maslab.camera.CameraViewer
Defaults to w = 320, h = 240.
main(String[]) - Static method in class maslab.camera.Test
 
main(String[]) - Static method in class maslab.examples.SimpleRobot
 
main(String[]) - Static method in class maslab.examples.TeleDemo
 
main(String[]) - Static method in class maslab.geom.GeomUtil
Correctness tests
main(String[]) - Static method in class maslab.geom.GLine2D
Self tests
main(String[]) - Static method in class maslab.telemetry.botclient.BotClient
 
main(String[]) - Static method in class maslab.telemetry.botclient.HueSaturationPlot
 
main(String[]) - Static method in class maslab.telemetry.JugHub
Create a Hub on the default port and begin listening.
main(String[]) - Static method in class maslab.test.ColorTest
 
main(String[]) - Static method in class maslab.util.Logger
 
main(String[]) - Static method in class maslab.util.MathUtil
 
main(String[]) - Static method in class maslab.util.StringUtil
 
makeCamera() - Static method in class maslab.camera.Camera
This factory method attempts to find the Maslab camera and creates a Camera object with the default resolution and full quality.
makeCamera(String) - Static method in class maslab.camera.Camera
This factory method creates a Camera object with the default resolution and full quality on the specified device.
makeCamera(String, int, int) - Static method in class maslab.camera.Camera
This factory method constructs a camera with the given device, width, and height.
maslab.camera - package maslab.camera
 
maslab.data - package maslab.data
 
maslab.debug - package maslab.debug
 
maslab.examples - package maslab.examples
 
maslab.geom - package maslab.geom
 
maslab.odom - package maslab.odom
 
maslab.telemetry - package maslab.telemetry
 
maslab.telemetry.botclient - package maslab.telemetry.botclient
 
maslab.telemetry.channel - package maslab.telemetry.channel
 
maslab.test - package maslab.test
 
maslab.util - package maslab.util
 
MathUtil - Class in maslab.util
Useful math utilities.
MathUtil() - Constructor for class maslab.util.MathUtil
 
messageReceived(String, byte[]) - Method in class maslab.telemetry.botclient.ImagePlugin
 
messageReceived(String, byte[]) - Method in interface maslab.telemetry.botclient.Plugin
Handle data
messageReceived(String, byte[]) - Method in class maslab.telemetry.botclient.ScopePlugin
 
messageReceived(String, byte[]) - Method in class maslab.telemetry.botclient.TextPlugin
 
messageReceived(String, byte[]) - Method in class maslab.telemetry.botclient.VectorPlugin
 
messageReceived(String, byte[]) - Method in interface maslab.telemetry.JugMessageListener
 
messageReceived(String, byte[]) - Method in interface maslab.telemetry.JugSubscriber
 
mod2pi(double) - Static method in class maslab.util.MathUtil
Ensure that v is [-PI, PI]
mod2pi(double, double) - Static method in class maslab.util.MathUtil
Returns a value of v wrapped such that ref and v differ by no more +/-PI
MTQueue<T> - Class in maslab.telemetry
A simple queue useful for transferring data from one thread to another in a safe way.
MTQueue() - Constructor for class maslab.telemetry.MTQueue
Create a new queue.

N

name - Variable in class maslab.telemetry.StatusEvent
 
newDefaultHandler(String, String) - Method in class maslab.telemetry.botclient.BotClient
Create a new default handler.
newHandler(String, String, String) - Method in class maslab.telemetry.botclient.BotClient
Create a new handler.
next() - Method in class maslab.data.DataLogReader
 
nextFrame(VideoFrame) - Method in class maslab.camera.Camera
 
notifyLogWriters(double, String) - Method in class maslab.data.DataSource
Call this method whenever the source gets new data.

O

OdomData - Class in maslab.odom
OdomData represents a *relative* movement of the robot.
OdomData(double) - Constructor for class maslab.odom.OdomData
 
OdomData(double, double, double, double) - Constructor for class maslab.odom.OdomData
 
OdomIntegrator - Class in maslab.odom
 
OdomIntegrator() - Constructor for class maslab.odom.OdomIntegrator
 
optimize() - Method in class maslab.geom.GLine2D
Hint that the object should be optimized for future computation by putting the internal representation into a more convenient format.
ORIGIN - Static variable in class maslab.geom.GPoint2D
 
out(JugPacket) - Method in class maslab.telemetry.JugHub.Connection
JugHub calls this method when it wishes to send a message
out(JugPacket) - Method in class maslab.telemetry.JugHub.LocalConnection
 
out(JugPacket) - Method in class maslab.telemetry.JugHub.TCPConnection
JugHub calls this method when it wishes to send a message
OUTPUT - Static variable in class maslab.util.Logger
the expected output of the program.
output(String) - Method in class maslab.util.Logger
A convenience method
output(String, Exception) - Method in class maslab.util.Logger
A convenience method

P

p1 - Variable in class maslab.geom.GLineSegment2D
 
p2 - Variable in class maslab.geom.GLineSegment2D
 
padLeft(String, int, char) - Static method in class maslab.util.StringUtil
Pad a string with characters on the left.
padRight(String, int, char) - Static method in class maslab.util.StringUtil
Pad a string with characters on the right.
paint(Graphics) - Method in class maslab.telemetry.botclient.HueSaturationPlot
 
paint(Graphics) - Method in class maslab.telemetry.botclient.ScopePlugin
 
paint(Graphics) - Method in class maslab.telemetry.botclient.VectorPlugin
 
parallelLineThrough(GPoint2D) - Method in class maslab.geom.GLine2D
Return a line parallel to this line that passes through the specified point.
parseDouble(String) - Static method in class maslab.data.DataSource
 
parseDouble(String) - Static method in class maslab.util.StringUtil
Parse a number of the format XXXXX(.YYYY)?
parseProperties(String) - Method in class maslab.data.DataSource
A helper function, useful for many DataEvent implementations.
perpendicularDistanceTo(GPoint2D) - Method in class maslab.geom.GLine2D
Compute the perpendicular distance between a point and the line
perpendicularLine() - Method in class maslab.geom.GLine2D
A line perpendicular to this line.
perpendicularLineThrough(GPoint2D) - Method in class maslab.geom.GLine2D
The line perpendicular to this line that passes through point p
pixels - Variable in class maslab.debug.image_msg_t
 
plotPoint(Color) - Method in class maslab.telemetry.botclient.HueSaturationPlot
 
Plugin - Interface in maslab.telemetry.botclient
To write a plugin, implement this interface.
pointOnLineClosestTo(GPoint2D) - Method in class maslab.geom.GLine2D
 
print(String) - Method in class maslab.debug.TextChannel
 
print(Object) - Method in class maslab.debug.TextChannel
 
print(byte) - Method in class maslab.debug.TextChannel
 
print(char) - Method in class maslab.debug.TextChannel
 
print(short) - Method in class maslab.debug.TextChannel
 
print(int) - Method in class maslab.debug.TextChannel
 
print(long) - Method in class maslab.debug.TextChannel
 
print(float) - Method in class maslab.debug.TextChannel
 
print(double) - Method in class maslab.debug.TextChannel
 
println(String) - Method in class maslab.debug.TextChannel
 
println(Object) - Method in class maslab.debug.TextChannel
 
println(byte) - Method in class maslab.debug.TextChannel
 
println(char) - Method in class maslab.debug.TextChannel
 
println(short) - Method in class maslab.debug.TextChannel
 
println(int) - Method in class maslab.debug.TextChannel
 
println(long) - Method in class maslab.debug.TextChannel
 
println(float) - Method in class maslab.debug.TextChannel
 
println(double) - Method in class maslab.debug.TextChannel
 
processDataEvent(DataSource, DataEvent) - Method in interface maslab.data.DataListener
Called by a DataSource when data becomes available.
properties - Variable in class maslab.data.SimpleProperties
 
publish(Color) - Method in class maslab.debug.ColorChannel
 
publish(int) - Method in class maslab.debug.ColorChannel
 
publish(int, int, int) - Method in class maslab.debug.ColorChannel
 
publish(RenderedImage) - Method in class maslab.debug.ImageChannel
 
publish(Raster) - Method in class maslab.debug.ImageChannel
 
publish(int[][]) - Method in class maslab.debug.ImageChannel
 
publish(BufferedImage) - Method in class maslab.telemetry.channel.ImageChannel
Send an image to the BotClient, if any BotClient is connected and subscribing to this channel.
publish(double) - Method in class maslab.telemetry.channel.ScopeChannel
Plot a point on the time graph.
publish(String) - Method in class maslab.telemetry.channel.TextChannel
Send a text message to the BotClient.
publish(String, byte[]) - Method in class maslab.telemetry.JugClient
Publish data on a previously advertised channel.
publish(String, int, String) - Method in class maslab.util.ConsoleLoggerPublisher
Called when data is published.
publish(String, int, String) - Method in class maslab.util.LoggerPublisher
Called when new data is published by any channel.
publishing(String) - Method in class maslab.telemetry.JugClient
Determine if a message would actually be sent on a channel.
publishUnconditional(String, int, String) - Method in class maslab.telemetry.JugLoggerPublisher
 
publishUnconditional(String, int, String) - Method in class maslab.util.LoggerPublisher
 
put(String, String) - Method in class maslab.data.SimpleProperties
 
put(T) - Method in class maslab.telemetry.MTQueue
Put a new object in the end of the queue.

R

readExternal(ObjectInput) - Method in class maslab.geom.GPoint2D
 
reconnect(InetAddress, int) - Method in class maslab.telemetry.JugClient
 
red - Variable in class maslab.debug.color_msg_t
 
relativeTo(Matrix, Matrix) - Static method in class maslab.geom.GeomUtil
Given two transformation matrices a and b, a=Mb.
removeChannel(String) - Method in class maslab.telemetry.botclient.ImagePlugin
 
removeChannel(String) - Method in interface maslab.telemetry.botclient.Plugin
Self explanatory
removeChannel(String) - Method in class maslab.telemetry.botclient.ScopePlugin
 
removeChannel(String) - Method in class maslab.telemetry.botclient.TextPlugin
 
removeChannel(String) - Method in class maslab.telemetry.botclient.VectorPlugin
 
removeDataListener(DataListener) - Method in class maslab.data.DataSource
 
removePublisher(LoggerPublisher) - Static method in class maslab.util.Logger
Remove a publisher that has previously been added.
removeStatusListener(StatusListener) - Method in class maslab.telemetry.JugClient
Remove a StatusListener
requireBoolean(String) - Method in class maslab.data.SimpleProperties
 
requireDouble(String) - Method in class maslab.data.SimpleProperties
 
requireInt(String) - Method in class maslab.data.SimpleProperties
 
requireString(String, String) - Method in class maslab.data.SimpleProperties
 
rgbToHsv(BufferedImage) - Static method in class maslab.camera.ImageUtil
 
run(boolean, boolean) - Method in class maslab.camera.CameraViewer
 
run() - Method in class maslab.examples.SimpleRobot
 
run() - Method in class maslab.examples.TeleDemo
 
run() - Method in class maslab.test.ColorTest
 

S

scale(double) - Method in class maslab.geom.GPoint2D
 
scaleImage(BufferedImage, int, int) - Static method in class maslab.camera.ImageUtil
Scale an image.
ScopeChannel - Class in maslab.telemetry.channel
Channel for displaying time-varying analog values to the BotClient
ScopeChannel(String) - Constructor for class maslab.telemetry.channel.ScopeChannel
Create a new ScopeChannel
ScopePlugin - Class in maslab.telemetry.botclient
 
ScopePlugin(JInternalFrame) - Constructor for class maslab.telemetry.botclient.ScopePlugin
 
serialVersionUID - Static variable in class maslab.telemetry.botclient.BotClient
 
serialVersionUID - Static variable in class maslab.telemetry.botclient.VectorPlugin
 
serialVersionUID - Static variable in class maslab.telemetry.StatusEvent
 
setBrightness(int) - Method in class maslab.camera.Camera
Returns -1 if there is an error.
setColor(Color) - Method in class maslab.telemetry.channel.VectorChannel
Set the current drawing color.
setContrast(int) - Method in class maslab.camera.Camera
Returns -1 if there is an error.
setExposure(int) - Method in class maslab.camera.Camera
Returns -1 if there is an error.
setGlobalLevel(int) - Method in class maslab.util.LoggerPublisher
Set a new default threshold for publishing.
setIP(InetAddress) - Method in class maslab.telemetry.botclient.BotClient
Set the address of the robot.
setLevel(String, int) - Method in class maslab.util.LoggerPublisher
Set a per-channel threshold for publishing.
setLevel(Object, int) - Method in class maslab.util.LoggerPublisher
 
setMaximumQueueSize(String, int) - Method in class maslab.telemetry.JugClient
Limit the number of messages that can be queued up on a particular channel.
setParameters(String) - Method in class maslab.data.DataSource
Set parameters, as read from a configuration file.
setParameters(String) - Method in class maslab.odom.CarOdometryDataSource
 
setParameters(String) - Method in class maslab.odom.DifferentialOdometryDataSource
 
setParameters(String) - Method in class maslab.odom.IntegratedOdometryDataSource
 
setSharpness(int) - Method in class maslab.camera.Camera
Returns -1 if there is an error.
setValue(String, int) - Method in class maslab.camera.Camera
Returns -1 if there is an error while setting the value.
setWhiteBalance(int) - Method in class maslab.camera.Camera
Returns -1 if there is an error.
SILENT - Static variable in class maslab.util.Logger
Used only by LoggerPublishers: indicates that no messages should be published.
SimpleProperties - Class in maslab.data
 
SimpleProperties() - Constructor for class maslab.data.SimpleProperties
 
SimpleRobot - Class in maslab.examples
A simple robot implementation.
SimpleRobot() - Constructor for class maslab.examples.SimpleRobot
Create a new robot.
size() - Method in class maslab.telemetry.MTQueue
 
sleep(double) - Method in class maslab.data.Clock
must NOT be called from our EventThread
sleepUntilTime(double) - Method in class maslab.data.Clock
 
source - Variable in class maslab.data.DataLogReader.SourceEventPair
 
split(String, String) - Static method in class maslab.util.StringUtil
Encapsulates the functionality of StringTokenizer in semantics that look more like String.split(), a function that is only available in Java 1.4.
squaredDistanceTo(GPoint2D) - Method in class maslab.geom.GLineSegment2D
 
squaredDistanceTo(GPoint2D) - Method in class maslab.geom.GPoint2D
 
start() - Method in class maslab.data.Clock
Starts the clock.
startTime - Static variable in class maslab.util.Logger
 
statusChanged(StatusEvent) - Method in class maslab.telemetry.botclient.ControlPanel
 
statusChanged(StatusEvent) - Method in class maslab.telemetry.botclient.ScopePlugin
 
statusChanged(StatusEvent) - Method in class maslab.telemetry.botclient.VectorPlugin
 
statusChanged(StatusEvent) - Method in interface maslab.telemetry.StatusListener
 
StatusEvent - Class in maslab.telemetry
 
StatusEvent(Object) - Constructor for class maslab.telemetry.StatusEvent
 
StatusListener - Interface in maslab.telemetry
 
stringToEvent(double, String) - Method in class maslab.data.DataSource
Called by DataLogReader when a DataEvent record is encountered for this data source.
stringToEvent(double, String) - Method in class maslab.odom.CarOdometryDataSource
 
stringToEvent(double, String) - Method in class maslab.odom.DifferentialOdometryDataSource
 
stringToEvent(double, String) - Method in class maslab.odom.IntegratedOdometryDataSource
 
StringUtil - Class in maslab.util
Various useful functions for strings.
StringUtil() - Constructor for class maslab.util.StringUtil
 
subscribe(String, JugMessageListener) - Method in class maslab.telemetry.JugClient
Subscribe to a channel.

T

TeleDemo - Class in maslab.examples
Demonstrates how to use the maslab.telemetry package to view data from your robot remotely.
TeleDemo() - Constructor for class maslab.examples.TeleDemo
 
Test - Class in maslab.camera
 
Test() - Constructor for class maslab.camera.Test
 
text - Variable in class maslab.debug.text_msg_t
 
text_msg_t - Class in maslab.debug
 
text_msg_t() - Constructor for class maslab.debug.text_msg_t
 
text_msg_t(byte[]) - Constructor for class maslab.debug.text_msg_t
 
text_msg_t(DataInput) - Constructor for class maslab.debug.text_msg_t
 
TextChannel - Class in maslab.debug
Channel for sending raw text, as if to stdout.
TextChannel(String) - Constructor for class maslab.debug.TextChannel
 
TextChannel - Class in maslab.telemetry.channel
Channel for publishing text messages to the BotClient
TextChannel(String) - Constructor for class maslab.telemetry.channel.TextChannel
Create a new TextChannel
TextPlugin - Class in maslab.telemetry.botclient
 
TextPlugin(JInternalFrame) - Constructor for class maslab.telemetry.botclient.TextPlugin
 
theta - Variable in class maslab.odom.OdomIntegrator
 
timeChanged(double) - Method in interface maslab.data.ClockEventSource
Called to indicate the passage of time.
timeOfNextEvent() - Method in interface maslab.data.ClockEventSource
Called to find out the next discrete event that this source knows about.
timeStamp - Variable in class maslab.data.DataEvent
 
toggleAutoExposure() - Method in class maslab.camera.Camera
 
toggleAutoWhiteBalance() - Method in class maslab.camera.Camera
 
toString() - Method in class maslab.geom.GLine2D
 
toString() - Method in class maslab.geom.GPoint2D
 
transform(Matrix) - Method in class maslab.geom.GLineSegment2D
 
transform(double, double, double) - Method in class maslab.geom.GPoint2D
Transform the point by rotating it, then translating it.
transform(Matrix) - Method in class maslab.geom.GPoint2D
Transform the point by premultiplying by the provided 3x3 matrix.
transform(ArrayList<GPoint2D>, Matrix) - Static method in class maslab.geom.GPoint2D
 
transformationInverse31(Matrix) - Static method in class maslab.geom.GeomUtil
 
transformationInverse31(Matrix, Matrix) - Static method in class maslab.geom.GeomUtil
 
transformationMatrix31(Matrix) - Static method in class maslab.geom.GeomUtil
 
transformationMatrix33(Matrix) - Static method in class maslab.geom.GeomUtil
 
transformationMatrix33(double, double, double) - Static method in class maslab.geom.GeomUtil
 
transformationMultiply31(Matrix, Matrix) - Static method in class maslab.geom.GeomUtil
 
transformationMultiply31(Matrix, Matrix, Matrix) - Static method in class maslab.geom.GeomUtil
 
transformationMultiply33(Matrix, Matrix) - Static method in class maslab.geom.GeomUtil
 
transformSegments(ArrayList<GLineSegment2D>, Matrix) - Static method in class maslab.geom.GLineSegment2D
 
types - Static variable in class maslab.telemetry.botclient.ImagePlugin
 
types - Static variable in interface maslab.telemetry.botclient.Plugin
A comma-separated list of types that this plugin can handle.
types - Static variable in class maslab.telemetry.botclient.ScopePlugin
 
types - Static variable in class maslab.telemetry.botclient.TextPlugin
 
types - Static variable in class maslab.telemetry.botclient.VectorPlugin
 

U

unadvertise(String) - Method in class maslab.telemetry.JugClient
Unadvertise a channel.
unsubscribe(String, JugMessageListener) - Method in class maslab.telemetry.JugClient
Unsubscribe to a channel.
update(OdomData) - Method in class maslab.odom.OdomIntegrator
 
userCommand(String) - Method in class maslab.telemetry.botclient.BotClient
Send a command to the robot.

V

VDEBUG - Static variable in class maslab.util.Logger
ludicrous quantities of debug information
vdebug(String) - Method in class maslab.util.Logger
A convenience method
VectorChannel - Class in maslab.telemetry.channel
Channel for sending vector graphics to the BotClient.
VectorChannel(String) - Constructor for class maslab.telemetry.channel.VectorChannel
Create a new VectorChannel
VectorPlugin - Class in maslab.telemetry.botclient
 
VectorPlugin(JInternalFrame) - Constructor for class maslab.telemetry.botclient.VectorPlugin
 
VERBOSE - Static variable in class maslab.util.Logger
occasional status messages
verbose(String) - Method in class maslab.util.Logger
A convenience method
version - Static variable in class maslab.telemetry.botclient.BotClient
 
VVERBOSE - Static variable in class maslab.util.Logger
more frequent status messages
vverbose(String) - Method in class maslab.util.Logger
A convenience method

W

WARN - Static variable in class maslab.util.Logger
a recoverable failure has occurred, or something suspicious occured.
warn(String, Exception) - Method in class maslab.util.Logger
A convenience method
warn(String) - Method in class maslab.util.Logger
A convenience method
weight - Variable in class maslab.geom.GLineSegment2D
 
width - Variable in class maslab.debug.image_msg_t
 
writeEvent(DataSource, double, String) - Method in class maslab.data.DataLogWriter
 
writeExternal(ObjectOutput) - Method in class maslab.geom.GPoint2D
 

X

x - Variable in class maslab.odom.OdomIntegrator
 

Y

y - Variable in class maslab.odom.OdomIntegrator
 

_

_decodeRecursive(DataInput) - Method in class maslab.debug.color_msg_t
 
_decodeRecursive(DataInput) - Method in class maslab.debug.image_msg_t
 
_decodeRecursive(DataInput) - Method in class maslab.debug.text_msg_t
 
_decodeRecursiveFactory(DataInput) - Static method in class maslab.debug.color_msg_t
 
_decodeRecursiveFactory(DataInput) - Static method in class maslab.debug.image_msg_t
 
_decodeRecursiveFactory(DataInput) - Static method in class maslab.debug.text_msg_t
 
_encodeRecursive(DataOutput) - Method in class maslab.debug.color_msg_t
 
_encodeRecursive(DataOutput) - Method in class maslab.debug.image_msg_t
 
_encodeRecursive(DataOutput) - Method in class maslab.debug.text_msg_t
 
_hashRecursive(ArrayList<Class>) - Static method in class maslab.debug.color_msg_t
 
_hashRecursive(ArrayList<Class>) - Static method in class maslab.debug.image_msg_t
 
_hashRecursive(ArrayList<Class>) - Static method in class maslab.debug.text_msg_t
 

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