Commit | Line | Data |
---|---|---|
05e6dab3 ME |
1 | package org.usfirst.frc.team3501.robot.commands; |
2 | ||
3 | import edu.wpi.first.wpilibj.command.Command; | |
4 | ||
5 | /** | |
6 | * This command should run at the beginning of autonomous and never again | |
7 | * because the arm will rachet into place | |
8 | */ | |
9 | public class DeployIntakeArm extends Command { | |
10 | ||
11 | public DeployIntakeArm() { | |
12 | // Use requires() here to declare subsystem dependencies | |
13 | // eg. requires(chassis); | |
14 | } | |
15 | ||
16 | // Called just before this Command runs the first time | |
17 | @Override | |
18 | protected void initialize() { | |
19 | } | |
20 | ||
21 | // Called repeatedly when this Command is scheduled to run | |
22 | @Override | |
23 | protected void execute() { | |
24 | } | |
25 | ||
26 | // Make this return true when this Command no longer needs to run execute() | |
27 | @Override | |
28 | protected boolean isFinished() { | |
29 | return false; | |
30 | } | |
31 | ||
32 | // Called once after isFinished returns true | |
33 | @Override | |
34 | protected void end() { | |
35 | } | |
36 | ||
37 | // Called when another command which requires one or more of the same | |
38 | // subsystems is scheduled to run | |
39 | @Override | |
40 | protected void interrupted() { | |
41 | } | |
42 | } |