-
Notifications
You must be signed in to change notification settings - Fork 11
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
store/restore of the state stack. #8
Comments
Ah yes, serialisation. I've been thinking about it for quite a while alright. I think that apart from the state stacks you'd have to store the current Regarding the
Hope it helps. |
That gives me a good place to start! Thanks for the explaination of stacks |
I'm working on an implementation where I store and restore the state stacks so that I can put my Microcontroller to sleep and on boot, reinitialize the state machine, then set the states back to what they were.
I tried to find if any of the states had persistent data, and it doesn't seem to be the case (unless I extend State myself and add it there). So it seems I would only need to restore:
The values of those attributes.
Can you please let me know if I'm missing any extra state that is important for restoring the state machine, and further, what is the difference between
state_stack
,leaf_state_stack
andstack
?The text was updated successfully, but these errors were encountered: