change all the pass defense constants to finals
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 9ee3e6eeaff831dfadd8f25d2a639f528930e3cf..fe35684f9e1d38870759c9d6d68cd4fcc476f47a 100644 (file)
@@ -26,12 +26,12 @@ public class PassLowBar extends CommandGroup {
 
   public PassLowBar() {
     if (Constants.Auton.isUsingTime) {
-      addSequential(new DriveForTime(Constants.Auton.passLowBarTime,
-          Constants.Auton.passLowBarSpeed));
+      addSequential(new DriveForTime(Constants.Auton.PASS_LOW_BAR_TIMEpassLowBarTime,
+          Constants.Auton.PASS_LOW_BAR_SPEED));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.Auton.passLowBarDistance,
+          Constants.Auton.PASS_LOW_BAR_DIST,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }
   }