openpilot is an operating system for robotics. Currently, it upgrades the driver assistance system in 275+ supported cars.
Go to file
ZwX1616 876f192112
exec DM model with gpu (#33609)
* half

old-commit-hash: 9f72eca003d4637ca7fe847ebaf925c694fc2e84

* optimed

old-commit-hash: 6e36e2a12e09275ec21d1590012a92b05ca52ff5

* thneed

old-commit-hash: 419a06c09c0c767d828bcd1e118bc575898c343a

* exec

old-commit-hash: 0059c27ec11b076a37f65d604ed135ea6541b1a6

* runner

old-commit-hash: 34232ada94450ce541eaef546197fa219810a891

* runs but

old-commit-hash: 3db37c00b6a64908293b4de8d8b56e80308cd8f2

* it is 01

old-commit-hash: a160d81eb1a7e77abbef959b44f602610f68f665

* np

old-commit-hash: c1caff6ba648cc2c0094c71b2ea074f01c3c2dc8

* module url

old-commit-hash: 6f4902c4d384263a53e2c1d14d93b5ff864b6a5f

* new

old-commit-hash: 779ae79b1bc3df6374fb6663ac8592e107a6e504

* ds fast

* is this work

* corcention

* real timing

* no reg

* interim gather

* 0e4a9c7b

* fa69be01, and halve

* list

* cleanup

* slighly faster

* setprotlt

* expected

* replay ref

* more powar

* reluctantly

* bump tg

* 8

* less

* less

* bump tg

* better than exp

* closer

* cc

* see diff

* commits

* was right

* to 32 cast

* remove dlc file

* support both

* dspExecutionTime -> gpuExecutionTime

* ignore

* time ref

* ref commit

* last

---------

Co-authored-by: Comma Device <device@comma.ai>
2024-09-26 16:40:44 -07:00
.devcontainer switch to uv (#32853) 2024-06-28 00:04:05 +00:00
.github ci: add OVERRIDE and DISENGAGED state to ui report (#33639) 2024-09-24 10:15:01 -07:00
.vscode remove navigation (#32773) 2024-06-19 19:14:13 -07:00
cereal exec DM model with gpu (#33609) 2024-09-26 16:40:44 -07:00
common camerad: final debayer prep (#33598) 2024-09-19 16:14:29 -07:00
docs HKG: CAN-FD EV refactor, support for Genesis GV70 Electrified (#33657) 2024-09-26 15:10:06 -04:00
msgq_repo@cdcf84f44a bump msgq 2024-08-27 20:11:12 -07:00
opendbc_repo@b11c159d87 HKG: CAN-FD EV refactor, support for Genesis GV70 Electrified (#33657) 2024-09-26 15:10:06 -04:00
openpilot use pyupgrade to update to new typing syntax (#31580) 2024-02-24 16:41:23 -08:00
panda@2037a2ead7 [bot] Update Python packages (#33626) 2024-09-24 13:56:49 -07:00
rednose_repo@05fd60278a [bot] Update Python packages (#33436) 2024-09-03 18:57:28 -07:00
release add longitudinal maneuvers (#33527) 2024-09-12 14:10:18 -07:00
scripts Rewrite urls (#33451) 2024-09-03 22:15:30 -07:00
selfdrive exec DM model with gpu (#33609) 2024-09-26 16:40:44 -07:00
site_scons/site_tools unpin numpy (#33132) 2024-07-30 13:11:05 -07:00
system exec DM model with gpu (#33609) 2024-09-26 16:40:44 -07: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@3e15fa0dae exec DM model with gpu (#33609) 2024-09-26 16:40:44 -07:00
tools tools: notebook for HKG alt message validation (#33647) 2024-09-24 20:44:49 -04:00
.clang-tidy
.dockerignore convert vidindex to python (#30176) 2023-10-05 18:40:24 -07:00
.editorconfig
.gitattributes exec DM model with gpu (#33609) 2024-09-26 16:40:44 -07:00
.gitignore docs: fix nested structure (#33114) 2024-07-28 15:38:38 -07:00
.gitmodules point tinygrad_repo to commaai/tinygrad (#33536) 2024-09-10 20:52:12 -07:00
.lfsconfig
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 jenkins: tmp disable test_time_to_onroad 2024-09-25 11:16:30 -07:00
LICENSE
README.md bounties.md moved to the project README 2024-08-04 15:51:12 -07:00
RELEASES.md Update RELEASES.md 2024-09-25 11:17:50 -07:00
SConstruct scons: cleanup cpppath (#33370) 2024-08-24 13:51:07 -07:00
SECURITY.md
codecov.yml ignore tools/ in codecov (#30711) 2023-12-12 23:59:38 -08:00
conftest.py manager: move to system/ (#32538) 2024-05-25 12:41:17 -07:00
launch_chffrplus.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00
launch_env.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00
launch_openpilot.sh fix bash + python3 shebangs (#33287) 2024-08-13 21:22:13 -07:00
mkdocs.yml docs: fix README.md (#33142) 2024-07-30 13:57:42 -07: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 agnos: move metadrive-simulator & rerun-sdk to a separate tools group (#33570) 2024-09-17 10:03:25 -07:00
rednose
teleoprtc webrtcd: webrtc streaming server (audio/video/cereal) (#30186) 2023-12-01 21:13:37 -08:00
tinygrad
uv.lock [bot] Update Python packages (#33626) 2024-09-24 13:56:49 -07: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.