Skip to content

A collection of patches for comma ai openpilot

License

Notifications You must be signed in to change notification settings

doliho/openpilot-patches

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

openpilot patches

A collection of patches for modifying official openpilot, it may works with other community forks but not guaranteed.

usage

  1. go to your openpilot folder

    cd /data/openpilot
  2. find your openpilot version, you will see something like this: #define COMMA_VERSION "0.5.8-release and your version will be 0.5.8

    cat selfdrive/common/version.h | grep COMMA_VERSION
  3. download and apply patch, repeat this step if you want to apply more patches, example format:

    curl https://raw.githubusercontent.com/eFiniLan/openpilot-patches/master/<version>/<patch file> | git apply -v

    real example:

    curl https://raw.githubusercontent.com/eFiniLan/openpilot-patches/master/0.5.8/shut_down_eon_after_90_mins_if_usb_disconnected.diff | git apply -v
  4. If successful, you should see messages like this:

    Checking patch selfdrive/thermald.py...
    Applied patch selfdrive/thermald.py cleanly.
  5. Now make openpilot compile, this is to avoid soft brick openpilot.

    make
  6. If something went wrong, reset your branch and restart again:

    git reset --hard
  7. now you can safely reboot your EON

    reboot

About

A collection of patches for comma ai openpilot

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published