mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-24 18:42:07 +08:00
fix kF value for thermal PI controller (#23871)
old-commit-hash: f539d9c0bc
This commit is contained in:
@@ -240,7 +240,7 @@ def thermald_thread(end_event, hw_queue):
|
||||
thermal_config = HARDWARE.get_thermal_config()
|
||||
|
||||
# TODO: use PI controller for UNO
|
||||
controller = PIController(k_p=0, k_i=2e-3, neg_limit=-80, pos_limit=0, rate=(1 / DT_TRML))
|
||||
controller = PIController(k_p=0, k_i=2e-3, k_f=1, neg_limit=-80, pos_limit=0, rate=(1 / DT_TRML))
|
||||
|
||||
while not end_event.is_set():
|
||||
sm.update(PANDA_STATES_TIMEOUT)
|
||||
|
||||
Reference in New Issue
Block a user