openpilot README

The project's README from github.com/commaai/openpilot. As one markdown file: README.md.

openpilot

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

Docs · Roadmap · Contribute · Community · Try it on a comma four

Quick start: bash <(curl -fsSL openpilot.comma.ai)

openpilot tests License: MIT X Follow Discord

Using openpilot in a car

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

  1. Supported Device: a comma four, available at comma.ai/shop/comma-four.
  2. Software: The setup procedure for the comma four 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 300+ supported cars.
  4. Car Harness: You will also need a car harness to connect your comma four 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.

Branches

Running master and other branches directly is supported, but it's recommended to run one of the following prebuilt branches:

comma four branch comma 3X branch URL description
release-mici release-tizi openpilot.comma.ai This is openpilot's release branch.
release-mici-staging release-tizi-staging openpilot-test.comma.ai This is the staging branch for releases. Use it to get new releases slightly early.
nightly nightly openpilot-nightly.comma.ai This is the bleeding edge development branch. Do not expect this to be stable.
nightly-dev nightly-dev installer.comma.ai/commaai/nightly-dev Same as nightly, but includes experimental development features for some cars.

For chestnut, use the following installer URLs:

branch URL description
release-chestnut installer.comma.ai/commaai/release-chestnut This is openpilot's release branch.
release-chestnut-staging installer.comma.ai/commaai/release-chestnut-staging This is the staging branch for releases. Use it to get new releases slightly early.
nightly-chestnut installer.comma.ai/commaai/nightly-chestnut This is the bleeding edge development branch. Do not expect this to be stable.
nightly-chestnut-dev installer.comma.ai/commaai/nightly-chestnut-dev Same as nightly, but includes experimental development features for some cars.

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

MIT Licensed

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 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, and users can disable data collection if they wish.

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

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.

openpilot (commaai/openpilot)

Searching Database…

63.9K ·GitHub
Что это такое?openpilot — это операционная система для робототехники, которая сейчас обеспечивает работу системы помощи водителю более чем в 300 поддерживаемых автомобилях.
Это приложение, которое ставится на телефон, или отдельное железо?Работает оно на отдельном аппаратном устройстве под названием comma device (comma four), которое устанавливается в автомобиль, а не на телефон.
Как запустить openpilot в своей машине?Купите comma four, прошейте его через установщик openpilot.comma.ai, чтобы получить сборку релиза, убедитесь, что ваш автомобиль есть в списке из более чем 300 поддерживаемых моделей, и установите автомобильный жгут (car harness), чтобы подключить устройство к проводке автомобиля.
Что именно нужно, прежде чем я смогу этим пользоваться?Устройство comma four, поддерживаемый автомобиль и автомобильный жгут (car harness) для подключения устройства к системам этого автомобиля. Все четыре вещи нужны одновременно.
Это законченный продукт, готовый к массовому использованию?Нет. В README прямо сказано, что это исследовательское ПО альфа-качества, а не продукт, и пользователи сами отвечают за соблюдение местных законов при его использовании.
Что происходит с данными, которые собираются о моей поездке?По умолчанию openpilot отправляет данные о поездке (камеры, направленные на дорогу, CAN, GPS, IMU, магнитометр, тепловые датчики, данные о авариях, системные логи) на серверы comma для обучения и улучшения моделей. Камера и микрофон, направленные на водителя, записываются только если вы сами на это согласились. Сбор данных можно отключить, так как это открытый код.
Какую ветку мне действительно стоит запускать?Для стабильности используйте ветку релиза (release-mici для comma four, release-tizi для comma 3X). Ветка nightly содержит самые свежие сборки для разработки, а nightly-dev — если хотите экспериментальные функции для некоторых автомобилей. Все они собраны заранее и устанавливаются по URL.
Зачем код, критичный для безопасности, вынесен в отдельный компонент panda?panda реализует модель безопасности на C и имеет собственные тесты с программной и аппаратной обвязкой (software-in-the-loop и hardware-in-the-loop). Это изолирует критичную логику безопасности торможения и руления от остального кода openpilot на Python.
Можно ли запустить openpilot на железе, отличном от устройства comma?Да, но в README отмечено, что это не работает по принципу «подключил и поехал», как официальный comma four, и настройку придётся делать самостоятельно.
Насколько вообще тестируется модель безопасности?openpilot следует рекомендациям ISO 26262, на каждом коммите запускаются программные тесты (software-in-the-loop). Внутри comma маршруты непрерывно воспроизводятся на стойке из 10 устройств comma с помощью набора тестов Jenkins с аппаратной обвязкой (hardware-in-the-loop).
Creator
commaai
Size
2.9 GB
Stars
63.9K
Age
9y
Commits · 90 Days