add getter/setter methods and constants for encoder
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 021183a8d7339b382adccc0eae4e480c0202933b..163ba286e42d6da44e13883bb747b0444a692a19 100644 (file)
@@ -7,19 +7,28 @@ package org.usfirst.frc.team3501.robot;
  */
 
 public class Constants {
-  public static class OI {
-    public final static int LEFT_STICK_PORT = 0;
-    public final static int RIGHT_STICK_PORT = 0;
-  }
+    public static class OI {
+        public final static int LEFT_STICK_PORT = 0;
+        public final static int RIGHT_STICK_PORT = 0;
+    }
 
-  public static class DriveTrain {
-    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;
-  }
+    public static class DriveTrain {
+        // MOTOR CONTROLLERS
+        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;
 
-  public static enum Direction {
-    LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
-  }
+        // ENCODERS
+        public static final int ENCODER_LEFT_A = 0;
+        public static final int ENCODER_LEFT_B = 0;
+        public static final int ENCODER_RIGHT_A = 0;
+        public static final int ENCODER_RIGHT_B = 0;
+
+        public static final int INCHES_PER_PULSE = 0;
+    }
+
+    public static enum Direction {
+        LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
+    }
 }