No description
  • Go 92.4%
  • Cap'n Proto 7.3%
  • Shell 0.2%
  • Makefile 0.1%
Find a file
Jacob Pfeifer 8e5eee69f7
Merge pull request #138 from dirkpetersen/tilevalidate
Validate map tile archives before extracting and never publish a partial file
2026-09-21 21:51:42 -04:00
.github/workflows Gate release artifacts on test and vet 2026-08-07 03:31:38 -07:00
cereal add loop rate to extended state 2026-08-20 22:04:09 -04:00
cli Select map archives from conservative region outlines 2026-09-04 14:47:52 -07:00
docs Select map archives from conservative region outlines 2026-09-04 14:47:52 -07:00
maps Share directional speed limit selection 2026-09-13 10:40:29 -07:00
math Restore stable curvature arithmetic and distance bounds 2026-09-05 09:28:09 -07:00
params Preserve params close errors and cleanup ordering 2026-09-05 09:28:09 -07:00
scripts Move download region updater to Go 2026-08-22 17:29:54 -07:00
settings Merge pull request #138 from dirkpetersen/tilevalidate 2026-09-21 21:51:42 -04:00
utils add loop rate to extended state 2026-08-20 22:04:09 -04:00
.dockerignore temporarily add us_states_bounding_boxes.json for sunnypilot 2025-11-11 21:12:56 +00:00
.gitignore more docker updates 2025-11-09 16:53:03 +00:00
car_state.go format code 2026-05-23 14:31:44 -04:00
CLAUDE.md Document personality-settings and generic json-path input changes in CLAUDE.md 2026-08-01 14:27:15 -04:00
Dockerfile more docker nonsense 2025-11-10 17:52:09 +00:00
extended_state.go add loop rate to extended state 2026-08-20 22:04:09 -04:00
go.mod Select map archives from conservative region outlines 2026-09-04 14:47:52 -07:00
go.sum Select map archives from conservative region outlines 2026-09-04 14:47:52 -07:00
hazard.go code cleanup 2025-12-03 16:04:28 -05:00
LICENSE Add license file 2025-11-09 18:09:25 +00:00
main.go add loop rate to extended state 2026-08-20 22:04:09 -04:00
Makefile Merge pull request #98 from FrogAi/codex/release-artifact-integrity 2026-08-09 12:12:41 -04:00
map_curve.go Split target speed time offset into curve/speed-limit-increase/decrease settings 2026-08-01 14:04:04 -04:00
math.go cache slices to get significantly improved performance 2026-08-20 09:45:53 -04:00
nation_bounding_boxes.json temporarily add nation_bounding_boxes.json back in for sunnypilot 2025-11-11 21:00:00 +00:00
Readme.md mapd v2.0.0 introduction 2025-12-10 19:32:24 -05:00
Roadmap.md speed limit accept and override options and logic 2025-11-29 20:23:24 -05:00
speed_limit.go Share directional speed limit selection 2026-09-13 10:40:29 -07:00
state.go maintain strict send rate 2026-08-19 09:51:10 -04:00
upcoming.go cache slices to get significantly improved performance 2026-08-20 09:45:53 -04:00
us_states_bounding_boxes.json temporarily add us_states_bounding_boxes.json for sunnypilot 2025-11-11 21:12:56 +00:00
vision_curve.go Merge pull request #100 from FrogAi/codex/vision-curve-direction-symmetry 2026-08-09 11:50:02 -04:00
way.go Remove redundant current-way speed cache 2026-09-13 11:00:38 -07:00

Mapd v2.x

This branch contains the docs and code for v2.x of mapd. v2.x is incompatible with v1.x. v1.x can be found here.

Mapd is a component for use in forks of comma.ai's openpilot. It uses openstreetmap data to provide speed limit and curve speed adjustments to the openpilot fork.

openpilot fork integration

openpilot fork integration is described in docs/integration.md.

Disclaimers and Acknowledgements

  • "openpilot" and "msgq" are trademarks of comma.ai. mapd is in no way affiliated with comma.ai, openpilot, or msgq.

  • The capnp definitions in the cereal package are modifications of the definitions in the cereal module in openpilot. openpilot is released under the MIT license.

  • Many of the ideas in this code were built by referencing the move-fast implementation of an openpilot map daemon. The move-fast implementation was released under the MIT license.

  • Other ideas in this implementation came from the wider openpilot fork community. Some notable mentions are: