Open Street Maps integration
Added OSM to openpilot to use speed limits and road names. Credit goes to Pfeiferj! https: //github.com/pfeiferj Co-Authored-By: Jacob Pfeifer <jacob@pfeifer.dev>
This commit is contained in:
@@ -55,6 +55,9 @@ def enable_dm(started, params, CP: car.CarParams) -> bool:
|
||||
def enable_logging(started, params, CP: car.CarParams) -> bool:
|
||||
return not (params.get_bool("FireTheBabysitter") and params.get_bool("NoLogging"))
|
||||
|
||||
def osm(started, params, CP: car.CarParams) -> bool:
|
||||
return params.get_bool("RoadNameUI")
|
||||
|
||||
procs = [
|
||||
DaemonProcess("manage_athenad", "selfdrive.athena.manage_athenad", "AthenadPid"),
|
||||
|
||||
@@ -103,6 +106,7 @@ procs = [
|
||||
|
||||
# FrogPilot processes
|
||||
PythonProcess("fleet_manager", "selfdrive.frogpilot.fleetmanager.fleet_manager", always_run),
|
||||
PythonProcess("mapd", "selfdrive.frogpilot.functions.mapd", osm),
|
||||
]
|
||||
|
||||
managed_processes = {p.name: p for p in procs}
|
||||
|
||||
Reference in New Issue
Block a user