summaryrefslogtreecommitdiff
path: root/src/org/usfirst/frc/team4272
diff options
context:
space:
mode:
Diffstat (limited to 'src/org/usfirst/frc/team4272')
-rw-r--r--src/org/usfirst/frc/team4272/robot2016/HwRobot.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
index a1072dc..27e64d8 100644
--- a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
+++ b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java
@@ -7,7 +7,7 @@ import org.usfirst.frc.team4272.robotlib.LimitSwitchedPIDOutput;
import edu.wpi.first.wpilibj.DigitalInput;
import edu.wpi.first.wpilibj.Encoder;
import edu.wpi.first.wpilibj.PIDOutput;
-import edu.wpi.first.wpilibj.PIDSource.PIDSourceParameter;
+import edu.wpi.first.wpilibj.PIDSourceType;
import edu.wpi.first.wpilibj.Relay;
import edu.wpi.first.wpilibj.Talon;
@@ -48,9 +48,9 @@ public class HwRobot {
private Relay rIntake = new Relay(/*Relay*/0, Relay.Direction.kBoth);
public HwRobot() {
- lDriveE.setPIDSourceParameter(PIDSourceParameter.kRate);
- rDriveE.setPIDSourceParameter(PIDSourceParameter.kRate);
- winchE.setPIDSourceParameter(PIDSourceParameter.kRate);
+ lDriveE.setPIDSourceType(PIDSourceType.kRate);
+ rDriveE.setPIDSourceType(PIDSourceType.kRate);
+ winchE.setPIDSourceType(PIDSourceType.kRate);
}
public void run(Control c) {