add second piston that controls hood, and change open/close values in constants
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index f5241d805d609dc306402aa3141affb0d323a415..4ad8a4bf0be8bb5ded68e636dd9c2ee2910a2ec2 100644 (file)
@@ -112,8 +112,8 @@ public class Constants {
     public static final int HOOD_FORWARD = 2;
     public static final int HOOD_REVERSE = 3;
 
-    public static final Value open = Value.kForward;
-    public static final Value closed = Value.kReverse;
+    public static final Value open = Value.kReverse;
+    public static final Value closed = Value.kForward;
 
     public static final Port LIDAR_I2C_PORT = I2C.Port.kMXP;
 
@@ -124,7 +124,7 @@ public class Constants {
 
   public static class DeadReckoning {
     public static final double DEFAULT_SPEED = 0.5;
-    public static boolean isUsingTimeToPassDefense;
+    public static boolean isUsingTimeToPassDefense = true;
 
     // dead reckoning time and speed constants for driving through defenses
     public static double passRockWallTime = 0;