33 Star 91 Fork 2

Gitee 极速下载 / openpilot

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/commaai/openpilot
克隆/下载
WORKFLOW.md 1.09 KB
一键复制 编辑 原始数据 按行查看 历史

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 for getting your PC setup for openpilot development.

Quick start

# get the latest stuff
git 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
pre-commit run --all

Testing

Automated Testing

All PRs and commits are automatically checked by GitHub Actions. Check out .github/workflows/ for what GitHub Actions runs. Any new tests should be added to GitHub Actions.

Code Style and Linting

Code is automatically checked for style by GitHub Actions as part of the automated tests. You can also run these tests yourself by running pre-commit run --all.

C
1
https://gitee.com/mirrors/openpilot.git
git@gitee.com:mirrors/openpilot.git
mirrors
openpilot
openpilot
master

搜索帮助