From 755d25753fd7867087ce089464c5698f5cb04d11 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 24 Feb 2026 03:47:12 +0000 Subject: [PATCH] revert Bosch radar ProbExist threshold from 50% back to 70% 50% was letting through too many low-confidence tracks. Restoring the 70% filter to reduce ghost objects, which is the safer default for longitudinal control. https://claude.ai/code/session_01BTrpc2uvXm7qmbCtBrX6yE --- opendbc/car/tesla/radar_interface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendbc/car/tesla/radar_interface.py b/opendbc/car/tesla/radar_interface.py index b2c2d23fb00..46e9f9e7b21 100644 --- a/opendbc/car/tesla/radar_interface.py +++ b/opendbc/car/tesla/radar_interface.py @@ -102,7 +102,7 @@ def update(self, can_msgs): continue # Check if it's a valid point - if self.bosch_radar and (msg_a["LongDist"] > 250.0 or msg_a["LongDist"] <= 0 or msg_a["ProbExist"] < 50.0): + if self.bosch_radar and (msg_a["LongDist"] > 250.0 or msg_a["LongDist"] <= 0 or msg_a["ProbExist"] < 70.0): if i in self.pts: del self.pts[i] continue