From 1ec2c56b4ec282f2923c62ff29f874be55623e1a Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Tue, 3 Dec 2024 14:59:15 -0800 Subject: [PATCH] gc old DM init param --- common/params.cc | 1 - selfdrive/modeld/dmonitoringmodeld.py | 2 -- 2 files changed, 3 deletions(-) diff --git a/common/params.cc b/common/params.cc index 9e62ed582c..2011b52131 100644 --- a/common/params.cc +++ b/common/params.cc @@ -112,7 +112,6 @@ std::unordered_map keys = { {"DisablePowerDown", PERSISTENT}, {"DisableUpdates", PERSISTENT}, {"DisengageOnAccelerator", PERSISTENT}, - {"DmModelInitialized", CLEAR_ON_ONROAD_TRANSITION}, {"DongleId", PERSISTENT}, {"DoReboot", CLEAR_ON_MANAGER_START}, {"DoShutdown", CLEAR_ON_MANAGER_START}, diff --git a/selfdrive/modeld/dmonitoringmodeld.py b/selfdrive/modeld/dmonitoringmodeld.py index 31440c1295..7f04939c65 100755 --- a/selfdrive/modeld/dmonitoringmodeld.py +++ b/selfdrive/modeld/dmonitoringmodeld.py @@ -12,7 +12,6 @@ from cereal import messaging from cereal.messaging import PubMaster, SubMaster from msgq.visionipc import VisionIpcClient, VisionStreamType, VisionBuf from openpilot.common.swaglog import cloudlog -from openpilot.common.params import Params from openpilot.common.realtime import set_realtime_priority from openpilot.selfdrive.modeld.runners import ModelRunner, Runtime from openpilot.selfdrive.modeld.models.commonmodel_pyx import CLContext @@ -126,7 +125,6 @@ def main(): cl_context = CLContext() model = ModelState(cl_context) cloudlog.warning("models loaded, dmonitoringmodeld starting") - Params().put_bool("DmModelInitialized", True) cloudlog.warning("connecting to driver stream") vipc_client = VisionIpcClient("camerad", VisionStreamType.VISION_STREAM_DRIVER, True, cl_context)