1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import edu
.wpi
.first
.wpilibj
.command
.Command
;
6 * This command should run at the beginning of autonomous and never again
7 * because the arm will rachet into place
9 public class DeployIntakeArm
extends Command
{
11 public DeployIntakeArm() {
12 // Use requires() here to declare subsystem dependencies
13 // eg. requires(chassis);
16 // Called just before this Command runs the first time
18 protected void initialize() {
21 // Called repeatedly when this Command is scheduled to run
23 protected void execute() {
26 // Make this return true when this Command no longer needs to run execute()
28 protected boolean isFinished() {
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() {