Skip to content

NotAutopilot/openpilot

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16,915 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NotAutopilot

Self driving for pre-Autopilot Tesla Model S.
Lane keeping, adaptive cruise, and driver monitoring for the 25,000+ pre-AP vehicles Tesla left behind.

Install on your comma 3X: https://installer.comma.ai/NotAutopilot/openpilot/nap-release

License: MIT


What is NotAutopilot?

NotAutopilot (NAP) is a fork of comma.ai's openpilot that brings driver assistance to 2012–2014 pre-Autopilot Tesla Model S vehicles. These cars shipped without forward-facing cameras, radar, or any driver assistance — NAP adds all of it.

Built on the foundation of the Tinkla project (which first proved openpilot could work on pre-AP Teslas) and xnor-tech's openpilot (which added working AP1 Model S support), NAP extends support to pre-Autopilot vehicles with a standalone safety model, Bosch radar integration, and Comma Pedal longitudinal control.

Features

  • Lateral control — Steering via EPAS with full panda safety validation
  • Longitudinal control — Comma Pedal interceptor with zero-torque learning, smooth engagement, and three driving profiles (Aggressive, Standard, Chill)
  • Radar — Bosch radar support with GTW emulation for lead car detection and adaptive following
  • Driver monitoring — Stock openpilot driver monitoring camera
  • On-device settings — Full NAP settings panel for pedal calibration, radar configuration, EPAS firmware management, and tuning

Hardware Required

  1. 2012–2014 Tesla Model S (pre-Autopilot, no AP ECU)
  2. comma 3X (or comma 3)
  3. Tesla Model S HW1 harness
  4. Comma Pedal — for longitudinal (throttle/regen) control
  5. Bosch radar (optional) — for adaptive cruise with lead car following

Installation

On your comma device, enter this URL during setup or in Software settings under Custom Fork:

https://installer.comma.ai/NotAutopilot/openpilot/nap-release

Branches

Branch Install URL Description
nap-release NotAutopilot/openpilot/nap-release Recommended. Stable release for daily driving.
nap-staging Pre-release testing. Coming soon.
nap-alpha NotAutopilot/openpilot/nap-alpha Alpha builds for testers. May have rough edges.
nap-dev Active development. Expect things to break.

Lineage

comma.ai/openpilot
  └── sunnypilot/sunnypilot
        └── xnor-tech/openpilot (AP1 Model S support)
              └── NotAutopilot/openpilot (Pre-AP Model S support)

boggyver/openpilot (Tinkla — the original Pre-AP Tesla fork)
  └── inspiration, radar emulation, pedal architecture → NotAutopilot

Acknowledgments

NotAutopilot wouldn't exist without:

  • Boggyver and the Tinkla Project — First proved openpilot could work on pre-AP Teslas. The foundation everything is built on.
  • Lukas Loetkolben — Clean isolated safety model approach that inspired the SAFETY_TESLA_PREAP refactor.
  • xnor-tech — Working AP1/HW1-4 Tesla support in openpilot.
  • comma.ai — openpilot itself. The hard parts were already solved.
  • Johnmr1, SeriouslySerious, Pod042, 1FrostlySlime — Early testers who drove broken builds so others wouldn't have to.

Contributing

Pull requests are welcome against the nap-dev branch. See docs-nap/ for branch structure, build instructions, pre-push checklist, safety invariants, and the engagement flow.

User Data

By default, openpilot uploads driving data to comma servers. You can access your data through comma connect. Data collection can be disabled in settings.

Licensing

NotAutopilot is released under the MIT License. This repository includes original work as well as code derived from openpilot by comma.ai and the Tinkla project by boggyver, both released under the MIT license.

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.

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.

Any user of this software shall also indemnify and hold harmless the NotAutopilot project, its contributors, maintainers, and affiliates 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.

About

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

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Python 70.3%
  • C++ 21.6%
  • C 2.3%
  • Cap'n Proto 2.1%
  • Shell 1.5%
  • Jupyter Notebook 1.4%
  • Other 0.8%