added negative signs to fix reversed driving
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / driving / JoystickDrive.java
index 8f8a4f25a3e767b9fcbbe2bdda5b93174723304c..579942f5796f67ec8c43910052a8c30c0eba1313 100644 (file)
@@ -23,7 +23,7 @@ public class JoystickDrive extends Command {
     double thrust = Robot.oi.leftJoystick.getY();
     double twist = Robot.oi.leftJoystick.getTwist();
 
-    Robot.driveTrain.joystickDrive(thrust, twist);
+    Robot.driveTrain.joystickDrive(-thrust, -twist);
   }
 
   @Override