add methods and constants to stop/start rollers
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / subsystems / IntakeArm.java
index afcc16f6a3f719a8d883f021dc8c1c4f0dc69fb2..a707777e96d7ac9bae06e4105f8a349323658957 100755 (executable)
@@ -48,6 +48,10 @@ public class IntakeArm extends Subsystem {
     intakeRoller.set(Constants.IntakeArm.OUTPUT_SPEED);
   }
 
+  public void stopRollers() {
+    intakeRoller.set(Constants.IntakeArm.STOP_SPEED);
+  }
+
   /***
    * This method gets you the current voltage of the motor that controls the
    * intake arm roller. The range of voltage is from [-1,1]. A negative voltage