No clean way to shutdown openpilot on PC running with Carla
Describe the bug There seems to be no clean way to shut down openpilot when running on PC with Carla simulation. Ctrl+C results in
unkillable process camerad failed to exit! rebooting in 15 if it doesn't die
unkillable process camerad failed to die!
Manager failed to start
It seems that one has to manually find and kill all the invoked processes. Also bridge.py seems to be hijacking Ctrl+C. Instead it would be nice if it could be close with both Q and Ctrl+C.
How to reproduce or log data Follow the steps in https://github.com/commaai/openpilot/blob/master/tools/sim/README.md Then try to shutdown all processes.
Expected behavior
- Provide a documented clean way of shutting down openpilot
- bridge.py should exit on Ctrl+C/SIGINT
Device/Version information (please complete the following information):
- Device: PC
- Version: 1d9920a1773041df9938e9f20066bbf35903f6bb (current master branch)
Additional context Improving this will increase confidence in the quality of the software architecture. Could be just missing documentation in https://github.com/commaai/openpilot/blob/master/tools/sim/README.md
make camerad a killable process, https://github.com/ed2k/openpilot/blob/test_keras/selfdrive/manager.py#L206