This commit is contained in:
firestar5683
2025-10-18 15:05:02 -05:00
parent 2f253174e9
commit 67c9a8b52e
38 changed files with 1093 additions and 1107 deletions
+1 -2
View File
@@ -18,7 +18,7 @@ class TiciFanController(BaseFanController):
cloudlog.info("Setting up TICI fan handler")
self.last_ignition = False
self.controller = PIDController(k_p=0, k_i=4e-3, k_f=1, rate=(1 / DT_HW))
self.controller = PIDController(k_p=0, k_i=4e-3, rate=(1 / DT_HW))
def update(self, cur_temp: float, ignition: bool) -> int:
self.controller.neg_limit = -(100 if ignition else 30)
@@ -35,4 +35,3 @@ class TiciFanController(BaseFanController):
self.last_ignition = ignition
return fan_pwr_out