package org.usfirst.frc.team3501.robot.commands.shooter;
import org.usfirst.frc.team3501.robot.Robot;
+import org.usfirst.frc.team3501.robot.subsystems.Shooter;
import edu.wpi.first.wpilibj.command.Command;
* @author Shaina
*/
public class StopFlyWheel extends Command {
+ private Shooter shooter = Robot.getShooter();
+
/**
* This command stops the fly wheel.
*/
public StopFlyWheel() {
-
+ requires(shooter);
}
// Called just before this Command runs the first time
// subsystems is scheduled to run
@Override
protected void interrupted() {
+ end();
}
@Override