1 package org
.usfirst
.frc
.team3501
.robot
.commands
.shooter
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 * This command stops the fly wheel. Do not call unless the trigger button has
14 public class StopFlyWheel
extends Command
{
16 * This command stops the fly wheel.
18 public StopFlyWheel() {
22 // Called just before this Command runs the first time
24 protected void initialize() {
27 // Called repeatedly when this Command is scheduled to run
29 protected void execute() {
32 // Called once after isFinished returns true
34 protected void end() {
35 Robot
.getShooter().stopFlyWheel();
38 // Called when another command which requires one or more of the same
39 // subsystems is scheduled to run
41 protected void interrupted() {
45 protected boolean isFinished() {