summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-02-20 23:19:54 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-02-20 23:19:54 -0500
commitfe92783bed8be3b02b6d62b7c232434ae48f96c6 (patch)
tree3ca41df7f61ef871de8916fc599ad0b01247a305
parent51061e1fe24e759f5931f721bf4faf194cc26b2d (diff)
Don't use index on the drive encoders.
-rw-r--r--src/org/usfirst/frc/team4272/robot2016/HwRobot.java4
1 files 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);