Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State machine module #7

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

State machine module #7

wants to merge 6 commits into from

Conversation

rafguevara14
Copy link
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