From fe92783bed8be3b02b6d62b7c232434ae48f96c6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 20 Feb 2017 23:19:54 -0500 Subject: Don't use index on the drive encoders. --- src/org/usfirst/frc/team4272/robot2016/HwRobot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java index 54265a1..0f5375f 100644 --- a/src/org/usfirst/frc/team4272/robot2016/HwRobot.java +++ b/src/org/usfirst/frc/team4272/robot2016/HwRobot.java @@ -41,8 +41,8 @@ public class HwRobot { climber = new Talon(/*PWM*/3), /* PDP 4 */ camRotate = new PIDServo(8), camTilt = new PIDServo(9); - public final Encoder lDriveE = new Encoder(/*DIO*/0,/*DIO*/2, /*DIO*/1, /*reverse*/false); - public final Encoder rDriveE = new Encoder(/*DIO*/3,/*DIO*/5, /*DIO*/4, /*reverse*/true); + 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 PowerDistributionPanel PDP = new PowerDistributionPanel(); /* via CAN */ public Solenoid PCM1 = new Solenoid(/*PCM*/ 4); -- cgit v1.2.3