diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-28 00:54:09 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-04-28 00:54:09 -0400 |
commit | c096fbb49c336759e65ac21820a9b3ffc90d4322 (patch) | |
tree | 555f20b041b0f7dbb23922808e3efae736999c8b /src/org/usfirst | |
parent | 5e4951e6d60308c39a6f0c1539cf2e793ff5f958 (diff) |
rewire at worlds
Diffstat (limited to 'src/org/usfirst')
-rw-r--r-- | src/org/usfirst/frc/team4272/robot2017/HwRobot.java | 4 |
1 files 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); |