-
Notifications
You must be signed in to change notification settings - Fork 273
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
quick fix for NIDEC #188
base: deprecated-beta2
Are you sure you want to change the base?
quick fix for NIDEC #188
Conversation
NIDECs also have ACC_ON bit in ACC_HUD signal
Please submit any pr to our development repo at https://github.com/dragonpilot-community/dp-devel. We will happily considerate it there. |
sure,will do |
selfdrive/car/honda/carcontroller.py
Outdated
@@ -74,6 +74,10 @@ def brake_pump_hysteresis(apply_brake, apply_brake_last, last_pump_ts, ts): | |||
if ts - last_pump_ts < 0.2 and apply_brake > 0: | |||
pump_on = True | |||
|
|||
# some hybrid nidecs like Odyssey hybrid and Clarity need to keep pump on during braking or they'll lose pressure | |||
if self.CP.carFingerprint == CAR.ODYSSEY_HYBRID: |
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.
this looks not necessary?
pump_on is always set to True for ODYSSEY_HYBRID AFTER the brake_pump_hysteresis?
@lijunhao731 我看到你在改新的 lp-dp-beta2 的代碼,你能夠幫我更新一下這個 PR 嗎?我看一下 ok 就後面整進去,謝啦! |
多谢Rick,这两天我整一下 |
已经更新啦,帮忙看一眼,谢啦 |
NIDECs also have ACC_ON bit in ACC_HUD signal