No description
Find a file
Jacob Pfeifer 7828bbaad8
Merge pull request #87 from pfeiferj/shadow-carstate
shadow carState due to stock openpilot only having one available subslot
2026-01-30 22:20:09 -05:00
cereal shadow carState due to stock openpilot only having one available sub slot 2026-01-29 21:00:46 -05:00
cli shadow carState due to stock openpilot only having one available sub slot 2026-01-29 21:00:46 -05:00
docs update mapd queues to medium size, add support back in for legacy msgq sizes, use latest gomsgq with macos support 2026-01-08 17:54:43 -05:00
maps fixes for distance calculations 2025-12-07 15:35:02 -05:00
math code cleanup 2025-12-03 16:04:28 -05:00
params speed limit accept and override options and logic 2025-11-29 20:23:24 -05:00
scripts docker qemu static 2025-11-23 19:39:24 -05:00
settings update mapd queues to medium size, add support back in for legacy msgq sizes, use latest gomsgq with macos support 2026-01-08 17:54:43 -05: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
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 shadow carState due to stock openpilot only having one available sub slot 2026-01-29 21:00:46 -05:00
go.sum shadow carState due to stock openpilot only having one available sub slot 2026-01-29 21:00:46 -05: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 docker qemu static 2025-11-23 19:39:24 -05: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 minor changes to settings load and speed trigger distance 2025-12-13 23:23:50 -05:00
state.go more refactoring and adjustments to speed limit overrides 2025-12-07 14:04:27 -05: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 code cleanup 2025-12-03 16:04:28 -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: