* Fixed Honda display incorrect brake display. (Thanks to @深鲸希西)

This commit is contained in:
Rick Lan
2021-01-11 15:52:31 +10:00
parent e55185a7bb
commit 446fb5f857
4 changed files with 15 additions and 1 deletions
+2
View File
@@ -2,6 +2,8 @@ dragonpilot 0.8.1
========================
* 基於最新 openpilot 0.8.1 devel.
* Based on latest openpilot 0.8.1 devel.
* 加入行車記錄按鈕。(感謝 @toyboxZ 提供)
* Added REC screen button. (Thanks to @toyboxZ)
dragonpilot 0.8.0
========================
+2
View File
@@ -2,6 +2,8 @@ dragonpilot 0.8.1
========================
* 基於最新 openpilot 0.8.1 devel.
* Based on latest openpilot 0.8.1 devel.
* 加入行車記錄按鈕。(感謝 @toyboxZ 提供)
* Added REC screen button. (Thanks to @toyboxZ)
dragonpilot 0.8.0
========================
+10
View File
@@ -1,3 +1,13 @@
2021-01-11 (0.8.1.0)
========================
* 修正 honda 剎車錯誤顯示。(感謝 @深鲸希西 提供)
* Fixed Honda display incorrect brake display. (Thanks to @深鲸希西)
2021-01-02 (0.8.1.0)
========================
* 加入行車記錄按鈕。(感謝 @toyboxZ 提供)
* Added REC screen button. (Thanks to @toyboxZ)
2020-12-23 (0.8.1.0)
========================
* 基於最新 openpilot 0.8.1 devel.
+1 -1
View File
@@ -491,7 +491,7 @@ class CarInterface(CarInterfaceBase):
# FIXME: read sendcan for brakelights
brakelights_threshold = 0.02 if self.CS.CP.carFingerprint == CAR.CIVIC else 0.1
ret.brakeLights = bool(self.CS.brake_switch or
c.actuators.brake > brakelights_threshold)
(self.CP.openpilotLongitudinalControl and c.actuators.brake > brakelights_threshold))
# dp
ret.lkMode = self.CS.lkMode