add corrections
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheelContinuous.java
index adcd1a618df4b8f614824574952871d7c75f455b..2f1b9fecc07f90795dd0c5a7acaf038a86e05d1c 100644 (file)
@@ -38,12 +38,13 @@ public class RunIndexWheelContinuous extends Command {
   // Called repeatedly when this Command is scheduled to run
   @Override
   protected void execute() {
-    shooter.setIndexWheelMotorVal(shooter.DEFAULT_INDEXING_SPEED);
+    shooter.runIndexWheelForward();
   }
 
   // Called once after isFinished returns true
   @Override
   protected void end() {
+    shooter.stopIndexWheel();
   }
 
   // Called when another command which requires one or more of the same