This module acts as a refactor for the current VCU state machine, as well as an easier and simpler implementation for future state machines on the BMS. It uses the concept of state transition tables (STT) where an array of structs is used to define the behaviour of the state machine. At runtime, it will look for the current state and event in the STT, and transition if the definition exists.
refer to readme
This module acts as a refactor for the current VCU state machine, as well as an easier and simpler implementation for future state machines on the BMS. It uses the concept of state transition tables (STT) where an array of structs is used to define the behaviour of the state machine. At runtime, it will look for the current state and event in the STT, and transition if the definition exists.