openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system in 275+ supported cars.
Go to file
马威 aa4db46618
Update pandad.cc
2024-11-22 23:06:06 +08:00
.devcontainer switch to uv (#32853) 2024-06-28 00:04:05 +00:00
.github ci: increase timeout on cache misses + switch some caches to github (#34056) 2024-11-18 21:16:15 -08:00
.vscode remove navigation (#32773) 2024-06-19 19:14:13 -07:00
cereal ci: faster unit_test (#34019) 2024-11-13 21:27:23 -08:00
common Make SimulatorBridge picklable (MacOS support) (#34023) 2024-11-14 10:25:50 -08:00
docs docs: init glossary (#33995) 2024-11-11 16:21:50 -08:00
msgq_repo@e621ce0763 [bot] Update Python packages (#34043) 2024-11-18 10:38:37 -08:00
opendbc_repo@b17502d658 Toyota: new long tune improvements (#34073) 2024-11-20 19:44:15 -08:00
openpilot use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
panda@998a639360 bump panda (#34072) 2024-11-20 19:33:00 -08:00
rednose_repo@05fd60278a [bot] Update Python packages (#33436) 2024-09-03 18:57:28 -07:00
release CI: always run submodule check (#34021) 2024-11-13 19:43:06 -08:00
scripts lint: catch NOMERGE comments (#33820) 2024-10-20 13:27:08 -07:00
selfdrive Update pandad.cc 2024-11-22 23:06:06 +08:00
site_scons/site_tools unpin numpy (#33132) 2024-07-30 13:11:05 -07:00
system test_qcomgpsd: let qcomgpsd delete the assistance (#34069) 2024-11-20 18:31:00 -08:00
teleoprtc_repo@389815b8ca [bot] Bump submodules (#32989) 2024-07-15 12:05:33 -07:00
third_party third_party: setup raylib (#33367) 2024-08-24 16:39:00 -07:00
tinygrad_repo@9dda6d260d Revert ISP image processing + tinygrad bump (#34020) 2024-11-13 19:27:11 -08:00
tools ci: Revert "setup: fix mac install (#34058)" (#34061) 2024-11-19 10:40:21 -08:00
.clang-tidy setup clang tidy (#19533) 2021-01-05 12:50:23 -08:00
.dockerignore convert vidindex to python (#30176) 2023-10-05 18:40:24 -07:00
.editorconfig Write orientation & transform in C++ (#1637) 2020-06-09 16:44:26 -07:00
.gitattributes exec DM model with gpu (#33609) 2024-09-26 16:40:44 -07:00
.gitignore gitignore .zst logs (#33955) 2024-11-07 11:15:43 -08:00
.gitmodules point tinygrad_repo to commaai/tinygrad (#33536) 2024-09-10 20:52:12 -07:00
.lfsconfig lfs: easier to use config (#23490) 2022-01-10 23:14:30 -08:00
Dockerfile.openpilot Fix openpilot-prebuilt dockerfile (#32787) 2024-06-18 17:28:52 -07:00
Dockerfile.openpilot_base ubuntu: remove extra packages 2024-08-27 19:22:09 -07:00
Jenkinsfile ci: run test_qcomgpsd only on changes (#34052) 2024-11-18 14:55:46 -08:00
LICENSE root directory non hidden files 2020-01-17 10:22:00 -08:00
README.md bounties.md moved to the project README 2024-08-04 15:51:12 -07:00
RELEASES.md Update RELEASES.md 2024-11-08 15:17:06 -08:00
SConstruct [bot] Update Python packages (#33679) 2024-09-30 13:46:04 -07:00
SECURITY.md Create SECURITY.md 2022-08-13 23:28:44 -07:00
codecov.yml ignore tools/ in codecov (#30711) 2023-12-12 23:59:38 -08:00
conftest.py Test all of selfdrive/ (#33575) 2024-10-03 23:39:13 -07:00
launch_chffrplus.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00
launch_env.sh agnos 11.2 (#33904) 2024-10-31 16:11:15 -07:00
launch_openpilot.sh Update launch_openpilot.sh 2024-11-21 23:05:16 +08:00
mkdocs.yml docs: init glossary (#33995) 2024-11-11 16:21:50 -08:00
msgq Restructure msgq (#32652) 2024-06-09 17:44:34 -07:00
opendbc opendbc is a package (#33159) 2024-07-31 23:17:40 -07:00
pyproject.toml setup: upper bound on python version (#33816) 2024-10-18 14:24:51 -07:00
rednose Rednose (#1503) 2020-05-14 15:36:56 -07:00
teleoprtc webrtcd: webrtc streaming server (audio/video/cereal) (#30186) 2023-12-01 21:13:37 -08:00
tinygrad modeld: Move from SNPE to tinygrad (#25207) 2022-09-01 10:31:14 -07:00
uv.lock [bot] Update Python packages (#34043) 2024-11-18 10:38:37 -08:00

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 codecov License: MIT X Follow Discord

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.