添加很多功能
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -75,6 +75,9 @@ def enable_dm(started, params, CP: car.CarParams) -> bool:
|
||||
def enable_connect(started, params, CP: car.CarParams) -> bool:
|
||||
return params.get_int("EnableConnect") > 0
|
||||
|
||||
def enable_xiaoge_data(started, params, CP: car.CarParams) -> bool:
|
||||
return params.get_bool("ShareData")
|
||||
|
||||
def c3x_lite(started: bool, params: Params, CP: car.CarParams) -> bool:
|
||||
return started and params.get_bool("HardwareC3xLite")
|
||||
|
||||
@@ -137,6 +140,9 @@ procs = [
|
||||
PythonProcess("fleet_manager", "selfdrive.frogpilot.fleetmanager.fleet_manager", check_fleet),
|
||||
PythonProcess("carrot_man", "selfdrive.carrot.carrot_man", always_run),#, enabled=not PC),
|
||||
|
||||
#Xiaoge data broadcaster (conditional on ShareData param)
|
||||
PythonProcess("xiaoge_data", "selfdrive.carrot.xiaoge_data", enable_xiaoge_data),
|
||||
|
||||
# c3x lite
|
||||
PythonProcess("beep", "selfdrive.controls.beep", c3x_lite, enabled=TICI),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user