mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-23 15:02:06 +08:00
754dd45ffa
* 2eedcd90-b7db-46cb-86be-740f48ded7ab/700 * noop ciao * here too * mapsd too * update translations * disable mapsd test from test onroad * disable mapRenderState test from timings * lint * fix exp mode toggle panel * update tr * french done * dont build mapd * only no nav * just comment * deprecate nav fields * rm not comment * dont deprecate too much * remove from services * merge cereal
979 B
979 B
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 simplified rendered map view over VisionIPC. The rendered maps look like this:
development
Currently, mapbox is used for navigation.
- get an API token: https://docs.mapbox.com/help/glossary/access-token/
- set an API token using the
MAPBOX_TOKENenvironment variable - routes/destinations are set through the
NavDestinationparam- use
set_destination.pyfor debugging
- use
- edit the map: https://www.mapbox.com/contribute
- mapbox API playground: https://docs.mapbox.com/playground/
