diff --git a/selfdrive/car/body/values.py b/selfdrive/car/body/values.py index 6e0d0ec596..46afa857aa 100644 --- a/selfdrive/car/body/values.py +++ b/selfdrive/car/body/values.py @@ -38,5 +38,4 @@ FW_QUERY_CONFIG = FwQueryConfig( ], ) - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/chrysler/values.py b/selfdrive/car/chrysler/values.py index 905e2e7270..7dcfa3749e 100644 --- a/selfdrive/car/chrysler/values.py +++ b/selfdrive/car/chrysler/values.py @@ -163,5 +163,4 @@ FW_QUERY_CONFIG = FwQueryConfig( ], ) - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/ford/values.py b/selfdrive/car/ford/values.py index 76f505fa9b..add40368be 100644 --- a/selfdrive/car/ford/values.py +++ b/selfdrive/car/ford/values.py @@ -209,5 +209,4 @@ FW_QUERY_CONFIG = FwQueryConfig( ], ) - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/gm/values.py b/selfdrive/car/gm/values.py index 17822e0c80..5401963ee6 100644 --- a/selfdrive/car/gm/values.py +++ b/selfdrive/car/gm/values.py @@ -247,5 +247,4 @@ CAMERA_ACC_CAR = {CAR.BOLT_EUV, CAR.SILVERADO, CAR.EQUINOX, CAR.TRAILBLAZER} STEER_THRESHOLD = 1.0 - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/hyundai/values.py b/selfdrive/car/hyundai/values.py index 29a72ba715..1ed84d9187 100644 --- a/selfdrive/car/hyundai/values.py +++ b/selfdrive/car/hyundai/values.py @@ -847,7 +847,6 @@ LEGACY_SAFETY_MODE_CAR = CAR.with_flags(HyundaiFlags.LEGACY) UNSUPPORTED_LONGITUDINAL_CAR = CAR.with_flags(HyundaiFlags.LEGACY) | CAR.with_flags(HyundaiFlags.UNSUPPORTED_LONGITUDINAL) - DBC = CAR.create_dbc_map() if __name__ == "__main__": diff --git a/selfdrive/car/mazda/values.py b/selfdrive/car/mazda/values.py index 20a3ae0ae1..b55690f39a 100644 --- a/selfdrive/car/mazda/values.py +++ b/selfdrive/car/mazda/values.py @@ -107,6 +107,4 @@ FW_QUERY_CONFIG = FwQueryConfig( ], ) - - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/mock/values.py b/selfdrive/car/mock/values.py index 7e399fab73..ddab599a93 100644 --- a/selfdrive/car/mock/values.py +++ b/selfdrive/car/mock/values.py @@ -1,7 +1,6 @@ from openpilot.selfdrive.car import CarSpecs, PlatformConfig, Platforms - class CAR(Platforms): MOCK = PlatformConfig( 'mock', @@ -9,6 +8,3 @@ class CAR(Platforms): CarSpecs(mass=1700, wheelbase=2.7, steerRatio=13), {} ) - - - diff --git a/selfdrive/car/nissan/values.py b/selfdrive/car/nissan/values.py index 8d33e0e705..c0ccb0febf 100644 --- a/selfdrive/car/nissan/values.py +++ b/selfdrive/car/nissan/values.py @@ -63,7 +63,6 @@ class CAR(Platforms): ) - DBC = CAR.create_dbc_map() # Default diagnostic session diff --git a/selfdrive/car/subaru/values.py b/selfdrive/car/subaru/values.py index acb60628b4..cc963404b7 100644 --- a/selfdrive/car/subaru/values.py +++ b/selfdrive/car/subaru/values.py @@ -265,6 +265,5 @@ FW_QUERY_CONFIG = FwQueryConfig( DBC = CAR.create_dbc_map() - if __name__ == "__main__": CAR.print_debug(SubaruFlags) diff --git a/selfdrive/car/tesla/values.py b/selfdrive/car/tesla/values.py index 43132970b0..ca3bb38a7a 100644 --- a/selfdrive/car/tesla/values.py +++ b/selfdrive/car/tesla/values.py @@ -98,5 +98,4 @@ class CarControllerParams: pass - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/toyota/values.py b/selfdrive/car/toyota/values.py index 048e8b1033..d9dc8b5eba 100644 --- a/selfdrive/car/toyota/values.py +++ b/selfdrive/car/toyota/values.py @@ -608,5 +608,4 @@ ANGLE_CONTROL_CAR = CAR.with_flags(ToyotaFlags.ANGLE_CONTROL) # no resume button press required NO_STOP_TIMER_CAR = CAR.with_flags(ToyotaFlags.NO_STOP_TIMER) - DBC = CAR.create_dbc_map() diff --git a/selfdrive/car/values.py b/selfdrive/car/values.py index 24119e2210..0c8249838b 100644 --- a/selfdrive/car/values.py +++ b/selfdrive/car/values.py @@ -18,7 +18,6 @@ BRANDS = [BODY, CHRYSLER, FORD, GM, HONDA, HYUNDAI, MAZDA, MOCK, NISSAN, SUBARU, PLATFORMS: dict[str, Platform] = {str(platform): platform for brand in BRANDS for platform in cast(list[Platform], brand)} - MapFunc = Callable[[Platform], Any] diff --git a/selfdrive/car/volkswagen/values.py b/selfdrive/car/volkswagen/values.py index 36c82abf03..a45ddf431f 100644 --- a/selfdrive/car/volkswagen/values.py +++ b/selfdrive/car/volkswagen/values.py @@ -416,5 +416,4 @@ FW_QUERY_CONFIG = FwQueryConfig( extra_ecus=[(Ecu.fwdCamera, 0x74f, None)], ) - DBC = CAR.create_dbc_map()