mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-02 12:02:09 +08:00
5f9c00fd55
* staticrender * modify static_render_sig_rec name + use back setStyleJson * better name --------- Co-authored-by: ksfi <ethos.bulbes_0g@icloud.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> old-commit-hash: 3c69fcddc80327919b097c26a25017f8e11f28b0
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/
