add dead reckoning time, spd, distance to pass defense commands and constants
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index fc2c712491b9fc3a3e27f5092ff2b901c07351ea..287344aff27229a8d681838fb4e5e77dbcb59e42 100644 (file)
@@ -74,6 +74,7 @@ public class Constants {
 
     public static boolean inverted = false;
 
+    public static final double PASS_DEFENSE_TIMEOUT = 10; // find this
   }
 
   public static class Scaler {
@@ -123,6 +124,25 @@ public class Constants {
 
   public static class DeadReckoning {
     public static final double DEFAULT_SPEED = 0.5;
+    public static boolean isDeadReckoning;
+
+    // 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 {