1 package org
.usfirst
.frc
.team3501
.robot
.commands
.intake
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
7 * Starts running the intake for a specific period of time that the user inputs.
11 public class RunIntake
extends Command
{
12 public RunIntake(double timeToMove
) {
17 protected boolean isFinished() {
18 // TODO Auto-generated method stub
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() {
37 // Called when another command which requires one or more of the same
38 // subsystems is scheduled to run
40 protected void interrupted() {