1
0
forked from IQ.Lvbs/IQ.Pilot

Update system/manager/process_config.py

This commit is contained in:
2026-08-26 15:16:06 -05:00
parent 02edadd3ec
commit 1edd840554

View File

@@ -17,9 +17,7 @@ def driverview(started: bool, params: Params, CP: car.CarParams) -> bool:
return started or params.get_bool("IsDriverViewEnabled") return started or params.get_bool("IsDriverViewEnabled")
def driver_monitoring(started: bool, params: Params, CP: car.CarParams) -> bool: def driver_monitoring(started: bool, params: Params, CP: car.CarParams) -> bool:
if os.path.exists('/tmp/lite_hw'): return False # C3 Lite: no driver camera
return False
return driverview(started, params, CP)
def notcar(started: bool, params: Params, CP: car.CarParams) -> bool: def notcar(started: bool, params: Params, CP: car.CarParams) -> bool:
return started and CP.notCar return started and CP.notCar