A B C D E F G I 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
 
AX12ChangeID - Class in orc
 
AX12ChangeID() - Constructor for class orc.AX12ChangeID
 
AX12Demo - Class in orc.examples
 
AX12Demo(ArrayList<AX12Servo>) - Constructor for class orc.examples.AX12Demo
 
AX12Finder - Class in orc
 
AX12Finder() - Constructor for class orc.AX12Finder
 
AX12Servo - Class in orc
 
AX12Servo(Orc, int) - Constructor for class orc.AX12Servo
 
AX12Servo(Orc, int, double, double, double, double) - Constructor for class orc.AX12Servo
 
AX12Status - Class in orc
 
AX12Status() - Constructor for class orc.AX12Status
 

B

beginConversion(int) - Method in class orc.TLC3548
 
BROADCAST_ADDRESS - Static variable in class orc.AX12Servo
 

C

calibrate(double) - Method in class orc.Gyro
Calibrate the gyro while the gyro remains motionless.
changeServoID(int, int) - Method in class orc.AX12Servo
This method changes the servo ID from oldID to newID.
clearFault() - Method in class orc.Motor
 

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 output-only pin.
DigitalOutput(Orc, int, boolean) - Constructor for class orc.DigitalOutput
Initialize an output-only pin.
DigitalPWM - Class in orc
Allows low-speed PWM (on the FAST digital I/O pins), meaning rates up to 1khz.
DigitalPWM(Orc, int) - Constructor for class orc.DigitalPWM
Initialize PWM output.
doCommand(int, byte[]) - Method in class orc.Orc
 
doCommandEx(int, byte[]) - Method in class orc.Orc
try a transaction once

E

ERROR_ANGLE_LIMIT - Static variable in class orc.AX12Servo
 
ERROR_ANGLE_LIMIT - Static variable in class orc.AX12Status
 
ERROR_CHECKSUM - Static variable in class orc.AX12Servo
 
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.AX12Servo
 
ERROR_INSTRUCTION - Static variable in class orc.AX12Status
 
ERROR_OVERHEAT - Static variable in class orc.AX12Servo
 
ERROR_OVERHEAT - Static variable in class orc.AX12Status
 
ERROR_OVERLOAD - Static variable in class orc.AX12Servo
 
ERROR_OVERLOAD - Static variable in class orc.AX12Status
 
ERROR_RANGE - Static variable in class orc.AX12Servo
 
ERROR_RANGE - Static variable in class orc.AX12Status
 
ERROR_VOLTAGE - Static variable in class orc.AX12Servo
 
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
 
FAST_DIGIO_MODE_SLOW_PWM - 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
 
getAddress() - Method in class orc.Orc
 
getAxis(int) - Method in class orc.util.GamePad
 
getBatteryVoltage() - Method in class orc.OrcStatus
 
getButton(int) - Method in class orc.util.GamePad
 
getCurrent(OrcStatus) - Method in class orc.Motor
Returns an instantaneous estimate of the current magnitude (in Amps).
getCurrent() - Method in class orc.Motor
 
getCurrentFiltered(OrcStatus) - Method in class orc.Motor
Returns an instantaneous estimate of the current magnitude (in Amps).
getCurrentFiltered() - Method in class orc.Motor
 
getDeviceId() - Method in class orc.ADXL345
 
getEstopState() - Method in class orc.OrcStatus
Is the estop switch activated?
getGoalValue() - Method in class orc.spy.SmallSlider
 
getHostUtime(long) - Method in class orc.util.TimeSync
For the given device_time, estimate the corresponding host utime.
getId() - Method in class orc.AX12Servo
 
getMinimumSize() - Method in class orc.spy.SmallSlider
 
getMotorWatchdogState() - Method in class orc.OrcStatus
 
getPosition() - Method in class orc.QuadratureEncoder
 
getPosition(OrcStatus) - Method in class orc.QuadratureEncoder
 
getPreferredSize() - Method in class orc.spy.SmallSlider
 
getPWM(OrcStatus) - Method in class orc.Motor
Get the instantaneous PWM output of the board, accounting for slew rate limits.
getPWM() - Method in class orc.Motor
 
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
 
getValue() - Method in class orc.DigitalInput
 
getVelocity() - Method in class orc.QuadratureEncoder
In ticks per second (XXX: Might return unsigned speed due to hardware errata!).
getVelocity(OrcStatus) - Method in class orc.QuadratureEncoder
 
getVersion() - Method in class orc.Orc
 
getVoltage() - Method in class orc.AnalogInput
 
getVoltageUnfiltered() - Method in class orc.AnalogInput
 
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.
idle() - Method in class orc.Motor
Disconnects the motor output.
idle() - Method in class orc.Servo
 
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.
isFault() - Method in class orc.Motor
Is the motor in a fault state?
isFault(OrcStatus) - Method in class orc.Motor
Is the motor in a fault state?

L

last_sync_error - Variable in class orc.util.TimeSync
 
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.AX12ChangeID
 
main(String[]) - Static method in class orc.AX12Finder
 
main(String[]) - Static method in class orc.AX12Servo
 
main(String[]) - Static method in class orc.DigitalOutput
 
main(String[]) - Static method in class orc.DigitalPWM
 
main(String[]) - Static method in class orc.examples.AX12Demo
 
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.
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

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 - Variable in class orc.OrcStatus
 
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(Orc, 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
 
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()
remap(double, double, double, double) - Method in class orc.AX12Servo
Remap the angle scale (and possibly enforce clamping.)
removeLayoutComponent(Component) - Method in class orc.spy.WeightedGridLayout
 
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
 
resync_count - Variable in class orc.util.TimeSync
 

S

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
 
setDefaultRowWeight(double) - Method in class orc.spy.WeightedGridLayout
 
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!
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
 
setMultiplePWM(Motor[], double[]) - Static method in class orc.Motor
Motors must belong to same Orc object.
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(int, double) - Method in class orc.DigitalPWM
Note that small values may have a significant effect on the CPU utilization of the uorc.
setPWM(double) - Method in class orc.Motor
Enable the motor and set an output PWM.
setRowWeight(int, double) - Method in class orc.spy.WeightedGridLayout
 
setSlewSeconds(double) - Method in class orc.Motor
Set the amount of time required for the motor to transition from -1 to +1, in seconds.
setValue(boolean) - Method in class orc.DigitalOutput
 
setValue(boolean) - Method in class orc.DigitalPWM
 
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 [-1,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(String[]) - 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)
TimeSync - Class in orc.util
 
TimeSync(double, long, double, double) - Constructor for class orc.util.TimeSync
 
TLC3548 - Class in orc
A TLC3548 analog-to-digital converter connected via SPI.
TLC3548(Orc) - Constructor for class orc.TLC3548
 
toHostUtime(long) - Method in class orc.Orc
 
transactionId - Variable in class orc.OrcResponse
 

U

update(long, long) - Method in class orc.util.TimeSync
Every host/device pair should be passed to this function, and must occur prior to calling _get_host_utime
utimeHost - Variable in class orc.AX12Status
 
utimeHost - Variable in class orc.OrcResponse
 
utimeHost - Variable in class orc.OrcStatus
 
utimeOrc - Variable in class orc.AX12Status
uorc utime
utimeOrc - Variable in class orc.OrcResponse
 
utimeOrc - Variable in class orc.OrcStatus
 

V

verbose - Variable in class orc.AX12Servo
 
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
 
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 L M N O P Q R S T U V W