From 16aed2e43de57ad760089d7f6bf32bfb63e5a8e9 Mon Sep 17 00:00:00 2001 From: Adeeb Shihadeh Date: Mon, 18 Oct 2021 16:58:41 -0700 Subject: [PATCH] relax the no connectivity time to two weeks (#22607) old-commit-hash: 168493767e3f551fe790f2cc766d5ac3b16cb9ce --- selfdrive/thermald/thermald.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index b7e8bab9ad..68034b6818 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -32,8 +32,8 @@ NetworkType = log.DeviceState.NetworkType NetworkStrength = log.DeviceState.NetworkStrength CURRENT_TAU = 15. # 15s time constant TEMP_TAU = 5. # 5s time constant -DAYS_NO_CONNECTIVITY_MAX = 7 # do not allow to engage after a week without internet -DAYS_NO_CONNECTIVITY_PROMPT = 4 # send an offroad prompt after 4 days with no internet +DAYS_NO_CONNECTIVITY_MAX = 14 # do not allow to engage after this many days +DAYS_NO_CONNECTIVITY_PROMPT = 10 # send an offroad prompt after this many days DISCONNECT_TIMEOUT = 5. # wait 5 seconds before going offroad after disconnect so you get an alert ThermalBand = namedtuple("ThermalBand", ['min_temp', 'max_temp'])