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=338e01ebf233ac2c91d429891173483d60612859;hb=25e64587d9585b4149b74475c954af586bde2ef3;hp=980214781095e3710b79dcb625ada930be0c2a3a;hpb=e81578e3624e61c2a8eb5b5c6b1015a2999784e7;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 9802147..338e01e 100644 --- a/src/org/usfirst/frc/team3501/robot/commands/DriveWithJoysticks.java +++ b/src/org/usfirst/frc/team3501/robot/commands/DriveWithJoysticks.java @@ -11,6 +11,7 @@ public class DriveWithJoysticks extends CommandBase { double forward = oi.getForwardR(); double twist = oi.getTwistR(); + // option to lock twist for alignment if (oi.getRightPressed(3, 4, 5, 6)) twist = 0;