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