1 package org
.usfirst
.frc
.team3501
.robot
.commands
.intakearm
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
5 import edu
.wpi
.first
.wpilibj
.Timer
;
6 import edu
.wpi
.first
.wpilibj
.command
.Command
;
11 public class TimeRunIntake
extends Command
{
15 public TimeRunIntake(double time
) {
21 protected void initialize() {
23 Robot
.intakeArm
.intakeBall();
27 protected void execute() {
31 protected boolean isFinished() {
32 return timer
.get() >= time
;
36 protected void end() {
37 Robot
.intakeArm
.stopRollers();
41 protected void interrupted() {