Skip to content

State machine module#7

Open
rafguevara14 wants to merge 6 commits into
mainfrom
state-machine-module
Open

State machine module#7
rafguevara14 wants to merge 6 commits into
mainfrom
state-machine-module

Conversation

@rafguevara14
Copy link
Copy Markdown
Contributor

@rafguevara14 rafguevara14 commented Nov 12, 2023

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.

@rafguevara14 rafguevara14 linked an issue Nov 13, 2023 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create generic state machine implementation

1 participant