| 1 | package org.usfirst.frc.team3501.robot.commands.shooter; |
| 2 | |
| 3 | import edu.wpi.first.wpilibj.command.Command; |
| 4 | |
| 5 | /** |
| 6 | * This command increases the speed at which the flywheel runs at by a fixed |
| 7 | * constant |
| 8 | * |
| 9 | * post-condition: the shooting speed is incremented, such that whenever the |
| 10 | * flywheel is run, it will run at the increased shooting speed |
| 11 | */ |
| 12 | public class IncreaseShootingSpeed extends Command { |
| 13 | public IncreaseShootingSpeed() { |
| 14 | |
| 15 | } |
| 16 | |
| 17 | // Called just before this Command runs the first time |
| 18 | @Override |
| 19 | protected void initialize() { |
| 20 | } |
| 21 | |
| 22 | // Called repeatedly when this Command is scheduled to run |
| 23 | @Override |
| 24 | protected void execute() { |
| 25 | } |
| 26 | |
| 27 | // Called once after isFinished returns true |
| 28 | @Override |
| 29 | protected void end() { |
| 30 | } |
| 31 | |
| 32 | // Called when another command which requires one or more of the same |
| 33 | // subsystems is scheduled to run |
| 34 | @Override |
| 35 | protected void interrupted() { |
| 36 | } |
| 37 | |
| 38 | @Override |
| 39 | protected boolean isFinished() { |
| 40 | // TODO Auto-generated method stub |
| 41 | return false; |
| 42 | } |
| 43 | |
| 44 | } |