|
" 2013 FRC Java API " |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Ultrasonic.Unit | |
|---|---|
| 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. |
| Uses of Ultrasonic.Unit in edu.wpi.first.wpilibj |
|---|
| Fields in edu.wpi.first.wpilibj declared as Ultrasonic.Unit | |
|---|---|
static Ultrasonic.Unit |
Ultrasonic.Unit.kInches
Use inches for PIDGet |
static Ultrasonic.Unit |
Ultrasonic.Unit.kMillimeter
Use millimeters for PIDGet |
| Methods in edu.wpi.first.wpilibj that return Ultrasonic.Unit | |
|---|---|
Ultrasonic.Unit |
Ultrasonic.getDistanceUnits()
Get the current DistanceUnit that is used for the PIDSource base object. |
| Methods in edu.wpi.first.wpilibj with parameters of type Ultrasonic.Unit | |
|---|---|
void |
Ultrasonic.setDistanceUnits(Ultrasonic.Unit units)
Set the current DistanceUnit that should be used for the PIDSource base object. |
| Constructors in edu.wpi.first.wpilibj with parameters of type Ultrasonic.Unit | |
|---|---|
Ultrasonic(DigitalOutput pingChannel,
DigitalInput echoChannel,
Ultrasonic.Unit units)
Create an instance of an Ultrasonic Sensor from a DigitalInput for the echo channel and a DigitalOutput for the ping channel. |
|
Ultrasonic(int pingSlot,
int pingChannel,
int echoSlot,
int echoChannel,
Ultrasonic.Unit units)
Create an instance of the Ultrasonic sensor using specified modules. |
|
Ultrasonic(int pingChannel,
int echoChannel,
Ultrasonic.Unit units)
Create an instance of the Ultrasonic Sensor using the default module. |
|
|
" 2013 FRC Java API " |
|||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||