Zik is my boss

This commit is contained in:
firestar5683
2026-06-07 20:37:47 -05:00
parent aba65bf755
commit c88bebbc3e
5 changed files with 16 additions and 1 deletions
+2
View File
@@ -775,6 +775,8 @@ def manager_thread() -> None:
# StarPilot variables
params_memory.clear_all(ParamKeyFlag.CLEAR_ON_OFFROAD_TRANSITION)
if params.get_bool("ClearNavOnOffroad"):
params.remove("NavDestination")
ignition = any(ps.ignitionLine or ps.ignitionCan for ps in sm['pandaStates'] if ps.pandaType != log.PandaState.PandaType.unknown)
if ignition and not ignition_prev: