From 096931c5814bc78f23bb2b40044b20cda6405370 Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 29 Oct 2024 22:14:29 -0700 Subject: [PATCH] clean up --- opendbc/car/car.capnp | 2 -- opendbc/car/ford/interface.py | 1 - opendbc/car/ford/radar_interface.py | 1 - 3 files changed, 4 deletions(-) diff --git a/opendbc/car/car.capnp b/opendbc/car/car.capnp index 0ee6607725..237ba2c26b 100644 --- a/opendbc/car/car.capnp +++ b/opendbc/car/car.capnp @@ -324,8 +324,6 @@ struct RadarData @0x888ad6581cf0aacb { # some radars flag measurements VS estimates measured @6 :Bool; - - flags2 @7 :Int32; # additional flags } # deprecated diff --git a/opendbc/car/ford/interface.py b/opendbc/car/ford/interface.py index 5be3e71b1c..0c3cc1d44f 100644 --- a/opendbc/car/ford/interface.py +++ b/opendbc/car/ford/interface.py @@ -14,7 +14,6 @@ def _get_params(ret: structs.CarParams, candidate, fingerprint, car_fw, experime ret.carName = "ford" ret.dashcamOnly = bool(ret.flags & FordFlags.CANFD) - ret.radarUnavailable = False ret.steerControlType = structs.CarParams.SteerControlType.angle ret.steerActuatorDelay = 0.2 ret.steerLimitTimer = 1.0 diff --git a/opendbc/car/ford/radar_interface.py b/opendbc/car/ford/radar_interface.py index fd17764f55..8227713ad7 100644 --- a/opendbc/car/ford/radar_interface.py +++ b/opendbc/car/ford/radar_interface.py @@ -165,7 +165,6 @@ def _update_delphi_mrr(self): self.pts[i].dRel = dRel self.pts[i].yRel = yRel self.pts[i].vRel = distRate - self.pts[i].flags2 = scanIndex self.pts[i].measured = True