change gyro from old imu to new adx imu
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / Constants.java
index 0c4880ea29d559b6ea96a5393c4b613b04adffb0..d8af3dbe5fb0d573242c861ae0a809568eb28f8a 100644 (file)
@@ -1,5 +1,7 @@
 package org.usfirst.frc.team3501.robot;
 
+import edu.wpi.first.wpilibj.SPI;
+
 /**
  * The Constants stores constant values for all subsystems. This includes the
  * port values for motors and sensors, as well as important operational
@@ -23,13 +25,6 @@ public class Constants {
 
     public final static int TOGGLE_FLYWHEEL_PORT = 0;
     public final static int TOGGLE_INDEXWHEEL_PORT = 0;
-
-  }
-
-  public static class Shooter {
-    // MOTOR CONTROLLERS
-    public static final int FLY_WHEEL = 0;
-    public static final int INDEX_WHEEL = 0;
   }
 
   public static class DriveTrain {
@@ -40,10 +35,12 @@ 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;
+
+    public static final SPI.Port GYRO_PORT = SPI.Port.kOnboardCS0;
   }
 
   public static class Climber {