fix bugs related to Config
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
index bf265a4fea8ced0142b226ae055c79de7b77f902..d49e2c494cc7284351a9eebfdd1bab5c91c2eccd 100644 (file)
@@ -10,8 +10,6 @@ public class Constants {
   public static class OI {
     public final static int LEFT_STICK_PORT = 0;
     public final static int RIGHT_STICK_PORT = 1;
-    public final static int TOGGLE_WINCH_PORT = 0;
-
     public final static int TOGGLE_WINCH_PORT = 0;
     public final static int TOGGLE_FLYWHEEL_PORT = 0;
     public final static int TOGGLE_INDEXWHEEL_PORT = 0;
@@ -21,6 +19,10 @@ public class Constants {
     // MOTOR CONTROLLERS
     public static final int FLY_WHEEL = 0;
     public static final int INDEX_WHEEL = 0;
+    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 static class DriveTrain {
@@ -31,8 +33,8 @@ public class Constants {
     public static final int REAR_RIGHT = 4;
 
     // ENCODERS
-    public static final int ENCODER_LEFT_A = 0;
-    public static final int ENCODER_LEFT_B = 1;
+    public static final int ENCODER_LEFT_A = 1;
+    public static final int ENCODER_LEFT_B = 0;
     public static final int ENCODER_RIGHT_A = 2;
     public static final int ENCODER_RIGHT_B = 3;
   }
@@ -40,10 +42,22 @@ public class Constants {
   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 {
     LEFT, RIGHT, DOWN, UP, FORWARD, BACKWARD;
   }
+
+  public class CameraFeeds {
+    public static final int btCamCenter = 1;
+    public static final int btCamRight = 2;
+
+    public static final String camNameCenter = "cam0";
+    public static final String camNameRight = "cam1";
+    public static final int imgQuality = 60;
+  }
 }