undo applying default speed in runShooter, instead added comment explaining
authorCindy Zhang <cindyzyx9@gmail.com>
Thu, 18 Feb 2016 21:02:07 +0000 (13:02 -0800)
committerKevin Zhang <icestormf1@gmail.com>
Thu, 18 Feb 2016 22:02:42 +0000 (14:02 -0800)
src/org/usfirst/frc/team3501/robot/commands/shooter/runShooter.java

index c7b0cf2fca40fd7e83c0b887c83b5e854a887080..b4e80578c247d89c04348e81354143454d79e831 100644 (file)
@@ -1,6 +1,5 @@
 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;
@@ -14,9 +13,10 @@ public class runShooter extends Command {
 
   }
 
+  // default shooter speed is used to shoot when in front of the batter
   @Override
   protected void initialize() {
-    Robot.shooter.setSpeed(Constants.Shooter.DEFAULT_SHOOTER_SPEED);
+    Robot.shooter.setSpeed(0.5);
   }
 
   @Override