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

No Example or Documentation for usage in nested state machines #1

Open
smsm2014 opened this issue Mar 26, 2021 · 4 comments
Open

No Example or Documentation for usage in nested state machines #1

smsm2014 opened this issue Mar 26, 2021 · 4 comments

Comments

@smsm2014
Copy link

When try to use msfsm in making nested FSMs, I didn't find any documentation or example about usage.

@wentasah
Copy link
Owner

Unfortunately, documentation is not yet finished. You can find the example in motor.cpp. Motor::Homing is a FSM nested in Motor FSM.

Let me know if you need some help when trying to understand the code.

@fredhur
Copy link

fredhur commented Apr 12, 2022

Hi wentasah, I appereciate about your code.
and I have a same opinion with smsm2014.
it is kinda complicate to understand nested fsm.
( I really thx about your implementation of nested fsm . it is too simple to implement )

if that is not possible, can you please more easy example in nested fsm?

best regards,

wentasah added a commit that referenced this issue Apr 14, 2022
As reported in #1, the motor example is too complex for newcomers.
Hopefully, this one is more understandable.
@wentasah
Copy link
Owner

Hi @fredhur. You're right that the motor example with nested FSM is not easy to grasp. I created a simpler example. And by doing that after few years from developing the library, I can acknowledge that nested FSMs are tricky. Is the example clearer for you? If not, I should really finish the documentation :-)

@fredhur
Copy link

fredhur commented Apr 14, 2022

Thanks wentasah, I understand your example more easier than motor.cpp.

It is just quadruped , if your documentation have a example ( bulb, elevator) with state chart, it is more pefect documentation than before!

best regards

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

No branches or pull requests

3 participants