diff --git a/selfdrive/assets/img_spinner_comma.png b/selfdrive/assets/img_spinner_comma.png index 2398328..1ebae3f 100644 Binary files a/selfdrive/assets/img_spinner_comma.png and b/selfdrive/assets/img_spinner_comma.png differ diff --git a/selfdrive/assets/img_spinner_comma_2.png b/selfdrive/assets/img_spinner_comma_2.png new file mode 100644 index 0000000..2398328 Binary files /dev/null and b/selfdrive/assets/img_spinner_comma_2.png differ diff --git a/selfdrive/clearpilot/theme/clearpilot/images/hot.png b/selfdrive/clearpilot/theme/clearpilot/images/hot.png index 80dfa5c..6d0b15b 100644 Binary files a/selfdrive/clearpilot/theme/clearpilot/images/hot.png and b/selfdrive/clearpilot/theme/clearpilot/images/hot.png differ diff --git a/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ b/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ index 7f7b96d..80dfa5c 100644 Binary files a/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ and b/selfdrive/clearpilot/theme/clearpilot/images/hot.png~ differ diff --git a/selfdrive/thermald/thermald.py b/selfdrive/thermald/thermald.py index 75de250..7d61cb3 100755 --- a/selfdrive/thermald/thermald.py +++ b/selfdrive/thermald/thermald.py @@ -208,6 +208,9 @@ def thermald_thread(end_event, hw_queue) -> None: device_management = params.get_bool("DeviceManagement") offline_mode = device_management and params.get_bool("OfflineMode") + # For testing a temporary overtemp notice + test_temp_count = 120 + while not end_event.is_set(): sm.update(PANDA_STATES_TIMEOUT) @@ -321,12 +324,14 @@ def thermald_thread(end_event, hw_queue) -> None: # if the temperature enters the danger zone, go offroad to cool down onroad_conditions["device_temp_good"] = thermal_status < ThermalStatus.danger - - onroad_conditions["device_temp_good"] = False extra_text = f"{offroad_comp_temp:.1f}C" show_alert = (not onroad_conditions["device_temp_good"] or not startup_conditions["device_temp_engageable"]) and onroad_conditions["ignition"] - show_alert = True + + if test_temp_count > 0: + show_alert = True + test_temp_count = test_temp_count - 1 + set_offroad_alert_if_changed("Offroad_TemperatureTooHigh", show_alert, extra_text=extra_text) # TODO: this should move to TICI.initialize_hardware, but we currently can't import params there