4ae8f5f55ed88ba76720b52b1ce915423ea03509
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 ToggleBallRollerIntake
extends Command
{
8 final double BALL_EXPEL_SPEED
= -0.3;
10 public ToggleBallRollerIntake() {
14 protected void initialize() {
15 if (areRollersRolling()) {
16 Robot
.intakeArm
.stopRollers();
18 Robot
.intakeArm
.intakeBall();
22 protected void execute() {
27 protected boolean isFinished() {
32 protected void end() {
37 protected void interrupted() {