From 446fb5f857311ffdedadecb37587822785c0f97e Mon Sep 17 00:00:00 2001 From: Rick Lan Date: Mon, 11 Jan 2021 15:52:31 +1000 Subject: [PATCH] =?UTF-8?q?*=20Fixed=20Honda=20display=20incorrect=20brake?= =?UTF-8?q?=20display.=20(Thanks=20to=20@=E6=B7=B1=E9=B2=B8=E5=B8=8C?= =?UTF-8?q?=E8=A5=BF)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOGS-DEV.md | 2 ++ CHANGELOGS-REL.md | 2 ++ CHANGELOGS.md | 10 ++++++++++ selfdrive/car/honda/interface.py | 2 +- 4 files changed, 15 insertions(+), 1 deletion(-) diff --git a/CHANGELOGS-DEV.md b/CHANGELOGS-DEV.md index 9966203c0..7779ac763 100644 --- a/CHANGELOGS-DEV.md +++ b/CHANGELOGS-DEV.md @@ -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 ======================== diff --git a/CHANGELOGS-REL.md b/CHANGELOGS-REL.md index ba50bb6f1..9eec0d289 100644 --- a/CHANGELOGS-REL.md +++ b/CHANGELOGS-REL.md @@ -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 ======================== diff --git a/CHANGELOGS.md b/CHANGELOGS.md index 54448007c..300984d98 100644 --- a/CHANGELOGS.md +++ b/CHANGELOGS.md @@ -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. diff --git a/selfdrive/car/honda/interface.py b/selfdrive/car/honda/interface.py index 0d2d46650..abe47980c 100755 --- a/selfdrive/car/honda/interface.py +++ b/selfdrive/car/honda/interface.py @@ -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