Open smsm2014 opened 3 years ago
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.
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,
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 :-)
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
When try to use msfsm in making nested FSMs, I didn't find any documentation or example about usage.