Move all constants in DeadReckoning to Auton class because it makes more sense
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 2d3cd43d6212cd6aab39d692699d78db05cf2646..7245d5fead8910eb4342f964e24a5efeed5609bf 100644 (file)
@@ -124,29 +124,6 @@ public class Constants {
     }
   }
 
-  public static class DeadReckoning {
-    public static final double DEFAULT_SPEED = 0.5;
-    public static boolean isUsingTimeToPassDefense = true;
-
-    // dead reckoning time and speed constants for driving through defenses
-    public static double passRockWallTime = 0;
-    public static double passRockWallSpeed = 0;
-    public static double passRockWallDistance = 0;
-    public static double passLowBarTime = 0;
-    public static double passLowBarSpeed = 0;
-    public static double passLowBarDistance = 0;
-    public static double passMoatTime = 0;
-    public static double passMoatSpeed = 0;
-    public static double passMoatDistance = 0;
-    public static double passRampartTime = 0;
-    public static double passRampartSpeed = 0;
-    public static double passRampartDistance = 0;
-    public static double passRoughTerrainTime = 0;
-    public static double passRoughTerrainSpeed = 0;
-    public static double passRoughTerrainDistance = 0;
-
-  }
-
   public static class IntakeArm {
     public static final int ROLLER_PORT = 0;
     public static final int ARM_PORT = 1;
@@ -249,6 +226,28 @@ public class Constants {
     public static final double POS5_TURN1_TIME = 60;
     public static final double POS5_TURN_MAXSPEED = 0.5;
     public static final double POS5_DIST2_TIME = 0;
+
+    // Passing Defenses Constants
+
+    public static final double DEFAULT_SPEED = 0.5;
+    public static boolean isUsingTimeToPassDefense = true;
+
+    // dead reckoning time and speed constants for driving through defenses
+    public static double passRockWallTime = 0;
+    public static double passRockWallSpeed = 0;
+    public static double passRockWallDistance = 0;
+    public static double passLowBarTime = 0;
+    public static double passLowBarSpeed = 0;
+    public static double passLowBarDistance = 0;
+    public static double passMoatTime = 0;
+    public static double passMoatSpeed = 0;
+    public static double passMoatDistance = 0;
+    public static double passRampartTime = 0;
+    public static double passRampartSpeed = 0;
+    public static double passRampartDistance = 0;
+    public static double passRoughTerrainTime = 0;
+    public static double passRoughTerrainSpeed = 0;
+    public static double passRoughTerrainDistance = 0;
   }
 
   public enum Direction {