1 package org
.usfirst
.frc
.team3501
.robot
.commands
.shooter
;
3 import org
.usfirst
.frc
.team3501
.robot
.Robot
;
4 import org
.usfirst
.frc
.team3501
.robot
.subsystems
.Shooter
;
6 import edu
.wpi
.first
.wpilibj
.command
.Command
;
9 * This command resets the speed at which the flywheel runs to the default
12 * post-condition: the shooting speed is reset
14 public class ResetShootingSpeed
extends Command
{
15 private Shooter shooter
= Robot
.getShooter();
17 public ResetShootingSpeed() {
22 protected void initialize() {
23 shooter
.resetTargetShootingSpeed();
27 protected void execute() {
31 protected boolean isFinished() {
36 protected void end() {
41 protected void interrupted() {