mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-26 16:32:06 +08:00
100f89a161
* openpilot v0.9.9 release date: 2025-06-05T19:54:08 master commit: 8aadf02b2fd91f4e1285e18c2c7feb32d93b66f5 * AGNOS 12.4 (#35558) agnos12.4 --------- Co-authored-by: Vehicle Researcher <user@comma.ai> Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
34 lines
715 B
Markdown
34 lines
715 B
Markdown
# openpilot development workflow
|
|
|
|
Aside from the ML models, most tools used for openpilot development are in this repo.
|
|
|
|
Most development happens on normal Ubuntu workstations, and not in cars or directly on comma devices. See the [setup guide](../tools) for getting your PC setup for openpilot development.
|
|
|
|
## Quick start
|
|
|
|
```bash
|
|
# get the latest stuff
|
|
git pull
|
|
git lfs pull
|
|
git submodule update --init --recursive
|
|
|
|
# update dependencies
|
|
tools/ubuntu_setup.sh
|
|
|
|
# build everything
|
|
scons -j$(nproc)
|
|
|
|
# build just the ui with either of these
|
|
scons -j8 selfdrive/ui/
|
|
cd selfdrive/ui/ && scons -u -j8
|
|
|
|
# test everything
|
|
pytest
|
|
|
|
# test just logging services
|
|
cd system/loggerd && pytest .
|
|
|
|
# run the linter
|
|
op lint
|
|
```
|