mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-19 00:41:43 +00:00
[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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user