A simple generative state machine framework, inspired by Quantum Leaps QP/C++.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
To run an the example, PYTHONPATH=. python3 examples/VideoPlayer/VideoPlayer.py
in root.
To use, run VideoPlayer.py
.
In our example, the state machine is a video player. To issue a command, type one of the following:
ON_SIG OFF_SIG INSERT_SIG PLAY_SIG PAUSE_SIG STOP_SIG REWIND_SIG FORWARD_SIG
You can use our state diagram to show expected behavior. When you run Automata.py, it will generate a small report of the objects created.
- Nick Glazer