No description
  • Go 92.5%
  • Cap'n Proto 7.2%
  • Shell 0.2%
Find a file
2026-11-19 17:55:53 -05:00
.github/workflows Gate release artifacts on test and vet 2026-08-07 03:31:38 -07:00
cereal Merge pull request #151 from FrogAi/publish-match-direction 2026-11-07 19:12:10 -05:00
cli Merge pull request #155 from FrogAi/share-cli-menu-helpers 2026-11-07 19:03:13 -05:00
docs maxspeed none stored as max openpilot speed (145 km/h) 2026-11-19 17:52:52 -05:00
maps maxspeed none stored as max openpilot speed (145 km/h) 2026-11-19 17:52:52 -05:00
math Restore stable curvature arithmetic and distance bounds 2026-09-05 09:28:09 -07:00
params Remove the unused params helpers 2026-11-07 19:33:05 -05:00
scripts Stop the planet pipeline when a step fails 2026-11-05 12:19:32 -05:00
settings Merge pull request #142 from FrogAi/fix-settings-version-crash 2026-11-07 19:24:49 -05:00
utils Read tile ways in place when matching connected ways 2026-11-05 12:24:36 -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 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 Build the state path in one place 2026-11-05 14:03:42 -05:00
go.mod begin work on supporting new openpilot queue size 2026-09-30 09:43:16 -04:00
go.sum begin work on supporting new openpilot queue size 2026-09-30 09:43:16 -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 add loop rate to extended state 2026-08-20 22:04:09 -04:00
Makefile Generate the capnp files with one pattern rule 2026-11-05 14:16:23 -05:00
map_curve.go Find the car's progress along curves from the current segment 2026-11-05 11:51:46 -05:00
math.go Build the state path in one place 2026-11-05 14:03:42 -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 Remove the unused ParseMaxSpeed in package main 2026-11-05 14:07:21 -05:00
state.go Publish match direction 2026-11-05 12:38:43 -05: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 Share the effective max speed between the current and next ways 2026-11-05 14:07:21 -05: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: