Move all constants in DeadReckoning to Auton class because it makes more sense
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassLowBar.java
index 49b085d09e6a8ecf11ecd47cd325da75dd5267b3..8f35a25cd393b9275d317cec4ac5f67a0101e557 100644 (file)
@@ -25,13 +25,13 @@ import edu.wpi.first.wpilibj.command.CommandGroup;
 public class PassLowBar extends CommandGroup {
 
   public PassLowBar() {
-    if (Constants.DeadReckoning.isUsingTimeToPassDefense) {
-      addSequential(new DriveForTime(Constants.DeadReckoning.passLowBarTime,
-          Constants.DeadReckoning.passLowBarSpeed));
+    if (Constants.Auton.isUsingTimeToPassDefense) {
+      addSequential(new DriveForTime(Constants.Auton.passLowBarTime,
+          Constants.Auton.passLowBarSpeed));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.DeadReckoning.passLowBarDistance,
+          Constants.Auton.passLowBarDistance,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }
   }