aef6ab8b3486fbd2d29aa5fc651eaec96d516e61
1 package org
.usfirst
.frc
.team3501
.robot
.commands
.intakearm
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
8 * This command will take a boulder into the robot if there is not a boulder
9 * present inside already.
11 * pre-condition: Intake arm must be at correct height and a boulder is not
12 * present inside the robot.
14 * post-condition: A boulder is taken in from the field outside of the robot
17 * @author Lauren and Niyati
21 public class StopIntake
extends Command
{
24 requires(Robot
.intakeArm
);
28 protected void initialize() {
29 Robot
.intakeArm
.stopRollers();
33 protected void execute() {
37 protected boolean isFinished() {
42 protected void end() {
46 protected void interrupted() {