Skip to content

Commands

Alex Schokking edited this page Feb 7, 2025 · 5 revisions

Command State Machine

When a command is kicked off (by a button or being run in a command group etc..) it runs through it's code in the following state machine:

Loading
flowchart TD
    s[[start]]--> i["initialize()"]
    i --> if{"boolean isFinished()"}
    if -->|false| e["execute()"]
    e --> if
    if --> |true|en["end()"]
    en-->d[[done]]

Command Groups

TODO

Clone this wiki locally