GithubHelp home page GithubHelp logo

lukamesec / openpilot Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arne182/arnepilot

0.0 1.0 1.0 867.83 MB

open source driving agent with aditions. https://www.patreon.com/arneschwarck

License: MIT License

Makefile 0.06% Python 4.88% Cap'n Proto 0.16% Shell 0.06% C 43.09% C++ 51.35% Assembly 0.11% NSIS 0.02% Dockerfile 0.02% CMake 0.06% Objective-C 0.18% Groovy 0.01% QMake 0.01%

openpilot's Introduction

This README describes the custom features build by me (Arne Schwarck) on top of openpilot of comma.ai. This fork is optimized for the Toyota RAV4 Hybrid 2016 and for driving in Germany but also works with other cars and in other countries. If you would like to support the developement on this project feel free to https://www.patreon.com/arneschwarck

  • TODO describe which other cars and countries are known

For a demo of this version of openpilot check the video below: demo of openpilot with this branch

Installation

cd /data; rm -rf openpilot; git clone https://github.com/arne182/openpilot; cd openpilot; git checkout release4; reboot

Panda flashing

To get this branch to work, it is required to flash your Panda because:

  • changing acceleration limits and
  • adapting lane departure warning where it gives you a slight push back into the middle of the lane without needing to be engaged
  • The Panda version is also changed and checked.
  • Run this command cd /data/openpilot/panda/board; make; reboot to manually flash the panda.

More info about Panda flashing can be found here.

Installating this fork

More info about how to install this fork can be found here.

Branches

release4: this is the default branch that is most up to date with the openpilot 0.7 release branch. Normally you should use this branch.

073-clean: this is my default testing branch. When I finishing testing/adding new structure, I'll merge this into the release4 branch.

release3: this is my old branch, that is compatible with openpilot 0.6.

release2: this is my old branch, that is compatible with openpilot 0.5.

Configuration

  • You can turn on or off some of the feature by editing op_edit.py. run the following command cd /data/openpilto; python op_edit.py

Todo

  • Auto Lane change from Boggyver on release2 and release3 branch.

  • Traffic light detection from Littlemountainman

  • Phantom: control open pilot via app like summon

  • Control 3 gas profiles with sport eco and normal buttons on car

  • Dynamic gas and distance profiles.

Features

  • Braking:
    • by angle(carstate),
    • by predicted angle in 2.5s(laneplanner),
    • by model(commaai),
    • acceleration measured by steering angle,
    • by curvature (mapd),
    • by mapped sign(stop, yield, roundabouts, bump, hump, traffic light, speed sign, road attribute)
  • No disengage for gas, only longitudinal disengage for brake, tire slip or cancel
  • Only disengage on main off and on brake at low speed
  • Reacting Toyota tssp higher acceleration and braking limits.
  • Speed sign reading
  • Stock Toyota ldw steering assist
  • Cruise set speed available down to 7 kph
  • Smooth longitudinal controller also at low speeds
  • No disengage for seat belt remove and door opened. Practical for when stopping and then someone opens a door so that the car does not drive into the lead
  • No fingerprint compatibility problems. A completely different way to combine and split Fingerprints so that they always work I.e. comma is not supporting rav4h 2019 because of this Fingerprint method. Mine is better
  • Custom events and capnp structure so that comma is happy with the drives from my fork
  • Forward collision warning actually brakes for you.
  • Blind Spot Monitoring for all of the toyota which will be added to control ALCA. For right now it is always on. It will flash rapidly when stopped and if the object is detected.
  • Ability to ruduce or Increase curvature Factor from op_edit.py (python /data/openpilot/op_edit.py) It will also works with eco and sport mode. If using eco mode then it will start breaking early (350 m before) if using sport mode it will slow down little late (150 m).
  • Ability to change the SpeedLimit Offset directly from APK. It is based in percentages. For Example, if -1% at 60mph, it will be approx. 59.4mph, -10% is roughly 54mph etc. (Thank you eFini for the help)
  • Dashcam recording button added to the ui. ( it will save video's to the /data/media/0/video)
  • GPS Accurecy on the Dev UI.
  • Live speedlimit_offset in op_tune.py
  • If the model detect's cut in it will draw two different chevron to show the user that it see's both of the car.

Licensing

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.


openpilot's People

Contributors

arne182 avatar rav4kumar avatar rbiasini avatar energee avatar pd0wm avatar geohot avatar vntarasov avatar dek3rr avatar legonigel avatar efinilan avatar sshane avatar erichmoraga avatar csouers avatar adhintz avatar jfrux avatar wocsor avatar jeankalud avatar vanillagorillaa avatar illumin8i avatar espes avatar njbrown09 avatar diamondman avatar gernby avatar emmertex avatar heidecjj avatar neongalaxy75 avatar zwx1616 avatar tk211x avatar themutley avatar martinl avatar

Watchers

James Cloos avatar

Forkers

zhan92

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.