2010 FRC Java API


Package edu.wpi.first.wpilibj

The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot.

See:
          Description

Interface Summary
CounterBase Interface for counting the number of ticks on a digital input channel.
PIDOutput This interface allows PIDController to write it's results to its output.
PIDSource This interface allows for PIDController to automatically read from this object
SpeedController Interface for speed controlling devices.
 

Class Summary
Accelerometer Handle operation of the accelerometer.
AccumulatorResult Structure for holding the values stored in an accumulator
ADXL345_I2C  
ADXL345_I2C.AllAxes  
ADXL345_I2C.Axes  
ADXL345_I2C.DataFormat_Range  
AnalogChannel Analog channel class.
AnalogModule Analog Module class.
AnalogTrigger Class for creating and configuring Analog Triggers
AnalogTriggerOutput Class to represent a specific output from an analog trigger.
AnalogTriggerOutput.Type Type determines under what state the analog trigger evaluates to true or false
Compressor Compressor object.
Counter Class for counting the number of ticks on a digital input channel.
Counter.Mode Mode determines how and what the counter counts
CounterBase.EncodingType The number of edges for the counterbase to increment or decrement on
Dashboard Pack data into the "user data" field that gets sent to the dashboard laptop via the driver station.
DigitalInput Class to read a digital input.
DigitalModule Class representing a digital module
DigitalOutput Class to write digital outputs.
DigitalSource DigitalSource Interface.
DriverStation Provide access to the network communication data to / from the Driver Station.
DriverStation.Alliance The robot alliance that the robot is a part of
DriverStationEnhancedIO  
DriverStationEnhancedIO.tAccelChannel Accelerometer channel for enhanced IO
DriverStationEnhancedIO.tDigitalConfig Digital configuration for enhanced IO
DriverStationEnhancedIO.tPWMPeriodChannels PWM period channels for enhanced IO
DriverStationLCD Provide access to LCD on the Driver Station.
DriverStationLCD.Line The line number on the Driver Station LCD
Encoder Class to read quad encoders.
GearTooth Alias for counter class.
GenericHID GenericHID Interface
GenericHID.Hand Which hand the Human Interface Device is associated with.
Gyro Use a rate gyro to return the robots heading relative to a starting position.
HiTechnicCompass HiTechnic NXT Compass.
I2C I2C bus interface class.
InterruptableSensorBase Base for sensors to be used with interrupts
IterativeRobot IterativeRobot implements a specific type of Robot Program framework, extending the RobotBase class.
Jaguar Luminary Micro Jaguar Speed Control
Joystick Handle input from standard Joysticks connected to the Driver Station.
Joystick.AxisType Represents an analog axis on a joystick.
Joystick.ButtonType Represents a digital button on the JoyStick
Module Base class for AnalogModule and DigitalModule.
PIDController Class implements a PID Control Loop.
PWM Class implements the PWM generation in the FPGA.
PWM.PeriodMultiplier Represents the amount to multiply the minimum servo-pulse pwm period by.
Relay Class for Spike style relay outputs.
Relay.Direction The Direction(s) that a relay is configured to operate in.
Relay.Value The state to drive a Relay to.
Resource Track resources in the program.
RobotBase Implement a Robot Program framework.
RobotDrive Utility class for handling Robot drive based on a definition of the motor configuration.
RobotDrive.MotorType The location of a motor on the robot for the purpose of driving
SensorBase Base class for all sensors.
SerialPort Driver for the RS-232 serial port on the cRIO.
SerialPort.FlowControl Represents what type of flow control to use for serial communication
SerialPort.Parity Represents the parity to use for serial communications
SerialPort.StopBits Represents the number of stop bits to use for Serial Communication
SerialPort.WriteBufferMode Represents which type of buffer mode to use when writing to a serial port
Servo Standard hobby style servo.
SimpleRobot A robot base class.
Solenoid Solenoid class for running high voltage Digital Output (9472 module).
Timer Timer objects measure accumulated time in milliseconds.
Ultrasonic Ultrasonic rangefinder class.
Ultrasonic.Unit The units to return when PIDGet is called
Utility Contains global utility functions
Victor IFI Victor Speed Controller
Watchdog Watchdog timer class.
 

Exception Summary
DriverStationEnhancedIO.EnhancedIOException  
 

Package edu.wpi.first.wpilibj Description

The WPI Robotics library (WPILibJ) is a set of Java classes that interfaces to the hardware in the FRC control system and your robot. There are classes to handle sensors, motors, the driver station, and a number of other utility functions like timing and field management. The library is designed to:


2010 FRC Java API


Copyright © 2006-2009 Sun Microsystems, Inc. All Rights Reserved.