Change decrement/increment shooter port names to be more descriptive
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 021183a8d7339b382adccc0eae4e480c0202933b..f5694c6f59391a4628d11b86a3e120572fe3186e 100644 (file)
@@ -8,15 +8,37 @@ package org.usfirst.frc.team3501.robot;
 
 public class Constants {
   public static class OI {
+    // Computer Ports
     public final static int LEFT_STICK_PORT = 0;
-    public final static int RIGHT_STICK_PORT = 0;
+    public final static int RIGHT_STICK_PORT = 1;
+    // Ports on the Joystick
+    public final static int TRIGGER_PORT = 1;
+    public final static int DECREMENT_SHOOTER_SPEED_PORT = 2;
+    public final static int INCREMENT_SHOOTER_SPEED_PORT = 3;
+    public final static int SHOOT_PORT = 4;
+    public final static int LOG_PORT = 5;
   }
 
   public static class DriveTrain {
+    // Drivetrain Motor Related Ports
     public static final int FRONT_LEFT = 0;
     public static final int FRONT_RIGHT = 0;
     public static final int REAR_LEFT = 0;
     public static final int REAR_RIGHT = 0;
+
+    // Encoder related ports
+    public final static int ENCODER_LEFT_A = 3;
+    public final static int ENCODER_LEFT_B = 4;
+    public final static int ENCODER_RIGHT_A = 2;
+    public final static int ENCODER_RIGHT_B = 1;
+  }
+
+  public static class Shooter {
+    public static final int PORT = 0;
+
+    public static enum State {
+      RUNNING, STOPPED;
+    }
   }
 
   public static enum Direction {