make not shoot when flywheel not spin

This commit is contained in:
Tylr-J42
2026-03-24 16:33:01 -04:00
parent 80c2a4dd95
commit 429fa04f99
2 changed files with 3 additions and 2 deletions

View File

@@ -301,7 +301,7 @@ public class RobotContainer {
driver.rightBumper().whileTrue(intakeRoller.runIn());
driver.rightTrigger().whileTrue(
spindexer.spinToShooter().alongWith(
spindexer.spinToShooter().onlyWhile(() -> shooter.getAverageActualSpeeds()>2000).alongWith(
intakeRoller.runIn(),
intakePivot.jimmy(.5)
)