make not shoot when flywheel not spin

This commit is contained in:
Tylr-J42 committed 2026-03-24 16:33:01 -04:00
1 parent 80c2a4dd95
commit 429fa04f99
2 files changed
+3 -2

No files matched your search

+1 -1
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)
)