diff options
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2017/HwRobot.java')
-rw-r--r-- | src/org/usfirst/frc/team4272/robot2017/HwRobot.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java index 23d98b3..7752bd8 100644 --- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java +++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java @@ -68,9 +68,7 @@ public class HwRobot { private final PIDOutput rDriveM = new Talon(/*PWM*/0), /* PDP 2, 3 */ lDriveM = new Talon(/*PWM*/1), /* PDP 12, 13 */ - climber = new Talon(/*PWM*/3), /* PDP 4 */ - camRotate = new PIDServo(8), - camTilt = new PIDServo(9); + climber = new Talon(/*PWM*/3); /* PDP 4 */ public final Encoder lDriveE = new Encoder(/*DIO*/0,/*DIO*/1, /*reverse*/false); public final Encoder rDriveE = new Encoder(/*DIO*/2,/*DIO*/3, /*reverse*/true); public final PIDSource lRate, rRate; @@ -102,8 +100,6 @@ public class HwRobot { lDriveM.pidWrite(c.lDrive); rDriveM.pidWrite(-c.rDrive); climber.pidWrite(c.climber); - camRotate.pidWrite(c.camRotate); - camTilt.pidWrite(c.camTilt); shifter.set(c.highGear ? DoubleSolenoid.Value.kReverse : DoubleSolenoid.Value.kForward); ged.set(c.gedOut ? DoubleSolenoid.Value.kReverse : DoubleSolenoid.Value.kForward); |