thermald: log filtered max temp (#28564)

old-commit-hash: cb4c7118a5
beeps
Adeeb Shihadeh 2 years ago committed by GitHub
parent 6355215f81
commit df3dffc2d1
  1. 2
      cereal
  2. 1
      selfdrive/thermald/thermald.py

@ -1 +1 @@
Subproject commit f319a83ab7a902477c786a25aa34077b6f640990
Subproject commit 3a8e4c9d04b050c057f41d9288ab5ff3f3b02669

@ -253,6 +253,7 @@ def thermald_thread(end_event, hw_queue):
# this drives the thermal status while onroad
temp_sources.append(max(msg.deviceState.pmicTempC))
all_comp_temp = all_temp_filter.update(max(temp_sources))
msg.deviceState.maxTempC = all_comp_temp
if fan_controller is not None:
msg.deviceState.fanSpeedPercentDesired = fan_controller.update(all_comp_temp, onroad_conditions["ignition"])

Loading…
Cancel
Save