-
Notifications
You must be signed in to change notification settings - Fork 30
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
Enable Ctrl+C to stop the GUI #65
Conversation
setup/create_python_env.bash
Outdated
pip install lark pytest pytest-dependency pytest-html wheel | ||
pip install catkin-pkg empy lark pytest pytest-dependency pytest-html wheel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
snuck this in because it helps resolve some weird colcon build issues
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What the heck, catkin
? That's really weird
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you at least leave a comment with a link to where you found this?
In testing, it does kill the GUI with Ctrl+C 👍 but I get this error, too: python3 examples/demo.py -->
Is that new? Edit: I also get |
I'll push a comment about catkin-pkg then merge this. |
The catkin thing is because it's actually used by colcon! See e.g. |
Also helps address #64.
Now any program that uses the GUI will terminate correctly when Ctrl+C is pressed. I also realized I was duplicating code to start the GUI and moved it to a utility.