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 continually roll the rollers of the intake arm in the
9 * inwards direction and stop the rollers once the command is canceled.
11 * pre-condition: This command must be called by a button with the method
14 * @author Lauren and Niyati
18 public class BallRollerIntakeContinuous
extends Command
{
20 public BallRollerIntakeContinuous() {
21 requires(Robot
.intakeArm
);
25 protected void initialize() {
26 Robot
.intakeArm
.intakeBall();
30 protected void execute() {
35 protected boolean isFinished() {
40 protected void end() {
41 Robot
.intakeArm
.stopRollers();
45 protected void interrupted() {