[cmd3] Update Scheduler class doc description of run() (NFC) (#8747)

#8705 updated the `run()` doc comment but missed the class doc comment.
This commit is contained in:
Joseph Eng
2026-04-10 16:14:54 -07:00
committed by GitHub
parent a8c7f3e3c6
commit d8df358e6a

View File

@@ -64,11 +64,13 @@ import org.wpilib.util.protobuf.ProtobufSerializable;
*
* <h2>Lifecycle</h2>
*
* <p>The {@link #run()} method runs five steps:
* <p>The {@link #run()} method runs six steps:
*
* <ol>
* <li>Call {@link #sideload(Consumer) periodic sideload functions}
* <li>Poll all registered triggers to queue and cancel commands
* <li>Cancel any commands bound to scopes that have gone inactive, such as having been scheduled
* in an opmode that's no longer selected on the driverstation.
* <li>Call {@link #sideload(Consumer) periodic sideload functions}.
* <li>Poll all registered triggers to queue and cancel commands.
* <li>Queue default commands for any mechanisms without a running command. The queued commands
* can be superseded by any manual scheduling or commands scheduled by triggers in the next
* run.