From a9e918dc351d24f1b7c8a05c7ec402e057a0e09a Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Tue, 30 Jan 2024 02:05:16 -0800 Subject: [PATCH] these are exactly the same (with ordering differences) --- selfdrive/car/fw_versions.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/selfdrive/car/fw_versions.py b/selfdrive/car/fw_versions.py index bbe0f1da65..4b955aa979 100755 --- a/selfdrive/car/fw_versions.py +++ b/selfdrive/car/fw_versions.py @@ -193,6 +193,11 @@ def get_present_ecus(logcan, sendcan, num_pandas=1) -> Set[EcuAddrBusType]: for obd_multiplexing in queries: queries[obd_multiplexing].insert(0, parallel_queries[obd_multiplexing]) + print(f'{queries=}') + print(f'{responses=}') + print() + return + ecu_responses = set() for obd_multiplexing in queries: set_obd_multiplexing(params, obd_multiplexing) @@ -206,6 +211,11 @@ def get_brand_ecu_matches(ecu_rx_addrs): brand_addrs = {brand: config.get_all_ecus(VERSIONS[brand]) for brand, config in FW_QUERY_CONFIGS.items()} + + print(f'{brand_addrs=}') + print() + return + brand_matches = {brand: set() for brand, _, _ in REQUESTS} brand_rx_offsets = {(brand, r.rx_offset) for brand, _, r in REQUESTS} @@ -283,6 +293,10 @@ def get_fw_versions(logcan, sendcan, query_brand=None, extra=None, timeout=0.1, addrs.append([a]) addrs.insert(0, parallel_addrs) + print(f'{ecu_types=}') + print(f'{addrs=}') + print() + return # Get versions and build capnp list to put into CarParams car_fw = []