Move all constants in DeadReckoning to Auton class because it makes more sense
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRampart.java
index 21c128958e51b2ac09da94b5b3f21c98d4268378..30051460e11e157ac509de7cf81bda5d12543b47 100755 (executable)
@@ -26,13 +26,13 @@ public class PassRampart extends CommandGroup {
 
   public PassRampart() {
 
-    if (Constants.DeadReckoning.isUsingTimeToPassDefense) {
-      addSequential(new DriveForTime(Constants.DeadReckoning.passRockWallTime,
-          Constants.DeadReckoning.passRockWallSpeed));
+    if (Constants.Auton.isUsingTimeToPassDefense) {
+      addSequential(new DriveForTime(Constants.Auton.passRockWallTime,
+          Constants.Auton.passRockWallSpeed));
     }
     else {
       addSequential(new DriveDistance(
-          Constants.DeadReckoning.passRampartDistance,
+          Constants.Auton.passRampartDistance,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }