From 05e6dab3c3463ba7fa4dcd8fc18e052dcbd59e95 Mon Sep 17 00:00:00 2001 From: Meryem Esa Date: Sat, 30 Jan 2016 11:09:02 -0800 Subject: [PATCH] make Deploy Intake Arm command --- .../robot/commands/DeployIntakeArm.java | 42 +++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 src/org/usfirst/frc/team3501/robot/commands/DeployIntakeArm.java diff --git a/src/org/usfirst/frc/team3501/robot/commands/DeployIntakeArm.java b/src/org/usfirst/frc/team3501/robot/commands/DeployIntakeArm.java new file mode 100755 index 00000000..d54fcb22 --- /dev/null +++ b/src/org/usfirst/frc/team3501/robot/commands/DeployIntakeArm.java @@ -0,0 +1,42 @@ +package org.usfirst.frc.team3501.robot.commands; + +import edu.wpi.first.wpilibj.command.Command; + +/** + * This command should run at the beginning of autonomous and never again + * because the arm will rachet into place + */ +public class DeployIntakeArm extends Command { + + public DeployIntakeArm() { + // Use requires() here to declare subsystem dependencies + // eg. requires(chassis); + } + + // Called just before this Command runs the first time + @Override + protected void initialize() { + } + + // Called repeatedly when this Command is scheduled to run + @Override + protected void execute() { + } + + // Make this return true when this Command no longer needs to run execute() + @Override + protected boolean isFinished() { + return false; + } + + // Called once after isFinished returns true + @Override + protected void end() { + } + + // Called when another command which requires one or more of the same + // subsystems is scheduled to run + @Override + protected void interrupted() { + } +} -- 2.30.2