Git Product home page Git Product logo

openpilot's Introduction

About this branch

With version 0.4.4, openpilot has made NEOs obsolete by flippening the screen thereby making EONs the only hardware that you can use openpilot on. While I totally support why they went that route, it is particularly difficult for people like me who wants to keep using existing NEO and not have the extra money to spend on an EON. Hence I decided to bring back my NEO to life by making some changes to the UI and replacing current visiond with the one that's last known to work.

To install this version, please point your NEOS setup to https://github.com/yugandhar91/openpilot.

Welcome to openpilot

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 and Toyotas. It's about on par with Tesla Autopilot at launch, 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.

Here are some videos of it running. And a really cool tutorial.

Hardware

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.

Supported Cars

  • Acura ILX 2016 with AcuraWatch Plus

    • Due to use of the cruise control for gas, it can only be enabled above 25 mph
  • Honda Civic 2016-2018 with Honda Sensing

    • Due to limitations in steering firmware, steering is disabled below 12 mph
    • Note that the hatchback model is not supported
  • Honda CR-V Touring 2015-2016

    • Can only be enabled above 25 mph
  • Honda Odyssey 2018 with Honda Sensing (alpha!)

    • Can only be enabled above 25 mph
  • Acura RDX 2018 with AcuraWatch Plus (alpha!)

    • Can only be enabled above 25 mph
  • Honda Pilot 2017 with Honda Sensing (alpha!)

    • Can only be enabled above 27 mph
  • Honda Ridgeline 2017 with Honda Sensing (alpha!)

    • Can only be enabled above 27 mph
  • Toyota RAV-4 2016+ non-hybrid with TSS-P

    • By default it uses stock Toyota ACC for longitudinal control
    • openpilot longitudinal control available after unplugging the Driving Support ECU and can be enabled above 20 mph
  • Toyota Prius 2017 (alpha!)

    • By default it uses stock Toyota ACC for longitudinal control
    • openpilot longitudinal control available after unplugging the Driving Support ECU
    • Lateral control needs improvements
  • Toyota RAV-4 2017 hybrid (alpha!)

    • By default it uses stock Toyota ACC for longitudinal control
    • openpilot longitudinal control available after unplugging the Driving Support ECU and can do stop and go
  • Toyota Corolla 2017 (alpha!)

    • By default it uses stock Toyota ACC for longitudinal control
    • openpilot longitudinal control available after unplugging the Driving Support ECU and can be enabled above 20 mph
  • Lexus RX 2017 hybrid (alpha!)

    • By default it uses stock Lexus ACC for longitudinal control
    • openpilot longitudinal control available after unplugging the Driving Support ECU

In Progress Cars

  • 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, GS, 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.

Community WIP Cars

Directory structure

  • cereal -- The messaging spec used for all logs on the phone
  • common -- Library like functionality we've developed here
  • opendbc -- Files showing how to interpret data from cars
  • panda -- Code used to communicate on CAN and LIN
  • phonelibs -- Libraries used on the phone
  • selfdrive -- Code needed to drive the car
    • assets -- Fonts for ui
    • boardd -- Daemon to talk to the board
    • car -- Code that talks to the car and implements CarInterface
    • common -- Shared C/C++ code for the daemons
    • controls -- Python controls (PID loops etc) for the car
    • debug -- Tools to help you debug and do car ports
    • logcatd -- Android logcat as a service
    • loggerd -- Logger and uploader of car data
    • proclogd -- Logs information from proc
    • sensord -- IMU / GPS interface code
    • test/plant -- 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

Testing on PC

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 results are written to selfdrive/test/plant/out/index.html

More extensive testing infrastructure and simulation environments are coming soon.

Adding Car Support

comma.ai offers bounties for adding additional car support.

CR-V Touring support came in through this program. Chevy Volt is close. Accord is close as well.

User Data / chffr Account / Crash Reporting

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. It does not log the user facing camera or 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.

Contributing

We welcome both pull requests and issues on github. See the TODO file for a list of good places to start.

Want to get paid to work on openpilot? comma.ai is hiring

Licensing

openpilot is released under the MIT license.

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.

openpilot's People

Contributors

geohot avatar energee avatar espes avatar diamondman avatar yugandhar91 avatar vanillagorillaa avatar heidecjj avatar jeankalud avatar vntarasov avatar johnnwvs avatar joeylao avatar erichmoraga avatar mullakhmetov avatar ingenieroariel avatar gregjhogan avatar mwkrieger avatar themutley avatar pd0wm avatar arne182 avatar reyescuba avatar pjlao307 avatar

Stargazers

 avatar Jordan Carlson avatar

Watchers

James Cloos avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.