X-Git-Url: http://challenge-bot.com/repos/?a=blobdiff_plain;f=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2FDriveWithJoysticks.java;fp=src%2Forg%2Fusfirst%2Ffrc%2Fteam3501%2Frobot%2Fcommands%2FDriveWithJoysticks.java;h=cda6cdd7f35cd96a9d6d3592a0f63c33d7634aac;hb=f24c549dc374aed0a8b543e1c64139ef0318b65b;hp=500bad953e33000ad9c29fa9a890c64d29ed0f86;hpb=3e4790a8551e2a7c20db705dea86cb59f3c84696;p=ozzloy%40gmail.com%2F3501-spark-go diff --git a/src/org/usfirst/frc/team3501/robot/commands/DriveWithJoysticks.java b/src/org/usfirst/frc/team3501/robot/commands/DriveWithJoysticks.java index 500bad9..cda6cdd 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/DriveWithJoysticks.java +++ b/src/org/usfirst/frc/team3501/robot/commands/DriveWithJoysticks.java @@ -8,7 +8,7 @@ public class DriveWithJoysticks extends CommandBase { } protected void execute() { - drivetrain.drive(oi.getForward(), oi.getTwist()); + drivetrain.drive(oi.getForwardR(), oi.getTwistR()); } protected boolean isFinished() {