From 29497f1d086e2ae0bee7ff24ba26adefc78c2dc9 Mon Sep 17 00:00:00 2001 From: Erich Moraga <33645296+ErichMoraga@users.noreply.github.com> Date: Sat, 24 Oct 2020 12:23:43 -0500 Subject: [PATCH] Eased up Internet requirement See... https://github.com/commaai/openpilot/pull/1096 --- 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 39e07c0dd70f46..f2934a60a5b4ec 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -36,8 +36,8 @@ NetworkStrength = log.ThermalData.NetworkStrength CURRENT_TAU = 15. # 15s time constant CPU_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 = 30 # do not allow to engage after a week without internet +DAYS_NO_CONNECTIVITY_PROMPT = 26 # send an offroad prompt after 4 days with no internet DISCONNECT_TIMEOUT = 5. # wait 5 seconds before going offroad after disconnect so you get an alert prev_offroad_states: Dict[str, Tuple[bool, Optional[str]]] = {}