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() {
13 protected void initialize() {
14 if (Robot
.intakeArm
.areRollersRolling())
15 Robot
.intakeArm
.stopRollers();
17 Robot
.intakeArm
.intakeBall();
21 protected void execute() {
26 protected boolean isFinished() {
31 protected void end() {
36 protected void interrupted() {