Skip to content

Commit

Permalink
Eased up Internet requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichMoraga committed Oct 24, 2020
1 parent 3932d1c commit 29497f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions selfdrive/thermald/thermald.py
Original file line number Diff line number Diff line change
Expand Up @@ -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]]] = {}
Expand Down

0 comments on commit 29497f1

Please sign in to comment.