log responses from logging/debugging queries

pull/27345/head
Shane Smiskol 2 years ago
parent 5af5f02ba8
commit 3ec0f882b8
  1. 2
      cereal
  2. 2
      selfdrive/car/fw_query_definitions.py
  3. 1
      selfdrive/car/fw_versions.py
  4. 2
      selfdrive/car/honda/values.py

@ -1 +1 @@
Subproject commit fa3e77b7c8eee8752f19427b34adcb1ae5c70ec5
Subproject commit 9a74eed8f9f3b0694bd1ae44bcc31f604558b9f7

@ -57,6 +57,8 @@ class Request:
whitelist_ecus: List[int] = field(default_factory=list)
rx_offset: int = 0x8
bus: int = 1
# FW responses from these queries will not be used for fingerprinting
logging: bool = False
@dataclass

@ -276,6 +276,7 @@ def get_fw_versions(logcan, sendcan, query_brand=None, extra=None, timeout=0.1,
f.request = r.request
f.brand = brand
f.bus = r.bus
f.logging = r.logging
if sub_addr is not None:
f.subAddress = sub_addr

@ -171,12 +171,14 @@ FW_QUERY_CONFIG = FwQueryConfig(
[HONDA_VERSION_REQUEST],
[HONDA_VERSION_RESPONSE],
bus=1,
logging=True
),
# Query Nidec PT bus from camera for data collection
Request(
[StdQueries.UDS_VERSION_REQUEST],
[StdQueries.UDS_VERSION_RESPONSE],
bus=0,
logging=True
),
],
extra_ecus=[

Loading…
Cancel
Save