| 1 | package org.usfirst.frc.team3501.robot.commands.shooter; |
| 2 | |
| 3 | import edu.wpi.first.wpilibj.command.Command; |
| 4 | |
| 5 | /** |
| 6 | * Runs the fly wheel at a given speed in () for input time in seconds |
| 7 | * |
| 8 | * @param speed |
| 9 | * in () |
| 10 | * @param time |
| 11 | * in seconds |
| 12 | */ |
| 13 | public class RunFlyWheel extends Command { |
| 14 | |
| 15 | // Called just before this Command runs the first time |
| 16 | @Override |
| 17 | protected void initialize() { |
| 18 | } |
| 19 | |
| 20 | // Called repeatedly when this Command is scheduled to run |
| 21 | @Override |
| 22 | protected void execute() { |
| 23 | } |
| 24 | |
| 25 | // Called once after isFinished returns true |
| 26 | @Override |
| 27 | protected void end() { |
| 28 | } |
| 29 | |
| 30 | // Called when another command which requires one or more of the same |
| 31 | // subsystems is scheduled to run |
| 32 | @Override |
| 33 | protected void interrupted() { |
| 34 | } |
| 35 | |
| 36 | @Override |
| 37 | protected boolean isFinished() { |
| 38 | // TODO Auto-generated method stub |
| 39 | return false; |
| 40 | } |
| 41 | |
| 42 | } |