一个开源的驾驶辅助系统

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

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.