openpilot icon indicating copy to clipboard operation
openpilot copied to clipboard

modeld crashes when running Carla simulation

Open daulet opened this issue 6 years ago • 1 comments

Describe the bug modeld crashes expecting non-empty input from stdin when running Carla simulation.

How to reproduce or log data Follow steps from tools/sim/README

Expected behavior Openpilot works with Carla

Device/Version information (please complete the following information): Ubuntu 18.04

Additional context keras_runner receives an empty input from stdin and fails:

Traceback (most recent call last):
File "/home/dake/openpilot/selfdrive/modeld/runners/keras_runner.py", line 49, in run_loop(m) File "/home/dake/openpilot/selfdrive/modeld/runners/keras_runner.py", line 32, in run_loop inputs.append(read(ts).reshape(shp)) File "/home/dake/openpilot/selfdrive/modeld/runners/keras_runner.py", line 16, in read assert(len(st) > 0) AssertionError

daulet avatar Jun 06 '20 22:06 daulet

It is the zmq problem in ubuntu 18.04, signature src/mailbox.cpp:99 assertion. workaround is to rebuild libzmq with g++-6

ed2k avatar Jul 12 '20 17:07 ed2k