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

A

addLayoutComponent(String, Component) - Method in class orc.spy.WeightedGridLayout
 
addListener(OrcListener) - Method in class orc.Orc
 
addListener(SmallSlider.Listener) - Method in class orc.spy.SmallSlider
 
ADIS16350 - Class in orc
ADIS16350 6-DOF gyro connected via SPI
ADIS16350(Orc) - Constructor for class orc.ADIS16350
 
ADXL345 - Class in orc
Class for communicating with an ADXL345 3-axis accelerometer via the I2C port (use the 3.3V connection).
ADXL345(Orc) - Constructor for class orc.ADXL345
 
AnalogInput - Class in orc
Represents one of the 14bit external ADC ports.
AnalogInput(Orc, int) - Constructor for class orc.AnalogInput
 
analogInput - Variable in class orc.OrcStatus
 
analogInputFilterAlpha - Variable in class orc.OrcStatus
 
analogInputFiltered - Variable in class orc.OrcStatus
 
AX12Servo - Class in orc
 
AX12Servo(Orc, int) - Constructor for class orc.AX12Servo
 
AX12Status - Class in orc
 
AX12Status() - Constructor for class orc.AX12Status
 

B

beginConversion(int) - Method in class orc.TLC3548
 

C

calibrate(double) - Method in class orc.Gyro
Calibrate the gyro while the gyro remains motionless.
Camera - Class in orc.camera
 
Camera(String) - Constructor for class orc.camera.Camera
Open a camera.
CameraViewer - Class in orc.camera
 
CameraViewer(String) - Constructor for class orc.camera.CameraViewer
 
capture() - Method in class orc.camera.Camera
Capture a single frame, allocating a new buffer.
capture(BufferedImage) - Method in class orc.camera.Camera
Capture a single frame.
channelSelect(BufferedImage, int) - Static method in class orc.camera.ImageUtil
 
cloneImage(BufferedImage) - Static method in class orc.camera.ImageUtil
Clone an image.
close() - Method in class orc.camera.Camera
Close the camera.
componentToImage(Point) - Method in class orc.util.JImage
 
convertImage(BufferedImage, int) - Static method in class orc.camera.ImageUtil
Ensure an image is of the right format, converting it to the format if necessary.
createImage() - Method in class orc.camera.Camera
Create a BufferedImage with the correct format/bitdepth for future capture operations.

D

debugCharsWaiting - Variable in class orc.OrcStatus
 
DigitalInput - Class in orc
Represents a digital input on the simple digital IO pins.
DigitalInput(Orc, int, boolean, boolean) - Constructor for class orc.DigitalInput
Initialize an input-only pin.
DigitalOutput - Class in orc
Represents a digital input on the simple digital IO pins (SEE WARNING!).
DigitalOutput(Orc, int) - Constructor for class orc.DigitalOutput
Initialize an input-only pin.
DigitalOutput(Orc, int, boolean) - Constructor for class orc.DigitalOutput
Initialize an input-only pin.
ditherImageFloydSteinberg(BufferedImage) - Static method in class orc.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 orc.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.

E

ERROR_ANGLE_LIMIT - Static variable in class orc.AX12Status
 
ERROR_CHECKSUM - Static variable in class orc.AX12Status
 
error_flags - Variable in class orc.AX12Status
Error flags--- see ERROR constants.
ERROR_INSTRUCTION - Static variable in class orc.AX12Status
 
ERROR_OVERHEAT - Static variable in class orc.AX12Status
 
ERROR_OVERLOAD - Static variable in class orc.AX12Status
 
ERROR_RANGE - Static variable in class orc.AX12Status
 
ERROR_VOLTAGE - Static variable in class orc.AX12Status
 

F

FAST_DIGIO_MODE_IN - Static variable in class orc.Orc
 
FAST_DIGIO_MODE_OUT - Static variable in class orc.Orc
 
FAST_DIGIO_MODE_SERVO - Static variable in class orc.Orc
 
fastDigitalConfig - Variable in class orc.OrcStatus
 
fastDigitalMode - Variable in class orc.OrcStatus
 
formatScale - Variable in class orc.spy.SmallSlider
 
formatString - Variable in class orc.spy.SmallSlider
 

G

GamePad - Class in orc.util
A simple driver for Linux joysticks.
GamePad() - Constructor for class orc.util.GamePad
 
GamePad(String) - Constructor for class orc.util.GamePad
 
GamePadDrive - Class in orc.examples
Demonstrates how to control a differentially-driven robot with a standard USB joystick.
GamePadDrive() - Constructor for class orc.examples.GamePadDrive
 
getActualValue() - Method in class orc.spy.SmallSlider
 
getAxis(int) - Method in class orc.util.GamePad
 
getBacklightCompensation() - Method in class orc.camera.Camera
Get BacklightCompensation mode.
getButton(int) - Method in class orc.util.GamePad
 
getContour() - Method in class orc.camera.Camera
Get contour filter value.
getCurrent() - Method in class orc.Motor
Returns an instantaneous estimate of the current magnitude (in Amps).
getDeviceId() - Method in class orc.ADXL345
 
getFactory() - Method in class orc.camera.Camera
Return the camera to factory settings; causes a FLASH write, do not overuse.
getFlicker() - Method in class orc.camera.Camera
Get Flicker Compensation mode.
getFps() - Method in class orc.camera.Camera
The current target fps setting of the camera.
getGain() - Method in class orc.camera.Camera
Get gain value.
getGoalValue() - Method in class orc.spy.SmallSlider
 
getHeight() - Method in class orc.camera.Camera
The current height setting of the camera.
getLedOff() - Method in class orc.camera.Camera
 
getLedOn() - Method in class orc.camera.Camera
 
getMaximumSize() - Method in class orc.util.JImage
 
getMinimumSize() - Method in class orc.spy.SmallSlider
 
getMinimumSize() - Method in class orc.util.JImage
 
getNoiseReduction() - Method in class orc.camera.Camera
Get Noise Reduction mode.
getPosition() - Method in class orc.QuadratureEncoder
 
getPreferredSize() - Method in class orc.spy.SmallSlider
 
getPreferredSize() - Method in class orc.util.JImage
 
getQuality() - Method in class orc.camera.Camera
Get the current quality level.
getRange() - Method in class orc.IRRangeFinder
 
getRangeAndUncertainty() - Method in class orc.IRRangeFinder
Get the range of the sensor in meters, returning 0 if the sensor appears to be outside its working range.
getStatus() - Method in class orc.AX12Servo
 
getStatus() - Method in class orc.Orc
 
getTheta() - Method in class orc.Gyro
 
getUser() - Method in class orc.camera.Camera
Return the camera to the user's last saved settings.
getValue() - Method in class orc.DigitalInput
 
getVelocity() - Method in class orc.QuadratureEncoder
In ticks per second.
getVoltage() - Method in class orc.AnalogInput
 
getVoltageUnfiltered() - Method in class orc.AnalogInput
 
getWhiteBalanceBlue() - Method in class orc.camera.Camera
If white balance mode is manual, returns the blue gain.
getWhiteBalanceMode() - Method in class orc.camera.Camera
Determine the current white balance mode (e.g., WB_INDOOR).
getWhiteBalanceRed() - Method in class orc.camera.Camera
If white balance mode is manual, returns the red gain.
getWidth() - Method in class orc.camera.Camera
The current width setting of the camera.
goalValueChanged(SmallSlider, int) - Method in interface orc.spy.SmallSlider.Listener
 
gotResponse() - Method in class orc.OrcResponse
 
Gyro - Class in orc
An analog rate gyro can be connected to one of the first 3 external ADC ports.
Gyro(Orc, int) - Constructor for class orc.Gyro
Create a gyro with 0.005 V/(deg/S) sensitivity
Gyro(Orc, int, double) - Constructor for class orc.Gyro
 
gyroIntegrator - Variable in class orc.OrcStatus
 
gyroIntegratorCount - Variable in class orc.OrcStatus
 

I

i2cTransaction(int, Object...) - Method in class orc.Orc
Perform an I2C transaction at 400kHz.
i2cTransaction(int, boolean, Object...) - Method in class orc.Orc
Perform an I2C transaction.
idle() - Method in class orc.Motor
Disconnects the motor output.
idle() - Method in class orc.Servo
 
ImageUtil - Class in orc.camera
Useful image utilities.
ImageUtil() - Constructor for class orc.camera.ImageUtil
 
ins - Variable in class orc.OrcResponse
 
IRRangeFinder - Class in orc
Orc wrapper for Infra-red range sensors.
IRRangeFinder(Orc, int) - Constructor for class orc.IRRangeFinder
Create an IRRangeFinder without any parameters-- useful only when you provide your own parameters.
isNativeAvailable(String[], String) - Static method in class orc.util.NativeLibraryLoader
Try to find a library named "libraryName" and try to load it.

J

JImage - Class in orc.util
 
JImage() - Constructor for class orc.util.JImage
 
JImage(int, int) - Constructor for class orc.util.JImage
 

L

layoutContainer(Container) - Method in class orc.spy.WeightedGridLayout
 
load - Variable in class orc.AX12Status
Current load [-1, 1]

M

main(String[]) - Static method in class orc.ADIS16350
 
main(String[]) - Static method in class orc.ADXL345
 
main(String[]) - Static method in class orc.AX12Servo
 
main(String[]) - Static method in class orc.camera.CameraViewer
 
main(String[]) - Static method in class orc.DigitalOutput
 
main(String[]) - Static method in class orc.examples.GamePadDrive
 
main(String[]) - Static method in class orc.Gyro
 
main(String[]) - Static method in class orc.Orc
 
main(String[]) - Static method in class orc.OrcSetup
 
main(String[]) - Static method in class orc.spy.Spy
 
main(String[]) - Static method in class orc.SRF02
 
main(String[]) - Static method in class orc.TLC3548
 
main(String[]) - Static method in class orc.util.GamePad
 
main(String[]) - Static method in class orc.WiiMotionPlus
 
make2Y0A02(Orc, int) - Static method in class orc.IRRangeFinder
Create and return an IRRangeFinder configured with approximate parameters for a Sharp 2Y0A02.
makeCamera() - Static method in class orc.camera.Camera
Try to make a camera, trying common paths, and retrying until success.
makeGP2D12(Orc, int) - Static method in class orc.IRRangeFinder
Create and return an IRRangeFinder configured with approximate parameters for a Sharp GP2D12.
makeMPIMX400(Orc, int) - Static method in class orc.Servo
Create a servo based on a nominal MPI MX-400 servo with positions ranging from [0, PI]
makeOrc() - Static method in class orc.Orc
 
makeOrc(String) - Static method in class orc.Orc
 
measure() - Method in class orc.SRF02
ping(), wait, getRange()
minimumLayoutSize(Container) - Method in class orc.spy.WeightedGridLayout
 
Motor - Class in orc
Basic class for controlling a motor.
Motor(Orc, int, boolean) - Constructor for class orc.Motor
Create a new Motor.
motorEnable - Variable in class orc.OrcStatus
 
motorPWMactual - Variable in class orc.OrcStatus
 
motorPWMgoal - Variable in class orc.OrcStatus
 
motorSlewRaw - Variable in class orc.OrcStatus
 
motorSlewSeconds - Variable in class orc.OrcStatus
 

N

NativeLibraryLoader - Class in orc.util
 
NativeLibraryLoader() - Constructor for class orc.util.NativeLibraryLoader
 
Nunchuck - Class in orc
Accesses Nintendo Wii Nunchuck via I2C; use the 3.3V port
Nunchuck(Orc) - Constructor for class orc.Nunchuck
 

O

orc - package orc
Main uOrc library classes
Orc - Class in orc
Represents a connection to a uOrc board.
Orc(InetAddress) - Constructor for class orc.Orc
 
orc.camera - package orc.camera
 
orc.examples - package orc.examples
Sample applications
orc.spy - package orc.spy
GUI for visually interacting with uOrc board
orc.util - package orc.util
Miscellaneous useful classes.
OrcListener - Interface in orc
 
OrcResponse - Class in orc
A response received from the uOrc hardware.
OrcResponse() - Constructor for class orc.OrcResponse
 
OrcSetup - Class in orc
Utility for discovering uOrcs on the local network and changing their IP and MAC addresses.
OrcSetup() - Constructor for class orc.OrcSetup
 
orcStatus(Orc, long, OrcStatus) - Method in interface orc.OrcListener
 
OrcStatus - Class in orc
The state of the uOrcBoard, including sensor states.
OrcStatus(OrcResponse) - Constructor for class orc.OrcStatus
assume that response type has already been consumed.
orcStatus(Orc, OrcStatus) - Method in class orc.spy.Spy
 

P

paint(Graphics) - Method in class orc.spy.SmallSlider
 
paint(Graphics) - Method in class orc.util.JImage
 
ping() - Method in class orc.AX12Servo
 
ping() - Method in class orc.SRF02
Initiate a ping.
positionDegrees - Variable in class orc.AX12Status
Degrees
preferredLayoutSize(Container) - Method in class orc.spy.WeightedGridLayout
 
print() - Method in class orc.AX12Status
 
print() - Method in class orc.OrcResponse
 

Q

qeiPosition - Variable in class orc.OrcStatus
 
qeiVelocity - Variable in class orc.OrcStatus
 
QuadratureEncoder - Class in orc
Represents a quadrature phase decoder input on the uOrc Board.
QuadratureEncoder(Orc, int, boolean) - Constructor for class orc.QuadratureEncoder
 

R

readAccelerometers() - Method in class orc.Nunchuck
 
readAxes() - Method in class orc.ADXL345
 
readAxes() - Method in class orc.WiiMotionPlus
Returns a three-dimensional array giving the raw angular rate data for each of the three axes.
readButtons() - Method in class orc.Nunchuck
 
readJoystick() - Method in class orc.Nunchuck
 
readRange() - Method in class orc.SRF02
 
readState() - Method in class orc.ADIS16350
 
readState() - Method in class orc.Nunchuck
Read the whole nuncheck state vector at once; a vector is returned containing joyx, joyy, accelx, accely, accelz, buttons
readTime() - Method in class orc.SRF02
Should be called at least 70ms after ping()
removeLayoutComponent(Component) - Method in class orc.spy.WeightedGridLayout
 
requireNative(String[], String) - Static method in class orc.util.NativeLibraryLoader
Identical to isNativeAvailable, except throws an exception if the library is not available.
reset() - Method in class orc.Gyro
Reset the gyro position to zero.
responded - Variable in class orc.OrcResponse
 
responseBuffer - Variable in class orc.OrcResponse
 
responseBufferLength - Variable in class orc.OrcResponse
 
responseBufferOffset - Variable in class orc.OrcResponse
 
responseId - Variable in class orc.OrcResponse
 
rgbToHsv(BufferedImage) - Static method in class orc.camera.ImageUtil
 
run() - Method in class orc.camera.CameraViewer
 

S

scaleImage(BufferedImage, int, int) - Static method in class orc.camera.ImageUtil
Scale an image.
serialVersionUID - Static variable in class orc.util.JImage
 
Servo - Class in orc
Represents a Futaba-style servo connected to one of the "fast" digital I/O pins.
Servo(Orc, int, double, int, double, int) - Constructor for class orc.Servo
port [0,7].
setActualValue(int) - Method in class orc.spy.SmallSlider
 
setBacklightCompensation(boolean) - Method in class orc.camera.Camera
Set Backlight Compensation mode.
setCaptureSettings(int, int, int) - Method in class orc.camera.Camera
Request a new size from the camera.
setContour(int) - Method in class orc.camera.Camera
Set Contour filter.
setDefaultRowWeight(double) - Method in class orc.spy.WeightedGridLayout
 
setFlicker(boolean) - Method in class orc.camera.Camera
Set Flicker Compensation mode.
setGain(int) - Method in class orc.camera.Camera
Set gain control.
setGoalDegrees(double, double, double) - Method in class orc.AX12Servo
 
setGoalValue(int) - Method in class orc.spy.SmallSlider
Only call this during initialization; it should be under user control only!
setImage(Image) - Method in class orc.util.JImage
 
setLed(int, int) - Method in class orc.camera.Camera
Set the LED's blinking rate.
setLPF(double) - Method in class orc.AnalogInput
Set the alpha coefficient for the low-pass filter.
setMaximum(int) - Method in class orc.spy.SmallSlider
 
setMinimum(int) - Method in class orc.spy.SmallSlider
 
setNoiseReduction(int) - Method in class orc.camera.Camera
Set Noise Reduction mode.
setParameters(double, double, double, double) - Method in class orc.IRRangeFinder
Configure distance and other parameters.
setPosition(double) - Method in class orc.Servo
 
setPulseWidth(int) - Method in class orc.Servo
 
setPWM(double) - Method in class orc.Motor
Enable the motor and set an output PWM.
setQuality(int) - Method in class orc.camera.Camera
Set quality (compression) level.
setRowWeight(int, double) - Method in class orc.spy.WeightedGridLayout
 
setScale(boolean) - Method in class orc.util.JImage
 
setShutter(int) - Method in class orc.camera.Camera
Set shutter speed.
setSlewSeconds(double) - Method in class orc.Motor
Set the amount of time required for the motor to transition from -1 to +1, in seconds.
setUser() - Method in class orc.camera.Camera
Saves the user's settings to FLASH.
setValue(boolean) - Method in class orc.DigitalOutput
 
setWatchDog(int) - Method in class orc.Motor
Change the watchdog timer to disable motors on the uorc.
setWhiteBalanceManual(int, int) - Method in class orc.camera.Camera
Sets the camera to manual white balance, using the provided red and blue gains.
setWhiteBalanceMode(int) - Method in class orc.camera.Camera
Set the current white balance mode, e.g., WB_INDOOR.
simpleDigitalDirections - Variable in class orc.OrcStatus
 
simpleDigitalValues - Variable in class orc.OrcStatus
 
SmallSlider - Class in orc.spy
A slider that has a "current" value, and a "goal" value.
SmallSlider(int, int, boolean) - Constructor for class orc.spy.SmallSlider
Don't specify actual values; both the goal and actual will be copied from the first actual notification.
SmallSlider(int, int, int, int, boolean) - Constructor for class orc.spy.SmallSlider
 
SmallSlider.Listener - Interface in orc.spy
 
speed - Variable in class orc.AX12Status
Speed [0,1]
spiTransaction(int, int, int, int, int[]) - Method in class orc.Orc
 
Spy - Class in orc.spy
A GUI for visualizing and interacting with the uOrc.
Spy() - Constructor for class orc.spy.Spy
 
SRF02 - Class in orc
Devantech SRF02 ultrasound range finder
SRF02(Orc, int) - Constructor for class orc.SRF02
 
SRF02(Orc) - Constructor for class orc.SRF02
 
statusFlags - Variable in class orc.OrcStatus
 

T

temperature - Variable in class orc.AX12Status
Temperature (Deg celsius)
TLC3548 - Class in orc
A TLC3548 analog-to-digital converter connected via SPI.
TLC3548(Orc) - Constructor for class orc.TLC3548
 
transactionId - Variable in class orc.OrcResponse
 

U

updateAllControls() - Method in class orc.camera.CameraViewer
Read as much state from the camera and overwrite our GUI control widgeets with those settings.
updateColorSample() - Method in class orc.camera.CameraViewer
 
updateControls() - Method in class orc.camera.CameraViewer
Update the controls that should move on their own, e.g.
updateImage() - Method in class orc.camera.CameraViewer
 
utime - Variable in class orc.OrcResponse
 
utime - Variable in class orc.OrcStatus
 

V

verbose - Variable in class orc.Orc
 
voltage - Variable in class orc.AX12Status
Voltage (volts)

W

waitForAnyButtonPress() - Method in class orc.util.GamePad
Returns once any button has been pressed, returning the button id.
waitForResponse(int) - Method in class orc.OrcResponse
 
WB_AUTO - Static variable in class orc.camera.Camera
 
WB_FLOURESCENT - Static variable in class orc.camera.Camera
 
WB_INDOOR - Static variable in class orc.camera.Camera
 
WB_MANUAL - Static variable in class orc.camera.Camera
 
WB_OUTDOOR - Static variable in class orc.camera.Camera
 
WeightedGridLayout - Class in orc.spy
A layout manager similar to GridLayout, except that the cells are not constrained to be the same size.
WeightedGridLayout(double[], int, int) - Constructor for class orc.spy.WeightedGridLayout
 
WeightedGridLayout(double[]) - Constructor for class orc.spy.WeightedGridLayout
 
WiiMotionPlus - Class in orc
Accesses Nintendo WiiMotion Plus via I2C (use the 3.3V port only!)
WiiMotionPlus(Orc) - Constructor for class orc.WiiMotionPlus
 

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