Skip to content

Commit

Permalink
Eased up Internet requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
ErichMoraga authored Jul 23, 2021
1 parent 32321bb commit daefb5c
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 @@ -30,8 +30,8 @@
NetworkStrength = log.DeviceState.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 daefb5c

Please sign in to comment.