一个开源的驾驶辅助系统

fishnux 3dd127c5ad tools: fix setup for directories with spaces (#33769) 1 周之前
.devcontainer a1a0e9e8a0 switch to uv (#32853) 3 月之前
.github d7c0906d0b ci: faster metadrive test (#33755) 1 周之前
.vscode 3b8ed67aa3 remove navigation (#32773) 4 月之前
cereal 7150c145ae selfdrived: remove redundant sound card check (#33767) 1 周之前
common 17edc5f660 support for SecOC cars (#33689) 2 周之前
docs df529de1d0 Lexus ES TSS2: improve start from stop response time (#33666) 3 周之前
msgq_repo @ 3e17f865bb 8e8f61ad35 camerad: IFE debayer support (#33720) 1 周之前
opendbc_repo @ 78fdc463f4 4501d633ea [bot] Update Python packages (#33736) 2 周之前
openpilot 9bd90112d0 use pyupgrade to update to new typing syntax (#31580) 8 月之前
panda @ abdc41856b ad5933cefe Toyota: 2021-23 RAV4 Prime (#33654) 2 周之前
rednose_repo @ 05fd60278a 1e92af9b3c [bot] Update Python packages (#33436) 1 月之前
release 82f8db87f4 add longitudinal maneuvers (#33527) 1 月之前
scripts 0058ea5817 Rewrite urls (#33451) 1 月之前
selfdrive 354e909ab1 ui: smooth transition of path colors on AllowThrottle state changes (#33766) 1 周之前
site_scons 6c1d7358f0 unpin numpy (#33132) 2 月之前
system d96a042722 Revert "AGNOS 11 (#33775)" 1 周之前
teleoprtc_repo @ 389815b8ca e0d15b715f [bot] Bump submodules (#32989) 3 月之前
third_party 2c98c6d52b third_party: setup raylib (#33367) 1 月之前
tinygrad_repo @ 9dda6d260d edf9522bc0 Model and YUV pipeline to uint8 (#33671) 3 周之前
tools 3dd127c5ad tools: fix setup for directories with spaces (#33769) 1 周之前
.clang-tidy d89bb8b29c setup clang tidy (#19533) 3 年之前
.dockerignore 29bb2cf867 convert vidindex to python (#30176) 1 年之前
.editorconfig 76a465e0ec Write orientation & transform in C++ (#1637) 4 年之前
.gitattributes 876f192112 exec DM model with gpu (#33609) 3 周之前
.gitignore 6aebec7b34 cleanup .gitignore (#33704) 2 周之前
.gitmodules e951b7093f point tinygrad_repo to commaai/tinygrad (#33536) 1 月之前
.lfsconfig 3b3a61fcdf lfs: easier to use config (#23490) 2 年之前
Dockerfile.openpilot 99a7c5de93 Fix openpilot-prebuilt dockerfile (#32787) 4 月之前
Dockerfile.openpilot_base 11f2d56f5e ubuntu: remove extra packages 1 月之前
Jenkinsfile a66851aa91 jenkins: fix hanging on SSH (#33779) 1 周之前
LICENSE 06c6ee312b root directory non hidden files 4 年之前
README.md fe4ab0a22d bounties.md moved to the project README 2 月之前
RELEASES.md 3b6f7c9a6c sgo shipped! 2 周之前
SConstruct b4cf9c0988 [bot] Update Python packages (#33679) 3 周之前
SECURITY.md be4392faaa Create SECURITY.md 2 年之前
codecov.yml ce34052dad ignore tools/ in codecov (#30711) 10 月之前
conftest.py 66ec788005 Test all of selfdrive/ (#33575) 2 周之前
launch_chffrplus.sh c551f1d239 fix bash + python3 shebangs (#33287) 2 月之前
launch_env.sh d96a042722 Revert "AGNOS 11 (#33775)" 1 周之前
launch_openpilot.sh c551f1d239 fix bash + python3 shebangs (#33287) 2 月之前
mkdocs.yml b03f4f9b48 docs: fix README.md (#33142) 2 月之前
msgq 05ed3d8c15 Restructure msgq (#32652) 4 月之前
opendbc 54f912a1d5 opendbc is a package (#33159) 2 月之前
pyproject.toml 66ec788005 Test all of selfdrive/ (#33575) 2 周之前
rednose 8f71de0dbe Rednose (#1503) 4 年之前
teleoprtc d062a97a26 webrtcd: webrtc streaming server (audio/video/cereal) (#30186) 10 月之前
tinygrad 29cd51b876 modeld: Move from SNPE to tinygrad (#25207) 2 年之前
uv.lock 4501d633ea [bot] Update Python packages (#33736) 2 周之前

README.md

openpilot

openpilot is an operating system for robotics.
Currently, it upgrades the driver assistance system in 275+ supported cars.

Docs · Roadmap · Contribute · Community · Try it on a comma 3X

Quick start: `bash <(curl -fsSL openpilot.comma.ai)` ![openpilot tests](https://github.com/commaai/openpilot/actions/workflows/selfdrive_tests.yaml/badge.svg) [![codecov](https://codecov.io/gh/commaai/openpilot/branch/master/graph/badge.svg)](https://codecov.io/gh/commaai/openpilot) [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE) [![X Follow](https://img.shields.io/twitter/follow/comma_ai)](https://x.com/comma_ai) [![Discord](https://img.shields.io/discord/469524606043160576)](https://discord.comma.ai)

To start using openpilot in a car

To use openpilot in a car, you need four things:

  1. Supported Device: a comma 3/3X, available at comma.ai/shop.
  2. Software: The setup procedure for the comma 3/3X allows users to enter a URL for custom software. Use the URL openpilot.comma.ai to install the release version.
  3. Supported Car: Ensure that you have one of the 275+ supported cars.
  4. Car Harness: You will also need a car harness to connect your comma 3/3X to your car.

We have detailed instructions for how to install the harness and device in a car. Note that it's possible to run openpilot on other hardware, although it's not plug-and-play.

To start developing openpilot

openpilot is developed by comma and by users like you. We welcome both pull requests and issues on GitHub.

Want to get paid to work on openpilot? comma is hiring and offers lots of bounties for external contributors.

Safety and Testing

  • openpilot observes ISO26262 guidelines, see SAFETY.md for more details.
  • openpilot has software-in-the-loop tests that run on every commit.
  • The code enforcing the safety model lives in panda and is written in C, see code rigor for more details.
  • panda has software-in-the-loop safety tests.
  • Internally, we have a hardware-in-the-loop Jenkins test suite that builds and unit tests the various processes.
  • panda has additional hardware-in-the-loop tests.
  • We run the latest openpilot in a testing closet containing 10 comma devices continuously replaying routes.

Licensing

openpilot is released under the MIT license. Some parts of the software are released under other licenses as specified.

Any user of this software shall indemnify and hold harmless Comma.ai, Inc. and its directors, officers, employees, agents, stockholders, affiliates, subcontractors and customers from and against all allegations, claims, actions, suits, demands, damages, liabilities, obligations, losses, settlements, judgments, costs and expenses (including without limitation attorneys’ fees and costs) which arise out of, relate to or result from any use of this software by user.

THIS IS ALPHA QUALITY SOFTWARE FOR RESEARCH PURPOSES ONLY. THIS IS NOT A PRODUCT. YOU ARE RESPONSIBLE FOR COMPLYING WITH LOCAL LAWS AND REGULATIONS. NO WARRANTY EXPRESSED OR IMPLIED.

User Data and comma Account

By default, openpilot uploads the driving data to our servers. You can also access your data through comma connect. We use your data to train better models and improve openpilot for everyone.

openpilot is open source software: the user is free to disable data collection if they wish to do so.

openpilot logs the road-facing cameras, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs. The driver-facing camera is only logged if you explicitly opt-in in settings. The microphone is not recorded.

By using openpilot, you agree to our Privacy Policy. You understand that use of this software or its related services will generate certain types of user data, which may be logged and stored at the sole discretion of comma. By accepting this agreement, you grant an irrevocable, perpetual, worldwide right to comma for the use of this data.