diff --git a/selfdrive/debug/internal/measure_modeld_packet_drop.py b/selfdrive/debug/internal/measure_modeld_packet_drop.py index 2405ee9487..d5f65d06b1 100755 --- a/selfdrive/debug/internal/measure_modeld_packet_drop.py +++ b/selfdrive/debug/internal/measure_modeld_packet_drop.py @@ -2,7 +2,7 @@ import cereal.messaging as messaging if __name__ == "__main__": - modeld_sock = messaging.sub_sock("model") + modeld_sock = messaging.sub_sock("modelV2") last_frame_id = None start_t = None @@ -14,7 +14,7 @@ if __name__ == "__main__": if m is None: continue - frame_id = m.model.frameId + frame_id = m.modelV2.frameId t = m.logMonoTime / 1e9 frame_cnt += 1 diff --git a/selfdrive/manager/process_config.py b/selfdrive/manager/process_config.py index b58f4dc2ca..9ed6d9f87d 100644 --- a/selfdrive/manager/process_config.py +++ b/selfdrive/manager/process_config.py @@ -3,7 +3,7 @@ import os from selfdrive.manager.process import PythonProcess, NativeProcess, DaemonProcess from selfdrive.hardware import EON, TICI, PC -WEBCAM = os.getenv("WEBCAM") is not None +WEBCAM = os.getenv("USE_WEBCAM") is not None procs = [ DaemonProcess("manage_athenad", "selfdrive.athena.manage_athenad", "AthenadPid"),