From 4b26279177053e57a3f99be58b9c8e22456a0d42 Mon Sep 17 00:00:00 2001 From: Comma Device Date: Wed, 1 Apr 2026 11:27:33 +0800 Subject: [PATCH] fix d9 error count --- RELEASES.md | 4 ++++ opendbc_repo/opendbc/car/byd/tuning.py | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/RELEASES.md b/RELEASES.md index 695fb03..f32d55f 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1,3 +1,7 @@ +Carrot2-v9 (2026-03-16) +======================== +* 方向机允许出错次数改回3 + Carrot2-v9 (2026-03-16) ======================== * 添加模型选择 diff --git a/opendbc_repo/opendbc/car/byd/tuning.py b/opendbc_repo/opendbc/car/byd/tuning.py index 50a8a90..994c1df 100644 --- a/opendbc_repo/opendbc/car/byd/tuning.py +++ b/opendbc_repo/opendbc/car/byd/tuning.py @@ -34,5 +34,5 @@ class Tuning: DISABLE_EPS_TEMPORARY_FAULT = False DISABLE_EPS_PERMANENT_FAULT = False - EPS_ANGLE_EXCEED_WARNING_CNT = 100 - EPS_ANGLE_SPEED_WARNING_CNT = 100 + EPS_ANGLE_EXCEED_WARNING_CNT = 3 + EPS_ANGLE_SPEED_WARNING_CNT = 3