No description
  • Go 92.4%
  • Cap'n Proto 7.3%
  • Shell 0.2%
  • Makefile 0.1%
Find a file
2026-08-01 13:34:59 -04:00
.github/workflows Only run make release and upload artifact for PRs and main branch 2026-08-01 13:26:00 -04:00
cereal add conditional speed limit support 2026-07-15 22:12:06 -07:00
cli Merge branch 'highway-class' into tmp 2026-07-12 15:32:20 -04:00
docs add conditional speed limit support 2026-07-15 22:12:06 -07:00
maps add conditional speed limit support 2026-07-15 22:12:06 -07:00
math fix overlap calculation 2026-07-12 15:20:29 -04:00
params speed limit accept and override options and logic 2025-11-29 20:23:24 -05:00
scripts compress multiple folders in parallel 2026-07-12 15:20:01 -04:00
settings add conditional speed limit support 2026-07-15 22:12:06 -07:00
utils simplify tracked state 2025-12-05 16:11:43 -05: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 fixes for distance calculations 2025-12-07 15:35:02 -05:00
CLAUDE.md add an initial claude.md file 2026-08-01 13:32:37 -04:00
Dockerfile more docker nonsense 2025-11-10 17:52:09 +00:00
extended_state.go speed limit accept and override options and logic 2025-11-29 20:23:24 -05:00
go.mod map generation fix 2026-07-11 09:54:23 -04:00
go.sum go mod tidy 2026-07-12 15:24:45 -04: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 shadow carState due to stock openpilot only having one available sub slot 2026-01-29 21:00:46 -05:00
Makefile Add GitHub Actions for build and release 2026-08-01 13:00:05 -04:00
map_curve.go minor changes to settings load and speed trigger distance 2025-12-13 23:23:50 -05:00
math.go speed limit accept and override options and logic 2025-11-29 20:23:24 -05: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 add conditional speed limit support 2026-07-15 22:12:06 -07:00
state.go add conditional speed limit support 2026-07-15 22:12:06 -07:00
upcoming.go fixes for distance calculations 2025-12-07 15:35:02 -05: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 code cleanup 2025-12-03 16:04:28 -05:00
way.go add conditional speed limit support 2026-07-15 22:12:06 -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: