summaryrefslogtreecommitdiff
path: root/src/org/usfirst/frc/team4272/robot2017/HwRobot.java
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-03-12 12:11:18 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-03-12 12:11:18 -0400
commit900d6d69c090492d0fb35410c36dcb9a24c74eea (patch)
treed19352cf3feb6ad29ec4177334f108ee1cbf0d86 /src/org/usfirst/frc/team4272/robot2017/HwRobot.java
parent680a2292554f18f287859a5045e2921cb354ec44 (diff)
Remove dead (camera aiming) code.
Diffstat (limited to 'src/org/usfirst/frc/team4272/robot2017/HwRobot.java')
-rw-r--r--src/org/usfirst/frc/team4272/robot2017/HwRobot.java6
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);