| ... | @@ -57,7 +57,7 @@ You can find the complete implementation of the FSM class in `src/shared/events/ |
... | @@ -57,7 +57,7 @@ You can find the complete implementation of the FSM class in `src/shared/events/ |
|
|
## Example 1
|
|
## Example 1
|
|
|
This example implements the following very simple finite state machine behavior:
|
|
This example implements the following very simple finite state machine behavior:
|
|
|
|
|
|
|
|

|
|
<div align="center"><img src="images/fsm/fsm.png" height="150"/><br/><i></i></div><br>
|
|
|
|
|
|
|
|
No action is specified for the involved events (`EV_ENTRY`, `EV_EXIT`, `EV_1`, `EV_2`). They simply trigger the transitions.
|
|
No action is specified for the involved events (`EV_ENTRY`, `EV_EXIT`, `EV_1`, `EV_2`). They simply trigger the transitions.
|
|
|
|
|
|
| ... | | ... | |