You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alex Schokking edited this page Jul 10, 2025
·
13 revisions
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]]