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

+2 -1
View File
@@ -57,5 +57,6 @@
"edu.wpi.first.math.**.proto.*",
"edu.wpi.first.math.**.struct.*",
],
"java.dependency.enableDependencyCheckup": false
"java.dependency.enableDependencyCheckup": false,
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
}
+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)
)