everything done except mapping buttons to actions
[ozzloy@gmail.com/3501-spark-go] / src / org / usfirst / frc / team3501 / robot / commands / DriveWithJoysticks.java
index d1f3e504c365db703fb3e5b34f739d3b3940b151..cda6cdd7f35cd96a9d6d3592a0f63c33d7634aac 100644 (file)
@@ -8,7 +8,7 @@ public class DriveWithJoysticks extends CommandBase {
     }
 
     protected void execute() {
-        drivetrain.drive(oi.getForwardSpeed(), oi.getTwistSpeed());
+        drivetrain.drive(oi.getForwardR(), oi.getTwistR());
     }
 
     protected boolean isFinished() {