From: Logan Howard Date: Fri, 17 Apr 2015 06:53:43 +0000 (-0700) Subject: add comment for joc X-Git-Url: http://challenge-bot.com/repos/?p=3501%2F3501-spark-go;a=commitdiff_plain;h=25e64587d9585b4149b74475c954af586bde2ef3 add comment for joc --- 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;