Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature request: restart engine #122

Open
machinekoder opened this issue Apr 9, 2020 · 2 comments
Open

feature request: restart engine #122

machinekoder opened this issue Apr 9, 2020 · 2 comments
Labels
input required Requires further input before work can continue

Comments

@machinekoder
Copy link

machinekoder commented Apr 9, 2020

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

@pschillinger
Copy link
Member

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?

@pschillinger pschillinger added the input required Requires further input before work can continue label Apr 26, 2020
@smartsgic
Copy link

smartsgic commented Jan 29, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
input required Requires further input before work can continue
Projects
None yet
Development

No branches or pull requests

3 participants