Fix stupid stuff
[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.Constants;
4 import org.usfirst.frc.team3501.robot.Robot;
5
6 import edu.wpi.first.wpilibj.command.Command;
7
8 /**
9 *
10 */
11 public class runShooter extends Command {
12
13 public runShooter() {
14 requires(Robot.shooter);
15 }
16
17 // default shooter speed is used to shoot when in front of the batter
18 @Override
19 protected void initialize() {
20 Robot.shooter.setSpeed(Constants.Shooter.TESTING_SHOOTER_SPEED);
21 }
22
23 @Override
24 protected void execute() {
25 }
26
27 @Override
28 protected boolean isFinished() {
29 return true;
30 }
31
32 @Override
33 protected void end() {
34 Robot.shooter.stop();
35 }
36
37 @Override
38 protected void interrupted() {
39 }
40 }