From c096fbb49c336759e65ac21820a9b3ffc90d4322 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 28 Apr 2017 00:54:09 -0400 Subject: rewire at worlds --- src/org/usfirst/frc/team4272/robot2017/HwRobot.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java index 2ef5dae..ac7d584 100644 --- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java +++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java @@ -96,8 +96,8 @@ public class HwRobot { private double maxRate = 0; private double minBatt = 20; public void run(Control c) { - lDriveM.pidWrite(-c.lDrive); - rDriveM.pidWrite(c.rDrive); + lDriveM.pidWrite(c.lDrive); + rDriveM.pidWrite(-c.rDrive); climber.pidWrite(Math.abs(c.climber)); shifter.set(c.highGear ? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse); -- cgit v1.2.3-54-g00ecf