This library is designed to create and run state graphs. It supports hierarchical states and parallel states execution.
README.md@3:d4d69d0d8381, 2019-02-12 (annotated)
- Committer:
- martin13
- Date:
- Tue Feb 12 08:56:43 2019 +0000
- Revision:
- 3:d4d69d0d8381
- Parent:
- 1:0f11d9338d89
Added README.md
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
martin13 | 3:d4d69d0d8381 | 1 | # State machine library |
martin13 | 3:d4d69d0d8381 | 2 | |
martin13 | 3:d4d69d0d8381 | 3 | ## This library can: |
martin13 | 3:d4d69d0d8381 | 4 | |
martin13 | 3:d4d69d0d8381 | 5 | 1. Execute states graph. |
martin13 | 3:d4d69d0d8381 | 6 | 2. Execute herachical state/state machine. |
martin13 | 3:d4d69d0d8381 | 7 | 3. Execute parallel state/state machine. |
martin13 | 3:d4d69d0d8381 | 8 | 4. Exchange user data between states and state machine. |
martin13 | 3:d4d69d0d8381 | 9 | |
martin13 | 3:d4d69d0d8381 | 10 | The library is useful when you want to execute some complex routine, |
martin13 | 3:d4d69d0d8381 | 11 | where all possible states and state transitions can be described explicitly. |
martin13 | 3:d4d69d0d8381 | 12 | |
martin13 | 3:d4d69d0d8381 | 13 | Fast prototyping: |
martin13 | 3:d4d69d0d8381 | 14 | - The straightforward C++/POO syntax makes it easy to quickly prototype a state machine and start running it. |
martin13 | 3:d4d69d0d8381 | 15 | |
martin13 | 3:d4d69d0d8381 | 16 | Complex state machines: |
martin13 | 3:d4d69d0d8381 | 17 | - This library allows you to design, maintain and debug large, |
martin13 | 3:d4d69d0d8381 | 18 | complex hierarchical state machines. You can find examples into "utt_*.h". |
martin13 | 3:d4d69d0d8381 | 19 | |
martin13 | 3:d4d69d0d8381 | 20 | Is only a finite state machine library? |
martin13 | 3:d4d69d0d8381 | 21 | |
martin13 | 3:d4d69d0d8381 | 22 | You can build a finite state machine using this lib, but can do much more. |
martin13 | 3:d4d69d0d8381 | 23 | MbedFinalStateMachine is a library for task-level execution and coordination, |
martin13 | 3:d4d69d0d8381 | 24 | and provides several types of "state containers". |
martin13 | 3:d4d69d0d8381 | 25 | One such container, is a finite state machine, |
martin13 | 3:d4d69d0d8381 | 26 | but this container can also be a state in another container. |
martin13 | 3:d4d69d0d8381 | 27 | See the tutorials "utt_herachical_sm.h" for a list of containers and states built into MbedFinalStateMachine. |