add arm methods getCurrentLevel() and updateLimitStates()
[3501/2015-FRC-Spark] / src / org / usfirst / frc3501 / RiceCatRobot / RobotMap.java
index 9b6d60d2feec1dc6ec24bfa2e3f56c33888a7c7c..fcec3004b20c2b6d0831bf843cffd9c6c6cd0084 100644 (file)
@@ -23,8 +23,7 @@ public class RobotMap {
 
   public static final int ARM_LEFT = 2, ARM_RIGHT = 7;
   public static final double ARM_HIGH_SPEED = 0.5, ARM_LOW_SPEED = 0.5;
-  public static final int ARM_LIMIT_1 = 0, ARM_LIMIT_2 = 1, ARM_LIMIT_3 = 2, ARM_LIMIT_4 = 3;
-
+  public static final int NUM_LIMITS = 4;
   // Claw
   public static final int SOLENOID_FORWARD = 0, SOLENOID_REVERSE = 1,
       MODULE_NUMBER = 0;