| Package | Description |
|---|---|
| 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.
|
| Modifier and Type | Field and Description |
|---|---|
static PIDSource.PIDSourceParameter |
PIDSource.PIDSourceParameter.kAngle |
static PIDSource.PIDSourceParameter |
PIDSource.PIDSourceParameter.kDistance |
static PIDSource.PIDSourceParameter |
PIDSource.PIDSourceParameter.kRate |
| Modifier and Type | Method and Description |
|---|---|
void |
Gyro.setPIDSourceParameter(PIDSource.PIDSourceParameter pidSource)
Set which parameter of the gyro you are using as a process control
variable.
|
void |
Encoder.setPIDSourceParameter(PIDSource.PIDSourceParameter pidSource)
Set which parameter of the encoder you are using as a process control
variable.
|
void |
Counter.setPIDSourceParameter(PIDSource.PIDSourceParameter pidSource)
Set which parameter of the encoder you are using as a process control
variable.
|
Copyright © 2015. All rights reserved.