1 package org
.usfirst
.frc
.team3501
.robot
.commands
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.command
.Command
;
7 public class ToggleBallRollerExpel
extends Command
{
9 public ToggleBallRollerExpel() {
10 requires(Robot
.intakeArm
);
14 protected void initialize() {
15 if (Robot
.intakeArm
.areRollersRolling())
16 Robot
.intakeArm
.stopRollers();
18 Robot
.intakeArm
.outputBall();
22 protected void execute() {
27 protected boolean isFinished() {
32 protected void end() {
33 Robot
.intakeArm
.stopRollers();
37 protected void interrupted() {