open source driving agent
|Initial release||30 November 2016|
0.6.5 (15 October 2019)
|Written in||Python and C|
openpilot is an open source semi-automated driving system developed by comma.ai. openpilot operates as a replacement for OEM Advanced driver-assistance systems with the objective of improving visual perception and electromechanical actuator control. It allows users to modify their existing car with increased computing power, enhanced sensors, and continuously-updated driver assistance features that improve with user-submitted data.
comma.ai was founded in September 2015 by George Hotz . The first version of openpilot was revealed a couple months later in a Bloomberg article showing functionality on a 2016 Acura ILX. The video and article instigated a cease and desist letter from the California Department of Motor Vehicles, claiming comma.ai was testing a self driving car without a license.
openpilot was packaged into a small, shippable device called the "comma one". It was announced at TechCrunch Disrupt.  comma.ai received a letter from the NHTSA in October 2016 that informed Hotz that this product was legally required to comply with Federal Motor Vehicle Safety Standards. They requested information that would confirm such compliance. comma.ai responded in a tweet from Shenzhen, China announcing the cancellation of the comma one.
Openpilot uses machine learning trained with user driver data to determine the safest path on the road. This improves perception on roads without lane markings vs lane centering by tracking current lane lines.
Adaptive cruise control
Openpilot will maintain a safe follow distance from the vehicle. It is capable of driving in stop-and-go traffic with no user intervention. It uses OpenStreetMap's road curvature and speed limit data to allow slowing on sharp turns and setting desired speed to speed limit.
Openpilot recognizes the driver’s face and if the driver is distracted they are warned. If the driver is distracted for more than 6 seconds, openpilot decelerates to a stop, and alerts the user with an audible alert.
Openpilot receives over-the-air software updates with wifi or cellular access.
|Make||Model||Year (earliest)||Year (latest)|
Development is supported by a large open source community centered around Discord and GitHub.
comma.ai maintains the openpilot codebase and releases, and there is a growing community that maintains various forks of openpilot. These forks consist of experimental features such as Automatic Lane Change.
Pre-Autopilot Tesla models have been retrofitted with openpilot through a community fork. Chrysler and Jeep have also gained support through community contributions. Custom steering algorithms have also become popular for more refined actuation. 
There are over 2,300 forks of the openpilot GitHub repository .
- "NHTSA Special Order".
- "George Hotz is giving away the code behind his self-driving car project". Retrieved May 13, 2017.
- "OpenPilot Github Site".
- "comma ai on Twitter: "Moving from Slack to Discord"". Twitter.com. Comma.ai, Inc. Retrieved 27 February 2019.