| 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 | |
| 15 | } |
| 16 | |
| 17 | @Override |
| 18 | protected void initialize() { |
| 19 | Robot.shooter.setSpeed(Constants.Shooter.DEFAULT_SHOOTER_SPEED); |
| 20 | } |
| 21 | |
| 22 | @Override |
| 23 | protected void execute() { |
| 24 | } |
| 25 | |
| 26 | @Override |
| 27 | protected boolean isFinished() { |
| 28 | return true; |
| 29 | } |
| 30 | |
| 31 | @Override |
| 32 | protected void end() { |
| 33 | Robot.shooter.stop(); |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | protected void interrupted() { |
| 38 | } |
| 39 | } |