add default speed for shooter in constants, and apply in runShooter command
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / runShooter.java
index 4315ae1932da88e38dbf6cab3fdf09705e9da09c..c7b0cf2fca40fd7e83c0b887c83b5e854a887080 100644 (file)
@@ -1,5 +1,6 @@
 package org.usfirst.frc.team3501.robot.commands.shooter;
 
+import org.usfirst.frc.team3501.robot.Constants;
 import org.usfirst.frc.team3501.robot.Robot;
 
 import edu.wpi.first.wpilibj.command.Command;
@@ -15,7 +16,7 @@ public class runShooter extends Command {
 
   @Override
   protected void initialize() {
-    Robot.shooter.setSpeed(0.5);
+    Robot.shooter.setSpeed(Constants.Shooter.DEFAULT_SHOOTER_SPEED);
   }
 
   @Override