change isDeadReckonging, which is misleading, to isUsingTimeToPassDefense
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index 95bc2a233332c036472c66540558d9c70d9fb37f..21c128958e51b2ac09da94b5b3f21c98d4268378 100755 (executable)
@@ -26,7 +26,7 @@ public class PassRampart extends CommandGroup {
 
   public PassRampart() {
 
-    if (Constants.DeadReckoning.isDeadReckoning) {
+    if (Constants.DeadReckoning.isUsingTimeToPassDefense) {
       addSequential(new DriveForTime(Constants.DeadReckoning.passRockWallTime,
           Constants.DeadReckoning.passRockWallSpeed));
     }