Add compressor control code and fix solenoid ports
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 54ffd0091e4ec013cb727f03bc9a11a9e0a3d831..1a1a20bb5c2fbd0a45460a257aff2d2ef9b4594c 100644 (file)
@@ -37,6 +37,7 @@ public class Constants {
     public final static int RIGHT_JOYSTICK_THUMB_PORT = 2;
 
     public final static int TOGGLE_SCALING_PORT = 0;
+    public final static int TOGGLE_COMPRESSOR_PORT = 12;
 
   }
 
@@ -63,8 +64,12 @@ public class Constants {
     public static double encoderTolerance = 8.0, gyroTolerance = 5.0;
 
     public static final int MANUAL_MODE = 1, ENCODER_MODE = 2, GYRO_MODE = 3;
-    public static final int LEFT_FORWARD = 1, LEFT_REVERSE = 2,
-        RIGHT_FORWARD = 9, RIGHT_REVERSE = 10;
+
+    public static final int MODULE_A_ID = 9, MODULE_B_ID = 10;
+    public static final int LEFT_FORWARD = 5, LEFT_REVERSE = 1,
+        RIGHT_FORWARD = 4, RIGHT_REVERSE = 0;
+    public static final int COMPRESSOR_ID = 9;
+
     public static double time = 0;
 
     // Gearing constants