gamemanual0 / gm0

Game Manual 0 - The most extensive guide out there for FTC
https://gm0.org
Other
54 stars 92 forks source link

FSM Useful Implementation Syntax Error #337

Closed G-ForceGarage closed 1 year ago

G-ForceGarage commented 1 year ago

FSM page needs to be updated; the cases should only be CASE_NAME, not LiftState.CASE_NAME. Running the current code throws an "An enum switch case label must be the unqualified name of an enumeration constant" error.

https://gm0.org/en/latest/docs/software/concepts/finite-state-machines.html