From 747ff45da471a6b43be5d35916ce00e3b6e3b89c Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Thu, 8 Apr 2021 23:06:52 -0700 Subject: [PATCH] hotfix: remove ubloxRaw check in controlsd (#20630) * remove ubloxRaw from controlsd SubMaster * reduce STATUS_PACKET logging frequency to every 10 minutes Co-authored-by: Willem Melching --- selfdrive/controls/controlsd.py | 4 ++-- selfdrive/thermald/thermald.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/selfdrive/controls/controlsd.py b/selfdrive/controls/controlsd.py index 9b37834b..b575d6eb 100755 --- a/selfdrive/controls/controlsd.py +++ b/selfdrive/controls/controlsd.py @@ -55,8 +55,8 @@ class Controls: self.sm = sm if self.sm is None: - ignore = ['ubloxRaw', 'driverCameraState', 'managerState'] if SIMULATION else None - self.sm = messaging.SubMaster(['deviceState', 'pandaState', 'modelV2', 'liveCalibration', 'ubloxRaw', + ignore = ['driverCameraState', 'managerState'] if SIMULATION else None + self.sm = messaging.SubMaster(['deviceState', 'pandaState', 'modelV2', 'liveCalibration', 'driverMonitoringState', 'longitudinalPlan', 'lateralPlan', 'liveLocationKalman', 'roadCameraState', 'driverCameraState', 'managerState', 'liveParameters', 'radarState'], ignore_alive=ignore) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 9f769801..78a53508 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -407,8 +407,8 @@ def thermald_thread(): should_start_prev = should_start startup_conditions_prev = startup_conditions.copy() - # report to server once per minute - if (count % int(60. / DT_TRML)) == 0: + # report to server once every 10 minutes + if (count % int(600. / DT_TRML)) == 0: location = messaging.recv_sock(location_sock) cloudlog.event("STATUS_PACKET", count=count,