54e8a603b5aff28bb1b23e8871f921d3b62a0c6d
1 package org
.usfirst
.frc
.team3501
.robot
.commands
.intake
;
3 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Intake
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 * Stops running the intake.
13 public class StopIntake
extends Command
{
18 // Called just before this Command runs the first time
20 protected void initialize() {
23 // Called repeatedly when this Command is scheduled to run
25 protected void execute() {
28 // Called once after isFinished returns true
30 protected void end() {
31 Intake
.intake
.setSpeed(0);
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() {
43 // TODO Auto-generated method stub