001package com.stuypulse.robot.commands.shooter; 002 003import com.stuypulse.robot.subsystems.shooter.Shooter; 004 005import edu.wpi.first.wpilibj2.command.Command; 006 007public class ShooterWaitForSpinUp extends Command { 008 private static final Shooter shooter; 009 010 public ShooterWaitForSpinUp() { 011 addRequirements(shooter); 012 } 013 014 static { 015 shooter = Shooter.getInstance(); 016 } 017 018 @Override 019 public boolean isFinished() { 020 return shooter.shooterSpunUp(); 021 } 022}