Add Hall Effect Sensor code to test sensor
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
index c07dcd1a88ef779aced95acb9004fe675104bb4c..3933fdf0fdfbf50c1dadcb267c3613db4ad3f741 100644 (file)
@@ -17,6 +17,7 @@ public class Constants {
     public final static int TOGGLE_WINCH_PORT = 0;
     public final static int TOGGLE_FLYWHEEL_PORT = 0;
     public final static int TOGGLE_INDEXWHEEL_PORT = 0;
+    public final static int TOGGLE_GEAR_PORT = 0;
   }
 
   public static class Shooter {
@@ -27,12 +28,15 @@ public class Constants {
 
     public final static int TOGGLE_FLYWHEEL_PORT = 0;
     public final static int TOGGLE_INDEXWHEEL_PORT = 0;
+
+    public final static int HALL_EFFECT_PORT = 4;
   }
 
   public static class DriveTrain {
     // GEARS
-    public static final int MODULE_NUMBER = 10, LEFT_FORWARD = 6,
-        LEFT_REVERSE = 5, RIGHT_FORWARD = 0, RIGHT_REVERSE = 1;
+    public static final int MODULE_NUMBER = 10, LEFT_GEAR_PISTON_FORWARD = 6,
+        LEFT_GEAR_PISTON_REVERSE = 5, RIGHT_GEAR_PISTON_FORWARD = 0,
+        RIGHT_GEAR_PISTON_REVERSE = 1;
     public static final Value HIGH_GEAR = DoubleSolenoid.Value.kForward;
     public static final Value LOW_GEAR = DoubleSolenoid.Value.kReverse;
 
@@ -51,13 +55,9 @@ public class Constants {
     public static final SPI.Port GYRO_PORT = SPI.Port.kOnboardCS0;
   }
 
-  public static class Climber {
-    // MOTOR CONTROLLERS
-    public static final int MOTOR_VAL = 1;
-  }
-
   public static class Intake {
     public static final int INTAKE_ROLLER_PORT = 0;
+
   }
 
   public static enum Direction {