Commit | Line | Data |
---|---|---|
38b0db52 E |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | import org.usfirst.frc.team3501.robot.OI; | |
4 | import org.usfirst.frc.team3501.robot.subsystems.Shooter; | |
5 | ||
6 | import edu.wpi.first.wpilibj.command.Command; | |
7 | ||
8 | /** | |
9 | * | |
10 | */ | |
11 | public class ShooterTest extends Command { | |
12 | public static Shooter shooter; | |
13 | public static OI oi; | |
14 | ||
15 | public ShooterTest() { | |
16 | // Use requires() here to declare subsystem dependencies | |
17 | // eg. requires(chassis); | |
18 | requires(shooter); | |
19 | } | |
20 | ||
21 | // Called just before this Command runs the first time | |
22 | @Override | |
23 | protected void initialize() { | |
24 | ||
25 | } | |
26 | ||
27 | // Called repeatedly when this Command is scheduled to run | |
28 | @Override | |
29 | protected void execute() { | |
30 | } | |
31 | ||
32 | // Make this return true when this Command no longer needs to run execute() | |
33 | @Override | |
34 | protected boolean isFinished() { | |
35 | return false; | |
36 | } | |
37 | ||
38 | // Called once after isFinished returns true | |
39 | @Override | |
40 | protected void end() { | |
41 | } | |
42 | ||
43 | // Called when another command which requires one or more of the same | |
44 | // subsystems is scheduled to run | |
45 | @Override | |
46 | protected void interrupted() { | |
47 | } | |
48 | } |