ca74e1c60c2e93892277c9d4b7d5529b07a4771b
[3501/2017steamworks] / src / org / usfirst / frc / team3501 / robot / commands / intake / RunIntake.java
1 package org.usfirst.frc.team3501.robot.commands.intake;
2
3 import edu.wpi.first.wpilibj.command.Command;
4
5 /**
6 *
7 * Starts running the intake for a specific period of time that the user inputs.
8 *
9 * @author Meeta
10 */
11 public class RunIntake extends Command {
12 private double timeToMove;
13
14 public RunIntake(double timeToMove) {
15 this.timeToMove = timeToMove;
16 }
17
18 @Override
19 protected boolean isFinished() {
20 // TODO Auto-generated method stub
21 return false;
22 }
23
24 // Called just before this Command runs the first time
25 @Override
26 protected void initialize() {
27 }
28
29 // Called repeatedly when this Command is scheduled to run
30 @Override
31 protected void execute() {
32 }
33
34 // Called once after isFinished returns true
35 @Override
36 protected void end() {
37 }
38
39 // Called when another command which requires one or more of the same
40 // subsystems is scheduled to run
41 @Override
42 protected void interrupted() {
43 }
44 }