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