commaai / openpilot

openpilot is an open source driver assistance system. openpilot performs the functions of Automated Lane Centering and Adaptive Cruise Control for 250+ supported car makes and models.
https://comma.ai/
MIT License
48.65k stars 8.82k forks source link

During MetaDrive simulation: Process Not Running: modeld #30913

Open hanzhicheng213 opened 6 months ago

hanzhicheng213 commented 6 months ago

Describe the bug

When I simulate on my PC, pressing 2 in terminal 2 displays 'Process Not Running: modeld' on the openpilot interface, and pressing A and D in terminal 2 has no response. Additionally, the 'modeld' section in terminal 1 appears in red. 屏幕截图 2024-01-05 172542

Steps to reproduce

Terminal 1: poetry shell ./tools/sim/launch_openpilot.sh Terminal 2: poetry shell cd tools/sim ./bridge.py

OS Version

Ubuntu 20.4

openpilot version or commit

No response

Additional info

No response

chantsss commented 6 months ago

I had exactly the same problem on my PC.

jnewb1 commented 5 months ago

any logs above that might show an error message? some things I would check

jnewb1 commented 5 months ago

if there is no error messages then it also could be something subtle like an OOM error

hanzhicheng213 commented 5 months ago

if there is no error messages then it also could be something subtle like an OOM error

Thank you for your response. I've checked the memory usage, and it seems fine as shown in the following image. Screenshot from 2024-01-10 10-50-48 Here is the log output when I run Terminal 1:

(openpilot) (openpilot-py3.11) adas@IFLYTEK:~/new/openpilot/tools/sim$ ./launch_openpilot.sh 
system/loggerd/bootlog.cc: bootlog to /home/adas/.comma/media/0/realdata/boot/2024-01-10--11-54-00
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
waiting for dmonitoringmodeld to initialize
Waiting for CAN messages...
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
Starting listener for: navd
Onnx available providers:  ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'AzureExecutionProvider', 'CPUExecutionProvider']
VIN 00000000000000000
Onnx selected provider:  [('CUDAExecutionProvider', {'cudnn_conv_algo_search': 'DEFAULT'})]
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
: [ ERROR ]  "{unknown}[Style]: Failed to load sprite: HTTP status code 403"
: [ ERROR ]  "{unknown}[Style]: Failed to load sprite: HTTP status code 403"
: [ ERROR ]  "{unknown}[Style]: Failed to load source composite: HTTP status code 403"
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
Onnx using  ['CUDAExecutionProvider', 'CPUExecutionProvider']
{"event": "fingerprinted", "car_fingerprint": "HONDA CIVIC 2016", "source": 2, "fuzzy": false, "cached": false, "fw_count": 0, "ecu_responses": [], "vin_rx_addr": 0, "fingerprints": {"0": {"344": 8, "464": 8, "662": 4, "513": 6, "401": 8, "304": 8, "773": 7, "399": 7, "330": 8, "420": 8, "432": 7, "427": 3, "450": 8, "1029": 8, "892": 8, "804": 8, "806": 8, "380": 8, "493": 5, "777": 8}, "1": {"1024": 8, "1072": 8, "1073": 8, "1074": 8, "1075": 8, "1076": 8, "1077": 8, "1078": 8, "1079": 8, "1080": 8, "1081": 8, "1088": 8, "1089": 8, "1090": 8, "1091": 8, "1092": 8, "1093": 8}, "2": {"228": 5, "780": 8, "829": 5, "506": 8}, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}}, "fw_query_time": 0.004658796999137849, "error": true}
ready to run onnx model {'input_imgs': [1, 12, 128, 256], 'big_input_imgs': [1, 12, 128, 256], 'desire': [1, 100, 8], 'traffic_convention': [1, 2], 'lat_planner_state': [1, 4], 'nav_features': [1, 256], 'nav_instructions': [1, 150], 'features_buffer': [1, 99, 512]}
models loaded, modeld starting
vision stream set up, main_wide_camera: False, use_extra_client: False
connected main cam with buffer size: 3493536 (1928 x 1208)
skipping model eval. Dropped 86 frames
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
{"event": "process_not_running", "not_running": "{'modeld'}", "error": true}
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
jnewb1 commented 5 months ago

you are also running on latest master (or at least within the last few weeks), correct? I would try running with LOGPRINT=info on launch_openpilot.sh, because the logs you are getting all look normal to me.

hanzhicheng213 commented 5 months ago

you are also running on latest master (or at least within the last few weeks), correct? I would try running with LOGPRINT=info on launch_openpilot.sh, because the logs you are getting all look normal to me.

Yes, I'm running the master branch from two weeks ago.

hanzhicheng213 commented 5 months ago

you are also running on latest master (or at least within the last few weeks), correct? I would try running with LOGPRINT=info on launch_openpilot.sh, because the logs you are getting all look normal to me.

I ran LOGPRINT=info ./launch_openpilot.sh in Terminal 1, and the logs I got are as follows:

(openpilot) (openpilot-py3.11) adas@IFLYTEK:~/new/openpilot/tools/sim$ LOGPRINT=info ./launch_openpilot.sh
System time valid
system/loggerd/bootlog.cc: bootlog to /home/adas/.comma/media/0/realdata/boot/2024-01-11--10-07-46
starting process ui
preimporting system.logmessaged
preimporting system.micd
preimporting selfdrive.modeld.navmodeld
preimporting selfdrive.ui.soundd
preimporting selfdrive.locationd.calibrationd
preimporting selfdrive.locationd.torqued
preimporting selfdrive.controls.controlsd
preimporting system.loggerd.deleter
preimporting selfdrive.navd.navd
preimporting selfdrive.boardd.pandad
preimporting selfdrive.locationd.paramsd
preimporting selfdrive.controls.plannerd
preimporting selfdrive.controls.radard
preimporting selfdrive.thermald.thermald
preimporting system.loggerd.uploader
preimporting selfdrive.statsd
preimporting system.webrtc.webrtcd
preimporting tools.bodyteleop.web
manager start
{'environ': environ({'SHELL': '/bin/bash', 'ROS_VERSION': '1', 'SESSION_MANAGER': 'local/IFLYTEK:@/tmp/.ICE-unix/1614,unix/IFLYTEK:/tmp/.ICE-unix/1614', 'PYENV_HOOK_PATH': '/home/adas/.pyenv/pyenv.d:/usr/local/etc/pyenv.d:/etc/pyenv.d:/usr/lib/pyenv/hooks:/home/adas/.pyenv/plugins/pyenv-virtualenv/etc/pyenv.d', 'QT_ACCESSIBILITY': '1', 'COLORTERM': 'truecolor', 'PYENV_SHELL': 'bash', 'XDG_CONFIG_DIRS': '/etc/xdg/xdg-ubuntu:/etc/xdg', 'XDG_MENU_PREFIX': 'gnome-', 'no_proxy': 'localhost,127.0.0.0/8,::1', 'GNOME_DESKTOP_SESSION_ID': 'this-is-deprecated', 'CONDA_EXE': '/home/adas/anaconda3/bin/conda', '_CE_M': '', 'PKG_CONFIG_PATH': '/home/adas/img_env/devel/lib/pkgconfig:/opt/ros/noetic/lib/pkgconfig', 'ROS_PYTHON_VERSION': '3', 'NUPLAN_MAPS_ROOT': '/home/adas/new/nuplan/dataset/maps', 'LANGUAGE': 'en_US:en', 'GNOME_SHELL_SESSION_MODE': 'ubuntu', 'SSH_AUTH_SOCK': '/run/user/1000/keyring/ssh', 'POETRY_ACTIVE': '1', 'XMODIFIERS': '@im=ibus', 'DESKTOP_SESSION': 'ubuntu', 'SSH_AGENT_PID': '1579', 'ROS_PACKAGE_PATH': '/home/adas/img_env/src:/opt/ros/noetic/share', 'PYENV_VERSION': '3.11.4', 'GTK_MODULES': 'gail:atk-bridge', 'ROSLISP_PACKAGE_DIRECTORIES': '/home/adas/img_env/devel/share/common-lisp', 'DBUS_STARTER_BUS_TYPE': 'session', 'PWD': '/home/adas/new/openpilot/selfdrive/manager', 'PYENV_VIRTUALENV_INIT': '1', 'XDG_SESSION_DESKTOP': 'ubuntu', 'LOGNAME': 'adas', 'XDG_SESSION_TYPE': 'x11', 'CONDA_PREFIX': '/home/adas/anaconda3/envs/openpilot', 'GPG_AGENT_INFO': '/run/user/1000/gnupg/S.gpg-agent:0:1', 'XAUTHORITY': '/run/user/1000/gdm/Xauthority', 'NOBOARD': '1', 'ftp_proxy': 'http://127.0.0.1:15732/', 'WINDOWPATH': '2', 'HOME': '/home/adas', 'USERNAME': 'adas', 'IM_CONFIG_PHASE': '1', 'LANG': 'en_US.UTF-8', 'ROS_ETC_DIR': '/opt/ros/noetic/etc/ros', 'LS_COLORS': 'rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:', 'XDG_CURRENT_DESKTOP': 'ubuntu:GNOME', 'VIRTUAL_ENV': '/home/adas/new/openpilot/.venv', 'VTE_VERSION': '6003', 'CONDA_PROMPT_MODIFIER': '(openpilot) ', 'CMAKE_PREFIX_PATH': '/home/adas/img_env/devel:/opt/ros/noetic', 'GNOME_TERMINAL_SCREEN': '/org/gnome/Terminal/screen/c2a6f13a_ba94_4165_bb45_c23eedda808e', 'https_proxy': 'http://127.0.0.1:15732/', 'INVOCATION_ID': 'ab15f3a75dd94206904cd34a49a89077', 'MANAGERPID': '1337', 'PYENV_DIR': '/home/adas/new/openpilot/tools/sim', 'SIMULATION': '1', 'CUDA_VISIBLE_DEVICES': '0', 'LESSCLOSE': '/usr/bin/lesspipe %s %s', 'XDG_SESSION_CLASS': 'user', 'PYTHONPATH': '/home/adas/img_env/devel/lib/python3/dist-packages:/opt/ros/noetic/lib/python3/dist-packages:/home/adas/new/openpilot:$/home/adas/nuplan-devkit', 'TERM': 'xterm-256color', '_CE_CONDA': '', 'LESSOPEN': '| /usr/bin/lesspipe %s', 'USER': 'adas', 'NO_PROXY': 'localhost,127.0.0.0/8,::1', 'FTP_PROXY': 'http://127.0.0.1:15732/', 'NUPLAN_DATA_ROOT': '/home/adas/new/nuplan/dataset', 'GNOME_TERMINAL_SERVICE': ':1.92', 'CONDA_SHLVL': '1', 'DISPLAY': ':0', 'SHLVL': '2', 'HTTPS_PROXY': 'http://127.0.0.1:15732/', 'ROS_MASTER_URI': 'http://localhost:11311', 'HTTP_PROXY': 'http://127.0.0.1:15732/', 'QT_IM_MODULE': 'ibus', 'DBUS_STARTER_ADDRESS': 'unix:path=/run/user/1000/bus,guid=8d3e22ce31a459adab285dd3659bbcda', 'VIRTUAL_ENV_PROMPT': 'openpilot-py3.11', 'http_proxy': 'http://127.0.0.1:15732/', 'CONDA_PYTHON_EXE': '/home/adas/anaconda3/bin/python', 'PASSIVE': '0', 'LD_LIBRARY_PATH': '/home/adas/img_env/devel/lib:/opt/ros/noetic/lib:/usr/local/cuda-11.1/lib64:/usr/local/cuda-11.1/lib64', 'XDG_RUNTIME_DIR': '/run/user/1000', 'CONDA_DEFAULT_ENV': 'openpilot', 'PYENV_ROOT': '/home/adas/.pyenv', 'JOURNAL_STREAM': '8:39620', 'XDG_DATA_DIRS': '/usr/share/ubuntu:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop', 'PATH': '/home/adas/anaconda3/envs/openpilot/bin:/home/adas/new/openpilot/.venv/bin:/home/adas/.pyenv/plugins/pyenv-virtualenv/shims:/home/adas/.pyenv/shims:~/.pyenv/bin:/opt/ros/noetic/bin:/usr/local/cuda-11.1/bin:/home/adas/.pyenv/versions/3.11.4/bin:/home/adas/.pyenv/libexec:/home/adas/.pyenv/plugins/python-build/bin:/home/adas/.pyenv/plugins/pyenv-virtualenv/bin:/home/adas/.pyenv/plugins/pyenv-update/bin:/home/adas/.pyenv/plugins/pyenv-doctor/bin:/home/adas/.pyenv/plugins/pyenv-virtualenv/shims:~/.pyenv/bin:/home/adas/.pyenv/plugins/pyenv-virtualenv/shims:/home/adas/.pyenv/bin:/home/adas/anaconda3/condabin:/usr/local/cuda-11.1/bin:/home/adas/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin', 'BLOCK': ',camerad,loggerd,encoderd,micd,logmessaged', 'GDMSESSION': 'ubuntu', 'FINGERPRINT': 'HONDA CIVIC 2016', 'DBUS_SESSION_BUS_ADDRESS': 'unix:path=/run/user/1000/bus,guid=8d3e22ce31a459adab285dd3659bbcda', 'NUPLAN_EXP_ROOT': '/home/adas/new/nuplan/exp', 'SKIP_FW_QUERY': '1', 'ROS_ROOT': '/opt/ros/noetic/share/ros', 'ROS_DISTRO': 'noetic', 'OLDPWD': '/home/adas/new/openpilot/tools/sim', 'LOGPRINT': 'info', 'DONGLE_ID': 'UnregisteredDevice'})}
starting python system.loggerd.deleter
starting python selfdrive.thermald.thermald
deleting /home/adas/.comma/media/0/realdata/boot
starting python selfdrive.statsd
ui deleter thermald statsd
{"event": "STATUS_PACKET", "count": 0, "pandaStates": [], "peripheralState": {"pandaType": "unknown", "voltage": 0, "current": 0, "fanSpeedRpm": 0}, "location": null, "deviceState": {"deviceState": {"freeSpacePercent": 3.566473960876465, "fanSpeedPercentDesired": 0, "started": false, "startedMonoTime": 0, "thermalStatus": "green", "memoryUsagePercent": 19, "networkType": "wifi", "offroadPowerUsageUwh": 0, "networkStrength": "unknown", "carBatteryCapacityUwh": 30000000, "cpuTempC": [0.0], "gpuTempC": [0.0], "memoryTempC": 0.0, "ambientTempC": 0.0, "lastAthenaPingTime": 0, "gpuUsagePercent": 0, "cpuUsagePercent": [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], "nvmeTempC": [], "modemTempC": [], "screenBrightnessPercent": 0, "pmicTempC": [0.0], "powerDrawW": 0.0, "networkMetered": false, "somPowerDrawW": 0.0, "networkStats": {"wwanTx": -1, "wwanRx": -1}, "maxTempC": 0.0}, "logMonoTime": 233939160065015, "valid": true}}
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
ui deleter thermald statsd
{"event": "STATUS_PACKET", "count": 35, "pandaStates": [{"voltage": 0, "current": 0, "ignitionLine": true, "controlsAllowed": true, "rxBufferOverflow": 0, "txBufferOverflow": 0, "gmlanSendErrs": 0, "pandaType": "blackPanda", "ignitionCan": false, "safetyModel": "hondaNidec", "faultStatus": "none", "powerSaveEnabled": false, "uptime": 0, "safetyRxInvalid": 0, "harnessStatus": "notConnected", "heartbeatLost": false, "alternativeExperience": 0, "safetyTxBlocked": 0, "interruptLoad": 0.0, "safetyParam": 16, "fanPower": 0, "safetyRxChecksInvalid": false, "spiChecksumErrorCount": 0, "fanStallCount": 0, "sbu1Voltage": 0.0, "sbu2Voltage": 0.0}], "peripheralState": {"pandaType": "blackPanda", "voltage": 12000, "current": 5678, "fanSpeedRpm": 1000}, "location": {"flags": 1, "latitude": 32.753235113572785, "longitude": -117.2094693365393, "altitude": 0.0, "speed": 0.0027187392115592957, "bearingDeg": 0.0, "accuracy": 1.0, "unixTimestampMillis": 1704938902766, "source": "ublox", "vNED": [1.296585860899313e-08, -0.0027187392115592957, 0.0], "verticalAccuracy": 1.0, "bearingAccuracyDeg": 0.10000000149011612, "speedAccuracy": 0.10000000149011612}, "deviceState": {"deviceState": {"freeSpacePercent": 3.5664727687835693, "fanSpeedPercentDesired": 0, "started": true, "startedMonoTime": 233965505424756, "thermalStatus": "green", "memoryUsagePercent": 24, "networkType": "wifi", "offroadPowerUsageUwh": 0, "networkStrength": "unknown", "carBatteryCapacityUwh": 30006539, "cpuTempC": [0.0], "gpuTempC": [0.0], "memoryTempC": 0.0, "ambientTempC": 0.0, "lastAthenaPingTime": 0, "gpuUsagePercent": 0, "cpuUsagePercent": [2, 0, 29, 16, 0, 0, 0, 0, 2, 2, 0, 27, 0, 0, 2, 2], "nvmeTempC": [], "modemTempC": [], "screenBrightnessPercent": 0, "pmicTempC": [0.0], "powerDrawW": 0.0, "networkMetered": false, "somPowerDrawW": 0.0, "networkStats": {"wwanTx": -1, "wwanRx": -1}, "maxTempC": 0.0}, "logMonoTime": 233965502276441, "valid": true}}
starting process logcatd
starting process proclogd
starting process modeld
starting process mapsd
starting python selfdrive.modeld.navmodeld
starting python selfdrive.ui.soundd
waiting for dmonitoringmodeld to initialize
starting process locationd
starting python selfdrive.locationd.calibrationd
starting python selfdrive.locationd.torqued
starting python selfdrive.controls.controlsd
starting python selfdrive.navd.navd
starting python selfdrive.locationd.paramsd
Waiting for CAN messages...
starting python selfdrive.controls.plannerd
paramsd is waiting for CarParams
starting python selfdrive.controls.radard
plannerd is waiting for CarParams
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
radard is waiting for CarParams
Starting listener for: navd
selfdrive/ui/qt/onroad.cc: OpenGL version: "OpenGL ES 3.2 NVIDIA 525.147.05"
selfdrive/ui/qt/onroad.cc: OpenGL vendor: "NVIDIA Corporation"
selfdrive/ui/qt/onroad.cc: OpenGL renderer: "NVIDIA GeForce RTX 3070/PCIe/SSE2"
selfdrive/ui/qt/onroad.cc: OpenGL language version: "OpenGL ES GLSL ES 3.20"
Onnx available providers:  ['TensorrtExecutionProvider', 'CUDAExecutionProvider', 'AzureExecutionProvider', 'CPUExecutionProvider']
soundd stream started: stream.samplerate=48000.0 stream.channels=1 stream.dtype='float32' stream.device=20, stream.blocksize=4096
VIN 00000000000000000
Onnx selected provider:  [('CUDAExecutionProvider', {'cudnn_conv_algo_search': 'DEFAULT'})]
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
: [ ERROR ]  "{unknown}[Style]: Failed to load sprite: HTTP status code 403"
: [ ERROR ]  "{unknown}[Style]: Failed to load source composite: HTTP status code 403"
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
Onnx using  ['CUDAExecutionProvider', 'CPUExecutionProvider']
{"event": "fingerprinted", "car_fingerprint": "HONDA CIVIC 2016", "source": 2, "fuzzy": false, "cached": false, "fw_count": 0, "ecu_responses": [], "vin_rx_addr": 0, "fingerprints": {"0": {"344": 8, "464": 8, "662": 4, "513": 6, "401": 8, "304": 8, "773": 7, "399": 7, "330": 8, "420": 8, "432": 7, "427": 3, "450": 8, "1029": 8, "892": 8, "804": 8, "806": 8, "380": 8, "493": 5, "777": 8}, "1": {"1024": 8, "1072": 8, "1073": 8, "1074": 8, "1075": 8, "1076": 8, "1077": 8, "1078": 8, "1079": 8, "1080": 8, "1081": 8, "1088": 8, "1089": 8, "1090": 8, "1091": 8, "1092": 8, "1093": 8}, "2": {"228": 5, "780": 8, "829": 5, "506": 8}, "3": {}, "4": {}, "5": {}, "6": {}, "7": {}}, "fw_query_time": 0.004861916007939726, "error": true}
paramsd got CarParams
Parameter learner resetting to default values
plannerd got CarParams: honda
radard got CarParams
radard is importing honda
restored torque params from cache
ready to run onnx model {'input_imgs': [1, 12, 128, 256], 'big_input_imgs': [1, 12, 128, 256], 'desire': [1, 100, 8], 'traffic_convention': [1, 2], 'lat_planner_state': [1, 4], 'nav_features': [1, 256], 'nav_instructions': [1, 150], 'features_buffer': [1, 99, 512]}
models loaded, modeld starting
vision stream set up, main_wide_camera: False, use_extra_client: False
connected main cam with buffer size: 3493536 (1928 x 1208)
skipping model eval. Dropped 65 frames
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
: [ ERROR ]  "{unknown}[Style]: Failed to load sprite: HTTP status code 403"
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
{"event": "process_not_running", "not_running": "{'modeld'}", "error": true}
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd
logcatd proclogd modeld mapsd navmodeld ui soundd locationd calibrationd torqued controlsd deleter navd paramsd plannerd radard thermald statsd

The modeld section will turn red here: Screenshot from 2024-01-11 10-24-58 I ran run_bridge.py in Terminal 2, and the logs are as follows:

(openpilot) (openpilot-py3.11) adas@IFLYTEK:~/new/openpilot/tools/sim$ ./run_bridge.py 
----------------------------------------------------------
---- Spawning Metadrive world, this might take awhile ----
----------------------------------------------------------
[INFO] MetaDrive version: 0.4.1.2
[INFO] Sensors: [lidar: Lidar(50,), side_detector: SideDetector(), lane_line_detector: LaneLineDetector(), rgb_road: RGBCameraRoad(1928, 1208), main_camera: MainCamera(1, 1)]
[INFO] Render Mode: offscreen
[INFO] Assets version: 0.4.1.2
Known pipe types:
  glxGraphicsPipe
(1 aux display modules not yet loaded.)
[WARNING] You may using too large buffer! The height is 1208, and width is 1928. It may lower the sample efficiency! Consider reducing buffer size or use cuda image by set [image_on_cuda=True]. (base_camera.py:43)
Starting listener for: camerad

Keyboard Commands:

  | key  |   functionality       |
  |------|-----------------------|
  |  1   | Cruise Resume / Accel |
  |  2   | Cruise Set    / Decel |
  |  3   | Cruise Cancel         |
  |  r   | Reset Simulation      |
  |  i   | Toggle Ignition       |
  |  q   | Exit all              |
  | wasd | Control manually      |

State:
Ignition: True Engaged: False

Keyboard Commands:

  | key  |   functionality       |
  |------|-----------------------|
  |  1   | Cruise Resume / Accel |
  |  2   | Cruise Set    / Decel |
  |  3   | Cruise Cancel         |
  |  r   | Reset Simulation      |
  |  i   | Toggle Ignition       |
  |  q   | Exit all              |
  | wasd | Control manually      |

State:
Ignition: True Engaged: False

Keyboard Commands:

  | key  |   functionality       |
  |------|-----------------------|
  |  1   | Cruise Resume / Accel |
  |  2   | Cruise Set    / Decel |
  |  3   | Cruise Cancel         |
  |  r   | Reset Simulation      |
  |  i   | Toggle Ignition       |
  |  q   | Exit all              |
  | wasd | Control manually      |

State:
Ignition: True Engaged: False
hanzhicheng213 commented 5 months ago

I had exactly the same problem on my PC.

I successfully ran on this branch: https://github.com/commaai/openpilot/tree/9807bd99dbc526ba92bb68c503d5108b9f892dd1

chantsss commented 5 months ago

I had exactly the same problem on my PC.

I successfully ran on this branch: https://github.com/commaai/openpilot/tree/9807bd99dbc526ba92bb68c503d5108b9f892dd1

Hi Hanzhi, Thanks for your message. I am trying to run the branch you mentioned. But I get another error when I run scons -u -j$(nproc) for building a new env to this branch. Did you have the similar bug?

The terminal output is following:

(openpilot-py3.11) (base) sheng@iadc-sheng:~/openpilot$ scons -u -j$(nproc)
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
clang++ -o selfdrive/boardd/boardd.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 selfdrive/boardd/boardd.cc
clang++ -o selfdrive/ui/qt/setup/reset -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/setup/reset.o selfdrive/ui/qt/setup/moc_reset.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/qt/setup/setup -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/setup/setup.o selfdrive/ui/assets.o selfdrive/ui/qt/setup/moc_setup.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl -lcurl -lcommon -ljson11
clang++ -o selfdrive/ui/qt/setup/updater -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/setup/updater.o selfdrive/ui/assets.o selfdrive/ui/qt/setup/moc_updater.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/qt/spinner -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/spinner.o selfdrive/ui/qt/moc_spinner.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/qt/text -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/text.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/tests/test_translations -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/assets.o selfdrive/ui/tests/test_runner.o selfdrive/ui/tests/test_translations.o selfdrive/ui/qt/sidebar.o selfdrive/ui/qt/onroad.o selfdrive/ui/qt/body.o selfdrive/ui/qt/window.o selfdrive/ui/qt/home.o selfdrive/ui/qt/offroad/settings.o selfdrive/ui/qt/offroad/software_settings.o selfdrive/ui/qt/offroad/onboarding.o selfdrive/ui/qt/offroad/driverview.o selfdrive/ui/qt/offroad/experimental_mode.o selfdrive/ui/qt/moc_sidebar.o selfdrive/ui/qt/moc_onroad.o selfdrive/ui/qt/moc_body.o selfdrive/ui/qt/moc_window.o selfdrive/ui/qt/moc_home.o selfdrive/ui/qt/offroad/moc_settings.o selfdrive/ui/qt/offroad/moc_onboarding.o selfdrive/ui/qt/offroad/moc_driverview.o selfdrive/ui/qt/offroad/moc_experimental_mode.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/tests/ui_snapshot -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/assets.o selfdrive/ui/tests/ui_snapshot.o selfdrive/ui/qt/sidebar.o selfdrive/ui/qt/onroad.o selfdrive/ui/qt/body.o selfdrive/ui/qt/window.o selfdrive/ui/qt/home.o selfdrive/ui/qt/offroad/settings.o selfdrive/ui/qt/offroad/software_settings.o selfdrive/ui/qt/offroad/onboarding.o selfdrive/ui/qt/offroad/driverview.o selfdrive/ui/qt/offroad/experimental_mode.o selfdrive/ui/qt/moc_sidebar.o selfdrive/ui/qt/moc_onroad.o selfdrive/ui/qt/moc_body.o selfdrive/ui/qt/moc_window.o selfdrive/ui/qt/moc_home.o selfdrive/ui/qt/offroad/moc_settings.o selfdrive/ui/qt/offroad/moc_onboarding.o selfdrive/ui/qt/offroad/moc_driverview.o selfdrive/ui/qt/offroad/moc_experimental_mode.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/ui -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/main.o selfdrive/ui/qt/sidebar.o selfdrive/ui/qt/onroad.o selfdrive/ui/qt/body.o selfdrive/ui/qt/window.o selfdrive/ui/qt/home.o selfdrive/ui/qt/offroad/settings.o selfdrive/ui/qt/offroad/software_settings.o selfdrive/ui/qt/offroad/onboarding.o selfdrive/ui/qt/offroad/driverview.o selfdrive/ui/qt/offroad/experimental_mode.o selfdrive/ui/assets.o selfdrive/ui/qt/moc_sidebar.o selfdrive/ui/qt/moc_onroad.o selfdrive/ui/qt/moc_body.o selfdrive/ui/qt/moc_window.o selfdrive/ui/qt/moc_home.o selfdrive/ui/qt/offroad/moc_settings.o selfdrive/ui/qt/offroad/moc_onboarding.o selfdrive/ui/qt/offroad/moc_driverview.o selfdrive/ui/qt/offroad/moc_experimental_mode.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/watch3 -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/watch3.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl -lcommon -ljson11 -lzmq -lvisionipc -lmessaging
clang++ -o system/camerad/camerad -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/camerad/main.o system/camerad/cameras/camera_qcom2.o system/camerad/cameras/camera_common.o system/camerad/cameras/camera_util.o system/camerad/sensors/ar0231.o system/camerad/sensors/ox03c10.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -lm -lpthread common/libcommon.a -ljson11 -ljpeg -lOpenCL -lyuv cereal/libcereal.a cereal/libmessaging.a -lzmq -lcapnp -lkj cereal/libvisionipc.a common/libgpucommon.a -latomic
clang++ -o system/camerad/test/ae_gray_test -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/camerad/test/ae_gray_test.o system/camerad/cameras/camera_qcom2.o system/camerad/cameras/camera_common.o system/camerad/cameras/camera_util.o system/camerad/sensors/ar0231.o system/camerad/sensors/ox03c10.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -lm -lpthread common/libcommon.a -ljson11 -ljpeg -lOpenCL -lyuv cereal/libcereal.a cereal/libmessaging.a -lzmq -lcapnp -lkj cereal/libvisionipc.a common/libgpucommon.a -latomic
clang++ -o system/logcatd/logcatd -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/logcatd/logcatd_systemd.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers cereal/libcereal.a cereal/libmessaging.a common/libcommon.a -ljson11 -lzmq -lcapnp -lkj -lsystemd -ljson11
clang++ -o system/loggerd/encoder/encoder.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoder/encoder.cc
clang++ -o system/loggerd/encoder/v4l_encoder.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoder/v4l_encoder.cc
clang++ -o system/loggerd/encoder/ffmpeg_encoder.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoder/ffmpeg_encoder.cc
clang++ -o system/loggerd/encoderd.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoderd.cc
clang++ -o system/loggerd/loggerd.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/loggerd.cc
clang++ -o system/loggerd/tests/test_logger.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/tests/test_logger.cc
clang++ -o system/proclogd/main.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/proclogd/main.cc
clang++ -o system/proclogd/proclog.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/proclogd/proclog.cc
clang++ -o system/proclogd/tests/test_proclog.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/proclogd/tests/test_proclog.cc
clang++ -o system/sensord/sensors_qcom2.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors_qcom2.cc
clang++ -o system/sensord/sensors/bmx055_accel.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/bmx055_accel.cc
clang++ -o system/sensord/sensors/bmx055_gyro.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/bmx055_gyro.cc
clang++ -o system/sensord/sensors/bmx055_magn.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/bmx055_magn.cc
clang++ -o system/sensord/sensors/lsm6ds3_accel.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/lsm6ds3_accel.cc
selfdrive/boardd/boardd.cc:354:8: error: no member named 'setGasInterceptorDetected' in 'cereal::PandaState::Builder'
    ps.setGasInterceptorDetected(health.gas_interceptor_detected_pkt);
    ~~ ^
selfdrive/boardd/boardd.cc:354:41: error: no member named 'gas_interceptor_detected_pkt' in 'health_t'
    ps.setGasInterceptorDetected(health.gas_interceptor_detected_pkt);
                                 ~~~~~~ ^
clang++ -o system/sensord/sensors/lsm6ds3_gyro.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/lsm6ds3_gyro.cc
clang++ -o system/sensord/sensors/mmc5603nj_magn.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/mmc5603nj_magn.cc
clang++ -o system/ubloxd/tests/test_glonass_runner -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/ubloxd/tests/test_glonass_runner.o system/ubloxd/tests/test_glonass_kaitai.o system/ubloxd/generated/glonass.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers cereal/libcereal.a cereal/libmessaging.a -lzmq common/libcommon.a -ljson11 -lcapnp -lkj -lkaitai -lpthread
2 errors generated.
scons: *** [selfdrive/boardd/boardd.o] Error 1
scons: building terminated because of errors.
hanzhicheng213 commented 5 months ago

I had exactly the same problem on my PC.

I successfully ran on this branch: https://github.com/commaai/openpilot/tree/9807bd99dbc526ba92bb68c503d5108b9f892dd1

Hi Hanzhi, Thanks for your message. I am trying to run the branch you mentioned. But I get another error when I run scons -u -j$(nproc) for building a new env to this branch. Did you have the similar bug?

The terminal output is following:

(openpilot-py3.11) (base) sheng@iadc-sheng:~/openpilot$ scons -u -j$(nproc)
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
clang++ -o selfdrive/boardd/boardd.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 selfdrive/boardd/boardd.cc
clang++ -o selfdrive/ui/qt/setup/reset -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/setup/reset.o selfdrive/ui/qt/setup/moc_reset.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/qt/setup/setup -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/setup/setup.o selfdrive/ui/assets.o selfdrive/ui/qt/setup/moc_setup.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl -lcurl -lcommon -ljson11
clang++ -o selfdrive/ui/qt/setup/updater -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/setup/updater.o selfdrive/ui/assets.o selfdrive/ui/qt/setup/moc_updater.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/qt/spinner -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/spinner.o selfdrive/ui/qt/moc_spinner.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/qt/text -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/qt/text.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/tests/test_translations -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/assets.o selfdrive/ui/tests/test_runner.o selfdrive/ui/tests/test_translations.o selfdrive/ui/qt/sidebar.o selfdrive/ui/qt/onroad.o selfdrive/ui/qt/body.o selfdrive/ui/qt/window.o selfdrive/ui/qt/home.o selfdrive/ui/qt/offroad/settings.o selfdrive/ui/qt/offroad/software_settings.o selfdrive/ui/qt/offroad/onboarding.o selfdrive/ui/qt/offroad/driverview.o selfdrive/ui/qt/offroad/experimental_mode.o selfdrive/ui/qt/moc_sidebar.o selfdrive/ui/qt/moc_onroad.o selfdrive/ui/qt/moc_body.o selfdrive/ui/qt/moc_window.o selfdrive/ui/qt/moc_home.o selfdrive/ui/qt/offroad/moc_settings.o selfdrive/ui/qt/offroad/moc_onboarding.o selfdrive/ui/qt/offroad/moc_driverview.o selfdrive/ui/qt/offroad/moc_experimental_mode.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/tests/ui_snapshot -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/assets.o selfdrive/ui/tests/ui_snapshot.o selfdrive/ui/qt/sidebar.o selfdrive/ui/qt/onroad.o selfdrive/ui/qt/body.o selfdrive/ui/qt/window.o selfdrive/ui/qt/home.o selfdrive/ui/qt/offroad/settings.o selfdrive/ui/qt/offroad/software_settings.o selfdrive/ui/qt/offroad/onboarding.o selfdrive/ui/qt/offroad/driverview.o selfdrive/ui/qt/offroad/experimental_mode.o selfdrive/ui/qt/moc_sidebar.o selfdrive/ui/qt/moc_onroad.o selfdrive/ui/qt/moc_body.o selfdrive/ui/qt/moc_window.o selfdrive/ui/qt/moc_home.o selfdrive/ui/qt/offroad/moc_settings.o selfdrive/ui/qt/offroad/moc_onboarding.o selfdrive/ui/qt/offroad/moc_driverview.o selfdrive/ui/qt/offroad/moc_experimental_mode.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/ui -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/main.o selfdrive/ui/qt/sidebar.o selfdrive/ui/qt/onroad.o selfdrive/ui/qt/body.o selfdrive/ui/qt/window.o selfdrive/ui/qt/home.o selfdrive/ui/qt/offroad/settings.o selfdrive/ui/qt/offroad/software_settings.o selfdrive/ui/qt/offroad/onboarding.o selfdrive/ui/qt/offroad/driverview.o selfdrive/ui/qt/offroad/experimental_mode.o selfdrive/ui/assets.o selfdrive/ui/qt/moc_sidebar.o selfdrive/ui/qt/moc_onroad.o selfdrive/ui/qt/moc_body.o selfdrive/ui/qt/moc_window.o selfdrive/ui/qt/moc_home.o selfdrive/ui/qt/offroad/moc_settings.o selfdrive/ui/qt/offroad/moc_onboarding.o selfdrive/ui/qt/offroad/moc_driverview.o selfdrive/ui/qt/offroad/moc_experimental_mode.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl
clang++ -o selfdrive/ui/watch3 -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 -Wl,-rpath=/home/sheng/openpilot/third_party/mapbox-gl-native-qt/x86_64 selfdrive/ui/watch3.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -L/usr/lib -Lselfdrive/ui selfdrive/ui/libqt_widgets.a selfdrive/ui/libqt_util.a common/libcommon.a -ljson11 cereal/libmessaging.a cereal/libcereal.a cereal/libvisionipc.a common/transformations/libtransformations.a -lzmq -lcapnp -lkj -lm -lOpenCL -lssl -lcrypto -lpthread -lQt5Widgets -lQt5Gui -lQt5Core -lQt5Network -lQt5Concurrent -lQt5Multimedia -lQt5Quick -lQt5Qml -lQt5QuickWidgets -lQt5Location -lQt5Positioning -lQt5DBus -lQt5Xml -lGL -lqmapboxgl -lcommon -ljson11 -lzmq -lvisionipc -lmessaging
clang++ -o system/camerad/camerad -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/camerad/main.o system/camerad/cameras/camera_qcom2.o system/camerad/cameras/camera_common.o system/camerad/cameras/camera_util.o system/camerad/sensors/ar0231.o system/camerad/sensors/ox03c10.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -lm -lpthread common/libcommon.a -ljson11 -ljpeg -lOpenCL -lyuv cereal/libcereal.a cereal/libmessaging.a -lzmq -lcapnp -lkj cereal/libvisionipc.a common/libgpucommon.a -latomic
clang++ -o system/camerad/test/ae_gray_test -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/camerad/test/ae_gray_test.o system/camerad/cameras/camera_qcom2.o system/camerad/cameras/camera_common.o system/camerad/cameras/camera_util.o system/camerad/sensors/ar0231.o system/camerad/sensors/ox03c10.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers -lm -lpthread common/libcommon.a -ljson11 -ljpeg -lOpenCL -lyuv cereal/libcereal.a cereal/libmessaging.a -lzmq -lcapnp -lkj cereal/libvisionipc.a common/libgpucommon.a -latomic
clang++ -o system/logcatd/logcatd -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/logcatd/logcatd_systemd.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers cereal/libcereal.a cereal/libmessaging.a common/libcommon.a -ljson11 -lzmq -lcapnp -lkj -lsystemd -ljson11
clang++ -o system/loggerd/encoder/encoder.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoder/encoder.cc
clang++ -o system/loggerd/encoder/v4l_encoder.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoder/v4l_encoder.cc
clang++ -o system/loggerd/encoder/ffmpeg_encoder.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoder/ffmpeg_encoder.cc
clang++ -o system/loggerd/encoderd.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/encoderd.cc
clang++ -o system/loggerd/loggerd.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/loggerd.cc
clang++ -o system/loggerd/tests/test_logger.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/loggerd/tests/test_logger.cc
clang++ -o system/proclogd/main.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/proclogd/main.cc
clang++ -o system/proclogd/proclog.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/proclogd/proclog.cc
clang++ -o system/proclogd/tests/test_proclog.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/proclogd/tests/test_proclog.cc
clang++ -o system/sensord/sensors_qcom2.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors_qcom2.cc
clang++ -o system/sensord/sensors/bmx055_accel.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/bmx055_accel.cc
clang++ -o system/sensord/sensors/bmx055_gyro.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/bmx055_gyro.cc
clang++ -o system/sensord/sensors/bmx055_magn.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/bmx055_magn.cc
clang++ -o system/sensord/sensors/lsm6ds3_accel.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/lsm6ds3_accel.cc
selfdrive/boardd/boardd.cc:354:8: error: no member named 'setGasInterceptorDetected' in 'cereal::PandaState::Builder'
    ps.setGasInterceptorDetected(health.gas_interceptor_detected_pkt);
    ~~ ^
selfdrive/boardd/boardd.cc:354:41: error: no member named 'gas_interceptor_detected_pkt' in 'health_t'
    ps.setGasInterceptorDetected(health.gas_interceptor_detected_pkt);
                                 ~~~~~~ ^
clang++ -o system/sensord/sensors/lsm6ds3_gyro.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/lsm6ds3_gyro.cc
clang++ -o system/sensord/sensors/mmc5603nj_magn.o -c -std=c++1z -DSWAGLOG="\"common/swaglog.h\"" -g -fPIC -O2 -Wunused -Werror -Wshadow -Wno-unknown-warning-option -Wno-deprecated-register -Wno-register -Wno-inconsistent-missing-override -Wno-c99-designator -Wno-reorder-init-list -Wno-error=unused-but-set-variable -DSWAGLOG="\"common/swaglog.h\"" -I. -Ithird_party/acados/include -Ithird_party/acados/include/blasfeo/include -Ithird_party/acados/include/hpipm/include -Ithird_party/catch2/include -Ithird_party/libyuv/include -Ithird_party/json11 -Ithird_party/linux/include -Ithird_party/snpe/include -Ithird_party/mapbox-gl-native-qt/include -Ithird_party/qrcode -Ithird_party -Icereal -Iopendbc/can -Ithird_party/json11 system/sensord/sensors/mmc5603nj_magn.cc
clang++ -o system/ubloxd/tests/test_glonass_runner -Wl,--as-needed -Wl,--no-undefined -Wl,-rpath=/home/sheng/openpilot/third_party/acados/x86_64/lib -Wl,-rpath=/home/sheng/openpilot/third_party/snpe/x86_64 system/ubloxd/tests/test_glonass_runner.o system/ubloxd/tests/test_glonass_kaitai.o system/ubloxd/generated/glonass.o -Lthird_party/acados/x86_64/lib -Lthird_party/libyuv/x86_64/lib -Lthird_party/mapbox-gl-native-qt/x86_64 -L/usr/lib -L/usr/local/lib -Lthird_party/snpe/x86_64 -Lcereal -Lthird_party -Lopendbc/can -Lselfdrive/boardd -Lcommon -Lrednose/helpers cereal/libcereal.a cereal/libmessaging.a -lzmq common/libcommon.a -ljson11 -lcapnp -lkj -lkaitai -lpthread
2 errors generated.
scons: *** [selfdrive/boardd/boardd.o] Error 1
scons: building terminated because of errors.

I did not encounter the errors mentioned above. Here is my installation process:

1. Download the code

git clone https://github.com/commaai/openpilot.git
cd openpilot
git checkout 9807bd99dbc526ba92bb68c503d5108b9f892dd1

2. Download the zip files for these submodules and extract them into the root directory of openpilot.

body creal opendbc panda rednose_repo teleoprtc_repo tinygrad_repo

3. install openpilot

tools/ubuntu_setup.sh
cd openpilot
poetry shell
scons -u -j$(nproc)

During the compilation process, I encountered errors related to variable-length arrays in ipc.cc and event.cc. Here is the solution:https://github.com/commaai/openpilot/issues/30848#issue-2055377432

4. Launching openpilot

Terminal 1:

cd openpilot
cd tools/sim/
./launch_openpilot.sh

Terminal 2:

cd openpilot
cd tools/sim/
./run_bridge.py --simulator metadrive