Correct ports
[3501/stronghold-2016] / src / org / usfirst / frc / team3501 / robot / commands / shooter / SetShooterSpeed.java
CommitLineData
6bb7f8ac 1package org.usfirst.frc.team3501.robot.commands.shooter;
9f3a7bd4
KZ
2
3import org.usfirst.frc.team3501.robot.Robot;
4
5import edu.wpi.first.wpilibj.command.Command;
6
7public class SetShooterSpeed extends Command {
8 double speed = 0.0;
9
10 public SetShooterSpeed(double speed) {
11 this.speed = speed;
12 }
13
14 @Override
15 protected void initialize() {
16 Robot.shooter.setSpeed(speed);
17 }
18
19 @Override
20 protected void execute() {
21
22 }
23
24 @Override
25 protected boolean isFinished() {
26 return true;
27 }
28
29 @Override
30 protected void end() {
31
32 }
33
34 @Override
35 protected void interrupted() {
36
37 }
38
39}