feature request: restart engine
It would be very useful to be able to restart the onboard engine for testing new code. Reloading Python modules at runtime is tricky and doesn't work most of the time. The patch here implements this feature: https://github.com/machinekoder/flexbe_behavior_engine/tree/feature/restart and here a button for the GUI: https://github.com/machinekoder/flexbe_app/tree/feature/restart
Thanks for the suggestion! However, restarting the process as in the suggested commit appears a bit harsh to me. How about this new commit, would this address the issue of reloading modules for you? If not, what would be missing?
Can I modify the states and test in the Flexbe App immediately without relaunch everything? So far with the Flexbe engine and app started, if I changed some python code of states, then execute behavior in Flexbe App, it still runs old state, unless I restart the behavior engine.