a97cdb588a
* sync with alan-polk/dev-c3-app * updated readme.md * udpates to readme * new image * removed dead links * fix typo in utilize * no lane change smoothing in a curve * updated logo * add back support sunnypilot to readme.md * updated lane change logic * updated tuning on lane change modifiers * 0.5 on right lane changes * right is positive in comma world * updated lane change tuning * self.right_lc_modifier = 0.80 * self.right_lc_modifier = 0.70 * apply curvature limits after all calculations instead of before. * use absolute value of apply_curvature when detecting lane change. * if steeringPressed and abs(steeringAngleDeg) > 45: * Merged in sunnypilot v2024.05.24-1822 * Fixed 23-24 Escape carname in sunnypilot_carname.json * fixed missing torque data override for FORD_ESCAPE_MK4_23REFRESH * additional LMC2 variables. * bp readme.md * Fixed issues with explorer mk6 after recent merge * Merged in latest sp-dev changes into experimental * create desired_curvature as a calculated value * Only apply curvature limits once (#6) * Only apply curvature limits once * create immediate_curvature. * safety limits before lane changes * Merged SP Dev 2024.06.05-1964 --------- Co-authored-by: alan-polk <56047663+alan-polk@users.noreply.github.com> |
||
---|---|---|
.. | ||
tests | ||
tpl | ||
.gitignore | ||
README.md | ||
SConscript | ||
__init__.py | ||
helpers.py | ||
libmaprender.so | ||
map_renderer.h | ||
map_renderer.py | ||
mapsd | ||
navd.py | ||
otisserv.py | ||
set_destination.py | ||
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 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_TOKEN
environment variable - routes/destinations are set through the
NavDestination
param- use
set_destination.py
for debugging
- use
- edit the map: https://www.mapbox.com/contribute
- mapbox API playground: https://docs.mapbox.com/playground/