Skip to content

Commit

Permalink
Merge pull request #57 from arne182/075-clean
Browse files Browse the repository at this point in the history
latest
  • Loading branch information
rav4kumar authored Jun 16, 2020
2 parents 5b1c5c9 + 9c27781 commit 1a67228
Show file tree
Hide file tree
Showing 25 changed files with 945 additions and 366 deletions.
23 changes: 2 additions & 21 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -1,21 +1,2 @@
Choose one of the templates below:

# Fingerprint
This pull requests adds a fingerprint for <Make - Model - Year - Trim>.

This is an explorer link to a drive with the stock system enabled: ...

# Car support
This pull requests adds support for <Make - Model - Year - Trim>.

This is an explorer link to a drive with the stock system enabled: ...
This is an explorer link to a drive with openpilot system enabled: ...

# Feature
This pull requests adds feature X

## Description
Explain what the feature does

## Testing
Explain how the feature was tested. Either by the added unit tests, or what tests were performed while driving.
## discription
Please make a PR against the dev branch usually called something like 075-clean then remove this sentence and add a discription
Binary file added .media/op_edit.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This README describes the custom features build by me (Arne Schwarck) on top of
For a demo of this version of ArnePilot check the video below:
[![demo of ArnePilot with this branch](https://img.youtube.com/vi/WKwSq8TPdpo/0.jpg)](https://www.youtube.com/playlist?list=PL3CGUyxys8DuTE1JTkdZwY93ejSfAGxyV)

Find me on Discord https://discord.gg/R5YtuVB
Find me on Discord https://discord.gg/Ebgn8Mr

# Installation
Put this URL in the custom URL field after uninstalling through the UI
Expand All @@ -14,7 +14,6 @@ or if you want to use the command line or https://github.com/jfrux/workbench
`cd /data; rm -rf openpilot; git clone https://github.com/arne182/openpilot; git checkout release4; reboot`

still have trouble ?? More info about how to install this fork can be found [here](https://medium.com/@jfrux/comma-eon-installing-a-fork-of-openpilot-5c2b5c134b4b).

## Panda flashing

This is done automatically otherwise run (pkill -f boardd; cd /data/openpilot/panda/board; make; reboot) to change the following:
Expand All @@ -23,6 +22,9 @@ This is done automatically otherwise run (pkill -f boardd; cd /data/openpilot/pa
- adapting lane departure warning where it gives you a slight push back into the middle of the lane without needing to be engaged (not yet complete)
- The Panda version is also changed and checked.

## opEdit Demo
<img src=".media/op_edit.gif?raw=true" width="1000">

## Branches

`release4`: this is the default branch that is most up to date with the ArnePilot 0.7 release branch. Normally you should use this branch because it has been tested and verified that it is fully working without any issues.
Expand Down Expand Up @@ -72,15 +74,15 @@ This is done automatically otherwise run (pkill -f boardd; cd /data/openpilot/pa
- 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.
- Control 3 gas profiles with sport eco and normal buttons on car ( only for toyota).
- [Dynamic distance profiles](https://github.com/ShaneSmiskol/ArnePilot/tree/stock_additions-devel#dynamic-follow-3-profiles) from Shane (In other word three different dynamic profiles: `close`, `normal`, `far`). Profile can be adjusted from either `python /data/ArnePilot/op_edit.py` or use live tuner to change the profile live (can take up to 4 sec to for new profile to be adjusted) `python /data/ArnePilot/op_tune.py`.
- [Dynamic distance profiles](https://github.com/ShaneSmiskol/ArnePilot/tree/stock_additions-devel#dynamic-follow-3-profiles) from Shane (In other word three different dynamic profiles: `close`, `normal`, `far`, `auto`). Profile can be adjusted from either `python /data/ArnePilot/op_edit.py` or use live tuner to change the profile live (can take up to 4 sec to for new profile to be adjusted) `python /data/ArnePilot/op_tune.py`.
- Dynamic Follow Button: Now you can change the Dynamic Follow Distance just by tapping the blue button on the bottom right.
- [Dynamic Gas:](https://github.com/ShaneSmiskol/ArnePilot/tree/stock_additions-devel#dynamic-gas)
This aims to provide a smoother driving experience in stop and go traffic (under 20 mph) by modifying the maximum gas that can be applied based on your current velocity and the relative velocity of the lead car. It'll also of course increase the maximum gas when the lead is accelerating to help you get up to speed quicker than stock. And smoother; this eliminates the jerking you get from stock ArnePilot with comma pedal. It tries to coast if the lead is only moving slowly, it doesn't use maximum gas as soon as the lead inches forward :). When you are above 20 mph, relative velocity and the following distance is taken into consideration.
- ALC w/ BSM : (Automatic Lane Change with Blind spot monitoring) you can now change lane automataclly. It will wait 1 sec before applying ALC. If the BSM detacts objects it will stop the lane change and will take you back in your original lane. Also, it will notify the user on the eon
- Added ability to turn on and off RSA at certain speed. `python /data/ArnePilot/op_edit.py`
- Easily view the EON's IP Address.Just look at the sidebar right under wifi singal strength's.
- Battery has percentage instead of the battery icon.
- [WIP] Traffic light detection from Littlemountainman, shane and brain. To get accurate result make sure your daily commute/area is mapped on [OSM](openstreetmap.org) with right direaction. [For example](https://imgur.com/purBVpd)... [still dont get it watch the video by mageymoo1](https://youtu.be/7dPaF0tDb7Y).
- [WIP] Traffic light detection from Littlemountainman, shane and brain. To get accurate result make sure your daily commute/area is mapped on [OSM](openstreetmap.org) with right direaction. [For example](https://imgur.com/purBVpd)... [still dont get it watch the video by mageymoo1](https://youtu.be/7dPaF0tDb7Y).
- We also have enabled commas e2e model which will only work between 11 MPH to 29 MPH. Commas e2e model helps slows down for traffic light, stop sign, etc. e2e, traffic model and mapd all works together to help you stop at the light. All of this can be turned off via `/data/openpilot/op_edit.py`.
- Loggin has been Disabled by default on this fork. If you would like to record your drive edit the [following line](https://github.com/arne182/ArnePilot/blob/4d66df96a91c9c13491a3d78b9c1c2a9e848724a/selfdrive/manager.py#L480)
- Smart speed (smart speed is essentially speedlimit which eon will not go over unless you have set custom offset) can be overridden by pressing gas above the current smart speed.
Expand Down
6 changes: 6 additions & 0 deletions cereal/arne182.capnp
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,11 @@ struct DynamicFollowButton {
status @0 :UInt16;
}

struct DynamicFollowData {
mpcTR @0 :Float32;
profilePred @1 :UInt16;
}

struct IPAddress {
ipAddr @0 :Text; # dragonpilot
}
Expand Down Expand Up @@ -177,5 +182,6 @@ struct EventArne182 {
ipAddress @10 :IPAddress;
trafficModelRaw @11: TrafficModelRaw;
trafficModelEvent @12: TrafficModelEvent;
dynamicFollowData @13 :DynamicFollowData;
}
}
1 change: 1 addition & 0 deletions cereal/service_list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ smiskolData: [8216, false, 20.]
dynamicFollowButton: [8217, false, 0.]
trafficModelEvent: [8218, false, 5.]
trafficModelRaw: [8219, false, 5.]
dynamicFollowData: [8220, false, 20.]

# 8080 is reserved for slave testing daemon
# 8762 is reserved for logserver
Expand Down
Loading

0 comments on commit 1a67228

Please sign in to comment.