move setmotorvalues to execute and set wheels to constant speeds
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / shooter / RunIndexWheelContinuous.java
index 1bf1c6f0c4941cba314eeff63030e066f345e557..bf9af68ad85b3c0617672edba540c37aeb7d2989 100644 (file)
@@ -27,18 +27,18 @@ public class RunIndexWheelContinuous extends Command {
    *          value range from -1 to 1
    */
   public RunIndexWheelContinuous() {
-
+    requires(shooter);
   }
 
   // Called just before this Command runs the first time
   @Override
   protected void initialize() {
-    shooter.setIndexWheelMotorVal(shooter.CURRENT_SHOOTING_SPEED);
   }
 
   // Called repeatedly when this Command is scheduled to run
   @Override
   protected void execute() {
+    shooter.setIndexWheelMotorVal(shooter.DEFAULT_INDEXING_SPEED);
   }
 
   // Called once after isFinished returns true