Skip to content

pfeiferj/mapd

Repository files navigation

Openpilot mapd

Provides openpilot with data from mapd

Using

Integrating With Openpilot

Each release will have a pre-compiled static binary attached for use with openpilot on a comma device. Without any additional code the binary will not run or change openpilot behavior. A reference implementation for managing downloads of the binary and using data output from this daemon is located in pfeifer-openpilot-patches.

mapd inputs

Inputs are described in docs/inputs.md.

mapd outputs

Outputs are described in docs/outputs.md.

Build

This project uses earthly for its build system. To install earthly follow the instructions at the get earthly page

Format Code

earthly +format

Lint

earthly +lint

Test

earthly +test

Update Snapshot Tests

earthly +update-snapshots

Build capnp Files

earthly +compile-capnp

Build Release Binary

NOTE: This will be built for ARM64 to be used on a comma device and may not work on your computer

earthly +build-release

Build Binary

NOTE: This will be built for your current archetecture and may not work on a comma device

earthly +build