-
Notifications
You must be signed in to change notification settings - Fork 9.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Honda Pilot 2017 Port (#161) #191
Conversation
* Update README.md * Update fingerprints.py * Update carstate.py * Update hondacan.py * Update interface.py * Update interface.py * Update interface.py * Update README.md * Update README.md * Update README.md * Update fingerprints.py * Update carstate.py * Update hondacan.py * Update interface.py * Update carstate.py * Update hondacan.py * Update README.md * Update fingerprints.py * Update carstate.py * Update carstate.py * Update carstate.py * Update hondacan.py * Update interface.py * Update carstate.py * Update carstate.py * Update Pilot Fingerprint * Update fingerprints.py * Give pilot its own definition and not use ILX * add pilot argument * Add Pilot interface * Add pilot argument * Update interface.py * Parse Different gear on pilot * Add steer max * Fixed duplication of steer max value * Adjust PID's for steering * Update carcontroller.py * Change Steer Ratio and wheelbase * Update Steer fault values Steer fault value of 3, does not seem to effect anything * Update Kp,Ki Ratio * Update interface.py * Update readme for Pilot * add pilot * Update fingerprints.py * Update carstate.py * add signals * add signal
elif can_gear_shifter == 0x20: | ||
return "drive" | ||
elif can_gear_shifter == 0x2: | ||
return "sport" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is a bug. This function will never return "sport" because at line 14 you are assuming that for all Hondas 0x02
is "reverse"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Will fix this in internal repo and it will be in next release. Currently, this bug doesn't result in unexpected behaviors as both S and R don't allow OP engagement.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you guys add support to "sport" mode 🙏? Stock ACC work on sport mode.
I have this line patched to return "drive" so OP can drive in sport mode.
Or maybe just do what I'm doing and return "drive" instead of "sport" for all other cars. If you'd like I can open a PR for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@mcampa , the rational behind not allowing OP in Sport mode is that it might require a re-tuning, since the car controls might respond differently. Not sure if that's even true actually...
To match Panda repo.
Dibs on SAFETY_GM numerical value
Safety Reference for Honda Bosch
Consolidated my fingerprint and removed duplicates and ordered the fingerprint for the RAV4H. Double Checked.
* Interpolate ki/kp for steering PID loop Very much needed for the Volt port: car ping-pongs with low kp on high speeeds, and the loop is unstable with high kp on low speeds. Also, removes "number or array?" logic from PIController, now that all the callers use interpolation ofr ki/kp. * Pass speed to steering PID loop for ki/kp interpolation * Remove unused numbers import
Will be merged in next release |
* Add highway speed braking profiles * Fix CS.vEgo to v_ego * Add highway speed braking profiles
c0eba096b remove obsolete Subaru dbc file f7bce9ee0 Fixes to vw dbc adb672657 Added VW comment about ignition bit c51631617 Fixes and new message for VW MQB, fix for Accord Touring (#193) a09bf725e fixed to luxgen dbc file f00f6289a Create luxgen_s5_2014.dbc (#101) 024612b20 Fix steer angle factor for toyota 7311ee70e Lexus is adjustment (#192) f04ce577e Updates for Volkswagen support (#191) git-subtree-dir: opendbc git-subtree-split: c0eba096bc74033ea54abfd56406b5af3108727c
fix and update
Update README.md
Update fingerprints.py
Update carstate.py
Update hondacan.py
Update interface.py
Update interface.py
Update interface.py
Update README.md
Update README.md
Update README.md
Update fingerprints.py
Update carstate.py
Update hondacan.py
Update interface.py
Update carstate.py
Update hondacan.py
Update README.md
Update fingerprints.py
Update carstate.py
Update carstate.py
Update carstate.py
Update hondacan.py
Update interface.py
Update carstate.py
Update carstate.py
Update Pilot Fingerprint
Update fingerprints.py
Give pilot its own definition and not use ILX
add pilot argument
Add Pilot interface
Add pilot argument
Update interface.py
Parse Different gear on pilot
Add steer max
Fixed duplication of steer max value
Adjust PID's for steering
Update carcontroller.py
Change Steer Ratio and wheelbase
Update Steer fault values
Steer fault value of 3, does not seem to effect anything
Update Kp,Ki Ratio
Update interface.py
Update readme for Pilot
add pilot
Update fingerprints.py
Update carstate.py
add signals
add signal