mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[cmd3] Fix StateMachineTest (#8876)
This commit is contained in:
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user