Remove sendable choosers, fix joystick driving bug, use right twist instead of right...
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / driving / JoystickDrive.java
index c246ccfac9954a314437ca7ee4283e66d774d938..fe1a9726c1972025f04d504e7c55c3ef00480c62 100644 (file)
@@ -22,7 +22,7 @@ public class JoystickDrive extends Command {
   @Override
   protected void execute() {
     double left = -OI.leftJoystick.getY();
-    double right = -OI.rightJoystick.getX();
+    double right = -OI.rightJoystick.getTwist();
     Robot.driveTrain.drive(left, right);
   }