Skip to content
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

Open
wants to merge 3 commits into
base: deprecated-beta2
Choose a base branch
from

Conversation

lijunhao731
Copy link

NIDECs also have ACC_ON bit in ACC_HUD signal

NIDECs also have ACC_ON bit in ACC_HUD signal
@Stupefacient
Copy link

Please submit any pr to our development repo at https://github.com/dragonpilot-community/dp-devel. We will happily considerate it there.

@lijunhao731
Copy link
Author

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

@@ -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:
Copy link
Member

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?

@eFiniLan
Copy link
Member

@lijunhao731 我看到你在改新的 lp-dp-beta2 的代碼,你能夠幫我更新一下這個 PR 嗎?我看一下 ok 就後面整進去,謝啦!

@lijunhao731
Copy link
Author

@lijunhao731 我看到你在改新的 lp-dp-beta2 的代碼,你能夠幫我更新一下這個 PR 嗎?我看一下 ok 就後面整進去,謝啦!

多谢Rick,这两天我整一下

@lijunhao731
Copy link
Author

@lijunhao731 我看到你在改新的 lp-dp-beta2 的代碼,你能夠幫我更新一下這個 PR 嗎?我看一下 ok 就後面整進去,謝啦!

已经更新啦,帮忙看一眼,谢啦

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants