Move all constants in DeadReckoning to Auton class because it makes more sense
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / auton / PassRoughTerrain.java
index 2ddddf4389b5c469bc84bfbc67f77db7a54b8ea4..e3d64dde31246f1030c8ae80830e33b87b239650 100644 (file)
@@ -26,13 +26,13 @@ public class PassRoughTerrain extends CommandGroup {
 
   public PassRoughTerrain() {
 
-    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.passRoughTerrainDistance,
+          Constants.Auton.passRoughTerrainDistance,
           Constants.DriveTrain.PASS_DEFENSE_TIMEOUT));
     }