add code that puts ball onto catapult
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index a6543a8fa70ab872c15afad6eaf48cf3a3302d76..2fcbabe5122a07f02b0fb63b1f914d7f5ea79fa9 100644 (file)
@@ -64,7 +64,8 @@ public class Constants {
     public final static int ENCODER_RIGHT_A = 3;
     public final static int ENCODER_RIGHT_B = 4;
 
-    public static final double INCHES_PER_PULSE = ((3.66 / 5.14) * 6 * Math.PI) / 256;
+    public static final double INCHES_PER_PULSE = ((3.66 / 5.14) * 6 * Math.PI)
+        / 256;
 
     public static double kp = 0.013, ki = 0.000015, kd = -0.002;
     public static double encoderTolerance = 8.0;
@@ -85,6 +86,10 @@ public class Constants {
     public static final Value SHOOT = Value.kForward;
     public static final Value RESET = Value.kReverse;
     public static final double WAIT_TIME = 2.0; // In seconds
+
+    // TODO: test for this time
+    public static final double TIME_FOR_BALL_TO_CATAPULT_ROLLING = 1.0;
+
   }
 
   public static class IntakeArm {