IQ.Pilot Release Commit @ ba009d5

This commit is contained in:
IQ.Lvbs CI [bot]
2026-09-04 12:33:30 -05:00
parent 2e7a1d1fa5
commit fde770bf03
84 changed files with 4206 additions and 302 deletions

View File

@@ -424,6 +424,13 @@ class UIState(IQUIState):
self._started_prev = self.started
def measured_steer_delay(self) -> float | None:
# estimatord is onroad-only, so offroad the lateralDelay socket reads back a default 0.0
if self.sm.alive['lateralDelay']:
return float(self.sm['lateralDelay'].lateralDelay)
lag = log_param_from_bytes(self.params, "LiveDelay", log.Event)
return float(lag.lateralDelay.lateralDelay) if lag is not None else None
def update_params(self) -> None:
CP = log_param_from_bytes(self.params, "CarParamsPersistent", car.CarParams)
if CP is not None: