Right now, a failure of any of the python process leads to a complete stop of everything. While this was a feature, it's a considered a bug by many users, and it's actually a desirable behaviour for tests to be able to run the machine with partially setup equipment.
Thus, we need to decouple the python module from one another and make sure that the crash (or non startup) of one doesn't affect the others and don't lead to a shutdown of main.py.
Eventually, we should find a way to deactivate the controls of a specific module in Node-Red (for example if we receive a "Dead" message from one module).
Right now, a failure of any of the python process leads to a complete stop of everything. While this was a feature, it's a considered a bug by many users, and it's actually a desirable behaviour for tests to be able to run the machine with partially setup equipment.
Thus, we need to decouple the python module from one another and make sure that the crash (or non startup) of one doesn't affect the others and don't lead to a shutdown of
main.py.Eventually, we should find a way to deactivate the controls of a specific module in Node-Red (for example if we receive a "Dead" message from one module).