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 index wheel. Do not call unless the trigger button has
13 public class StopIndexWheel
extends Command
{
15 * This command stops the index wheel.
17 public StopIndexWheel() {
21 // Called just before this Command runs the first time
23 protected void initialize() {
26 // Called repeatedly when this Command is scheduled to run
28 protected void execute() {
31 // Called once after isFinished returns true
33 protected void end() {
34 Robot
.getShooter().stopIndexWheel();
37 // Called when another command which requires one or more of the same
38 // subsystems is scheduled to run
40 protected void interrupted() {
44 protected boolean isFinished() {