Commit | Line | Data |
---|---|---|
6bb7f8ac | 1 | package org.usfirst.frc.team3501.robot.commands.shooter; |
9f3a7bd4 KZ |
2 | |
3 | import org.usfirst.frc.team3501.robot.Robot; | |
4 | ||
5 | import edu.wpi.first.wpilibj.command.Command; | |
6 | ||
7 | public class ChangeShooterSpeed extends Command { | |
8 | double change = 0; | |
9 | ||
10 | public ChangeShooterSpeed(double change) { | |
11 | this.change = change; | |
12 | } | |
13 | ||
14 | @Override | |
15 | protected void initialize() { | |
16 | Robot.shooter.changeSpeed(change); | |
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 | } |