forked from IQ.Lvbs/IQ.Pilot
Update system/manager/process_config.py
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user