[cmd3] Fix StateMachineTest (#8876)

This commit is contained in:
Ryan Blue
2026-05-08 00:42:16 -04:00
committed by GitHub
parent 1021ff88a9
commit 878da3d54c
2 changed files with 43 additions and 47 deletions

View File

@@ -54,7 +54,7 @@ public Command autoWithStateMachine() {
```java
Command autoWithCoroutines() {
return Command.noRequirements().executing(coroutine -> {
return Command.noRequirements(coroutine -> {
// Automatically score while the robot is in scoring position.
// This will be canceled if the robot is bumped away from the scoring location.
atScoringLocation.whileTrue(