openpilot is an open source driving agent. Currently it performs the functions of Adaptive Cruise Control (ACC) and Lane Keeping Assist System (LKAS) for Hondas, Acuras, Toyotas, and a Chevy. It's about on par with Tesla Autopilot and GM Super Cruise, and better than all other manufacturers.
The openpilot codebase has been written to be concise and enable rapid prototyping. We look forward to your contributions - improving real vehicle automation has never been easier.
openpilot is supported by comma.ai.
We have a Twitter you should follow.
Also, we have a 3500+ person community on slack.
Right now openpilot supports the EON Dashcam DevKit. We'd like to support other platforms as well.
Install openpilot on a neo device by entering https://openpilot.comma.ai
during NEOS setup.
Make | Model | Supported Package | Lateral | Longitudinal | No Accel Below | No Steer Below |
---|---|---|---|---|---|---|
Acura | ILX 2016 | AcuraWatch Plus | Yes | Yes | 25mph* | 25mph |
Acura | ILX 2017 | AcuraWatch Plus | Yes | Yes | 25mph* | 25mph |
Acura | RDX 2018 | AcuraWatch Plus | Yes | Yes | 25mph* | 12mph |
GM | Volt 2017 | Driver Confidence II | Yes | Yes | 0mph | 7mph |
GM | Volt 2018 | Driver Confidence II | Yes | Yes | 0mph | 7mph |
Honda | Accord 2018 | All | Yes | Stock | 0mph | 3mph |
Honda | Civic 2016 | Honda Sensing | Yes | Yes | 0mph | 12mph |
Honda | Civic 2017 | Honda Sensing | Yes | Yes | 0mph | 12mph |
Honda | Civic 2017 (Hatch) | Honda Sensing | Yes | Stock | 0mph | 12mph |
Honda | Civic 2018 | Honda Sensing | Yes | Yes | 0mph | 12mph |
Honda | CR-V 2015 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | CR-V 2016 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | CR-V 2017 | Honda Sensing | Yes | Stock | 0mph | 12mph |
Honda | CR-V 2018 | Honda Sensing | Yes | Stock | 0mph | 12mph |
Honda | Odyssey 2017 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | Odyssey 2018 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | Pilot 2017 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | Pilot 2018 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | Ridgeline 2017 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Honda | Ridgeline 2018 | Honda Sensing | Yes | Yes | 25mph* | 12mph |
Lexus | RX Hybrid 2017 | All | Yes | Yes | 0mph | 0mph |
Lexus | RX Hybrid 2018 | All | Yes | Yes | 0mph | 0mph |
Toyota | Corolla 2017 | All | Yes | Yes | 20mph | 0mph |
Toyota | Corolla 2018 | All | Yes | Yes | 20mph | 0mph |
Toyota | Prius 2016 | TSS-P | Yes | Yes | 0mph | 0mph |
Toyota | Prius 2017 | All | Yes | Yes | 0mph | 0mph |
Toyota | Prius 2018 | All | Yes | Yes | 0mph | 0mph |
Toyota | Prius Prime 2017 | All | Yes | Yes | 0mph | 0mph |
Toyota | Prius Prime 2018 | All | Yes | Yes | 0mph | 0mph |
Toyota | Rav4 2016 | TSS-P | Yes | Yes | 20mph | 0mph |
Toyota | Rav4 2017 | All | Yes | Yes | 20mph | 0mph |
Toyota | Rav4 2018 | All | Yes | Yes | 20mph | 0mph |
Toyota | Rav4 Hybrid 2017 | All | Yes | Yes | 0mph | 0mph |
Toyota | Rav4 Hybrid 2018 | All | Yes | Yes | 0mph | 0mph |
*Comma Pedal is used to provide stop-and-go capability to some of the openpilot-supported cars that don't currently support stop-and-go. Here is how to build a Comma Pedal. NOTE: The Comma Pedal is not officially supported by comma.ai
Make | Model | Supported Package | Lateral | Longitudinal | No Accel Below | No Steer Below |
---|---|---|---|---|---|---|
Tesla | Model S 2012 | All | Yes | Not yet | Not applicable | 0mph |
Tesla | Model S 2013 | All | Yes | Not yet | Not applicable | 0mph |
*Community Maintained Cars are not confirmed by comma.ai to meet our safety model. Be extra cautious using them.
- All TSS-P Toyota with Steering Assist.
- 'Full Speed Range Dynamic Radar Cruise Control' is required to enable stop-and-go. Only the Prius, Camry and C-HR have this option.
- Even though the Tundra, Sequoia and the Land Cruiser have TSS-P, they don't have Steering Assist and are not supported.
- All LSS-P Lexus with Steering Assist or Lane Keep Assist.
- 'All-Speed Range Dynamic Radar Cruise Control' is required to enable stop-and-go. Only the GS, GSH, F, RX, RXH, LX, NX, NXH, LC, LCH, LS, LSH have this option.
- Even though the LX have TSS-P, it does not have Steering Assist and is not supported.
If your car has adaptive cruise control and lane keep assist, you are in luck. Using a panda and cabana, you can understand how to make your car drive by wire.
We've written a porting guide for Toyota that might help you after you have the basics figured out.
- BMW, Audi, Volvo, and Mercedes all use FlexRay and are unlikely to be supported any time soon.
- We put time into a Ford port, but the steering has a 10 second cutout limitation that makes it unusable.
- The 2016-2017 Honda Accord use a custom signaling protocol for steering that's unlikely to ever be upstreamed.
.
├── apk # The apk files used for the UI
├── cereal # The messaging spec used for all logs on EON
├── common # Library like functionality we've developed here
├── installer/updater # Manages auto-updates of openpilot
├── opendbc # Files showing how to interpret data from cars
├── panda # Code used to communicate on CAN and LIN
├── phonelibs # Libraries used on EON
├── pyextra # Libraries used on EON
└── selfdrive # Code needed to drive the car
├── assets # Fonts and images for UI
├── boardd # Daemon to talk to the board
├── can # Helpers for parsing CAN messages
├── car # Car specific code to read states and control actuators
├── common # Shared C/C++ code for the daemons
├── controls # Perception, planning and controls
├── debug # Tools to help you debug and do car ports
├── locationd # Soon to be home of precise location
├── logcatd # Android logcat as a service
├── loggerd # Logger and uploader of car data
├── proclogd # Logs information from proc
├── sensord # IMU / GPS interface code
├── test # Car simulator running code through virtual maneuvers
├── ui # The UI
└── visiond # Embedded vision pipeline
To understand how the services interact, see selfdrive/service_list.yaml
By default openpilot creates an account and includes a client for chffr, our dashcam app. We use your data to train better models and improve openpilot for everyone.
It's open source software, so you are free to disable it if you wish.
It logs the road facing camera, CAN, GPS, IMU, magnetometer, thermal sensors, crashes, and operating system logs. The user facing camera is only logged if you explicitly opt-in in settings. It does not log the microphone.
By using it, 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.ai. By accepting this agreement, you grant an irrevocable, perpetual, worldwide right to comma.ai for the use of this data.
There is rudimentary infrastructure to run a basic simulation and generate a report of openpilot's behavior in different scenarios.
# Requires working docker
./run_docker_tests.sh
The resulting plots are displayed in selfdrive/test/tests/plant/out/longitudinal/index.html
More extensive testing infrastructure and simulation environments are coming soon.
We welcome both pull requests and issues on github. Bug fixes and new car support encouraged.
Want to get paid to work on openpilot? comma.ai is hiring
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.