import edu.wpi.first.wpilibj.command.Command;
/**
- * This command runs the fly wheel at a given speed for a given time. The fly
- * wheel is intended to shoot balls fed by the intake wheel.
+ * This command runs the fly wheel at a specific speed using a PID Controller
+ * for accuracy for a given time. The fly wheel is intended to shoot balls fed
+ * by the intake wheel.
*
* @author Shaina & Chris
*/
// Called repeatedly when this Command is scheduled to run
protected void execute() {
double shooterSpeed = this.wheelController
- .calcPID(this.shooter.getShooterSpeed());
+ .calcPID(this.shooter.getShooterRPM());
this.shooter.setFlyWheelMotorVal(shooterSpeed);
}