1 package org
.usfirst
.frc
.team3501
.robot
.commands
.intake
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 * Stops running the intake.
13 public class StopIntake
extends Command
{
15 requires(Robot
.getIntake());
18 // Called just before this Command runs the first time
20 protected void initialize() {
21 Robot
.getIntake().stopIntake();
24 // Called repeatedly when this Command is scheduled to run
26 protected void execute() {
29 // Called once after isFinished returns true
31 protected void end() {
34 // Called when another command which requires one or more of the same
35 // subsystems is scheduled to run
37 protected void interrupted() {
42 protected boolean isFinished() {