From c43d565a0505cc305a7009688efb70e3886079c6 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 24 Mar 2017 08:12:32 -0400 Subject: swap the directions for things that got switched backward --- src/org/usfirst/frc/team4272/robot2017/HwRobot.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java index f30d495..c43d0c5 100644 --- a/src/org/usfirst/frc/team4272/robot2017/HwRobot.java +++ b/src/org/usfirst/frc/team4272/robot2017/HwRobot.java @@ -99,11 +99,11 @@ 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(c.climber); - shifter.set(c.highGear ? DoubleSolenoid.Value.kReverse : DoubleSolenoid.Value.kForward); + shifter.set(c.highGear ? DoubleSolenoid.Value.kForward : DoubleSolenoid.Value.kReverse); ged.set(c.gedOut ? DoubleSolenoid.Value.kReverse : DoubleSolenoid.Value.kForward); double rate = Math.abs((lDriveE.getRate()+rDriveE.getRate())/2); -- cgit v1.2.3