forked from commaai/openpilot
-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* updates to long_mpc * 066 updates (commaai#208) * add custom error messages to arne182.capnp * add explanations for some parameters in op_params, add parameter to specify custom following distance updates to dynamic_follow: - fix v_lead that should have been a_lead - made relative velocity mod more aggressive * make customTR a bit safer * perhaps this will work * remove travis detected message * start updating op_params, fix issue with lane_hugging mod where it wouldn't work with right hugging * revert custom alert message * testing new op_edit * testing new op_edit * testing new op_edit * testing new op_edit * testing new op_edit * testing new op_edit * testing new op_edit * testing new op_edit * testing new op_edit * add description! * add description! * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * testing op_edit * finish updating opEdit * final update * tuned dynamic follow relative velocity values to be slightly more aggressive at high rel vels fix error in get_cost function causing it to always return 0.1 above 5 mph * updates to long control, testing without dynamic gas * testing customTR * testing old cost function * revert to 066-clean * revert to 066-clean * use clip instead * updates to long_mpc * revert TR values * updates to long_mpc * revert new costs to how they were in 05 * refactor, remove unneeded variable * Create __init__.py * At least 2m needed to keep stopping for traffic lights * Refine one-way logic Now both roads need to be a one way and it will only choose it if there is one way in the right direction and the other is not. * fix for right hand turns not slowing down. * remove integrated value on release and not press of brake/gas * new lane hugging mod, seems to work a lot better! tuning for corolla steering, less seems to be better * time wasn't imported * tiny bit of refactor * Try the reset for pid after gas pedal is * treat brake pressed or gas pressed as LongCtrlState.off * I also want events * Fix hex value * add possibility for arne182 events * fix * fix arne capnp * return ret_arne182 * Try and combine events together. This could probably not work * think this will be better, we want to modify as little of comma's code as possible * test * test if messages from arne.capnp will be accepted by AM * test combined events * this should work * final changes to make custom alerts work only for toyotas for now * Stop data_send from crashing because of unknown events * Pass in sendevents to state_transition * try prepend * Append lists together * Thank goodness for syntax highlighting * fix right hand turns The negative value is already in steering angle which causes tan to be negative so we do not need an extra minus there. * Completely seperate events_arne182 and events * Add arne_ret to all interfaces (commaai#497) * add ret_arne to honda.interface * add ret_arne to chrysler.interface * add ret_arne to rest of interfaces * first version (commaai#499) * Add exception for gas and brake press for planner This could be the cause of the steering braking after manual gas and brake input * Try remove red screen and loud beep at low speed reverseGear Engagement * Add custom alert without chimeWarningRepeat * Use new custom reverse Warning without chime * fix create_event_arne * Update arne182.capnp * Fix
- Loading branch information
Showing
28 changed files
with
597 additions
and
215 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
# Welcome to arne fork of openpilot | ||
|
||
This README describes the custom features build by me (Arne Schwarck) on top of [openpilot](http://github.com/commaai/openpilot) of [comma.ai](http://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 | ||
- [ ] TODO describe which other cars and countries are known | ||
[![](https://i.imgur.com/xY2gdHv.png)](#) | ||
|
||
For a demo of this version of openpilot check the video below: | ||
[![demo of openpilot with this branch](https://img.youtube.com/vi/WKwSq8TPdpo/0.jpg)](https://www.youtube.com/watch?v=WKwSq8TPdpo) | ||
|
||
# Installation | ||
|
||
- [ ] TODO describe when Panda flashing is needed, what it does and a link to how this can be done | ||
- [ ] TODO add a link how to install a custom fork | ||
|
||
# Configuration | ||
|
||
- [ ] TODO describe how to change/add custom setting in json file | ||
|
||
# Branches | ||
|
||
- [ ] TODO described relevant branches | ||
|
||
# Features | ||
|
||
- [ ] TODO add other features | ||
|
||
- [ ] TODO check if these features are still relevant | ||
|
||
- [ ] TODO if applicable describe what config options are available | ||
|
||
## Automatic Lane Change Assist (ALC) | ||
Check your surroundings, signal in the direction you would like to change lanes, and let openpilot do the rest. You can choose between three ALC profiles, Wifey, Normal, and Mad Max. Each increasing in steering torque. | ||
|
||
|
||
## Stock Lane Keeping Assist (LKA) | ||
Arne has worked on recreating the lane keeping assist system present in your car for openpilot. It works with cruise control not engaged, attempting to steer to keep you inside your lane when it detects you are departing it. | ||
|
||
|
||
## [Dynamic Following Distance Profile](https://github.com/ShaneSmiskol/openpilot/blob/dynamic-follow/README.md) | ||
(outdated: on 0.5.8, `dynamic-follow` branch only): Three following distance (TR) profiles are available to select; 0.9 seconds, 2.7 seconds, and a custom tuned dynamic follow profile. The first two behave as your stock cruise control system does. Dynamic follow aims to provide a more natural feeling drive, adjusting your distance from the lead car based on your speed, your relative velocity with the lead car, and your acceleration (or deceleration). If the system detects the lead car decelerating, your car should start to brake sooner than a hard-coded TR value. Same with accelerating. | ||
|
||
|
||
## Slow Mode (SLO) | ||
For cars with longitudinal control down to 0 mph, you have the option to activate SLO mode which enables you to set your car's cruise control under your car's limit. For example, you could coast along at 15, 10, or even 5 mph. | ||
|
||
## Acceleration Profiles (GAS) | ||
You can select from three acceleration profiles with the GAS button. If your car accelerates too slowly for your liking, this will solve that. **Recently added**: dynamic acceleration profile for users with comma pedals. This should provide a smoother acceleration experience in stop and go traffic. | ||
|
||
## Select Vision Model (on 0.5.8, `dynamic-follow` branch only) | ||
You can select whether you would like to use the wiggly model or the normal vision model for path planning. Wiggly has more torque and can better guess the road curvature without lane lines, but it occasionally crashes or mispredicts the path. | ||
|
||
## EON and openpilot Stats | ||
With the on-screen UI, you can view stats about your EON such as its temperature, your grey panda's GPS accuracy, the lead car's relative velocity, its distance, and more. | ||
|
||
Warning from kegman: `WARNING: Do NOT depend on OP to stop the car in time if you are approaching an object which is not in motion in the same direction as your car. The radar will NOT detect the stationary object in time to slow your car enough to stop. If you are approaching a stopped vehicle you must disengage and brake as radars ignore objects that are not in motion.` | ||
|
||
|
||
# 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.** | ||
|
||
--- | ||
|
||
<img src="https://d1qb2nb5cznatu.cloudfront.net/startups/i/1061157-bc7e9bf3b246ece7322e6ffe653f6af8-medium_jpg.jpg?buster=1458363130" width="75"></img> <img src="https://cdn-images-1.medium.com/max/1600/1*C87EjxGeMPrkTuVRVWVg4w.png" width="225"></img> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.