change isDeadReckonging, which is misleading, to isUsingTimeToPassDefense
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 57259bbaf78b4fd06007fe0b79c1602f9a941a7c..49b085d09e6a8ecf11ecd47cd325da75dd5267b3 100644 (file)
@@ -25,7 +25,7 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class PassLowBar extends CommandGroup {
 
   public PassLowBar() {
-    if (Constants.DeadReckoning.isDeadReckoning) {
+    if (Constants.DeadReckoning.isUsingTimeToPassDefense) {
       addSequential(new DriveForTime(Constants.DeadReckoning.passLowBarTime,
           Constants.DeadReckoning.passLowBarSpeed));
     }