13 Commands
Alex Schokking edited this page 2025-07-09 17:12:07 -07:00

Command State Machine

When a command is kicked off (for example, by a controller button, or being run in a command group, etc.) it runs through its code in the following state machine:

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