openpilot0/selfdrive/navd
Cameron Clough a09300385b mypy: use implicit-optional (#31590)
* mypy: set implicit-optional = true

* find and replace '| None = None' -> '= None' in function args
old-commit-hash: 80da3aee14
2024-02-25 13:29:18 -08:00
..
tests bump cereal (#31392) 2024-02-09 21:44:23 -08:00
.gitignore Rename map_renderer -> mapsd (#28580) 2023-06-16 20:12:50 -07:00
README.md Rename map_renderer -> mapsd (#28580) 2023-06-16 20:12:50 -07:00
SConscript map: Transfer to MapLibre (#31185) 2024-02-01 13:37:22 -08:00
__init__.py
helpers.py mypy: use implicit-optional (#31590) 2024-02-25 13:29:18 -08:00
main.cc allow onscreen cpu rendering (#30510) 2023-11-22 12:44:32 -08:00
map_renderer.cc map: Transfer to MapLibre (#31185) 2024-02-01 13:37:22 -08:00
map_renderer.h map: Transfer to MapLibre (#31185) 2024-02-01 13:37:22 -08:00
map_renderer.py add openpilot prefix to imports (#29498) 2023-08-20 20:49:55 -07:00
navd.py navd: handle errors in parsing api response (#30977) 2024-01-11 23:15:29 -08:00
set_destination.py add openpilot prefix to imports (#29498) 2023-08-20 20:49:55 -07:00
style.json

README.md

navigation

This directory contains two daemons, navd and mapsd, which support navigation in the openpilot stack.

navd

navd takes in a route through the NavDestination param and sends out two packets: navRoute and navInstruction. These packets contain the coordinates of the planned route and turn-by-turn instructions.

map renderer

The map renderer listens for the navRoute and publishes a rendered map view over VisionIPC for the navigation model, which lives in selfdrive/modeld/. The rendered maps look like this:

development

Currently, mapbox is used for navigation.