eec3b20ad12e38a2b6fcb3d8342d4a5518d9cf44
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / intakearm / RunIntake.java
1 package org.usfirst.frc.team3501.robot.commands.intakearm;
2
3 import org.usfirst.frc.team3501.robot.Robot;
4
5 import edu.wpi.first.wpilibj.command.Command;
6
7 public class RunIntake extends Command {
8
9 public RunIntake() {
10 requires(Robot.intakeArm);
11 }
12
13 @Override
14 protected void initialize() {
15 Robot.intakeArm.intakeBall();
16 }
17
18 @Override
19 protected void execute() {
20 }
21
22 @Override
23 protected boolean isFinished() {
24 return true;
25 }
26
27 @Override
28 protected void end() {
29 }
30
31 @Override
32 protected void interrupted() {
33 }
34
35 }