mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 21:42:05 +08:00
VW FPv2: reduce number of ECU queries (#24939)
* only send valid/needed queries * just do volkswagen * clean up * add parameter name clean up * add test for whitelist * rename * Update selfdrive/car/fw_versions.py Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com> * fix test * log response addresses * bump cereal * handle response pending with IsoTpParallelQuery * remove response pending stuff * temporarily disregard cache for easier testing * revert this Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com> old-commit-hash: 479b66c992fb2898418d866a1c61d993a9217d3d
This commit is contained in:
@@ -148,12 +148,14 @@ REQUESTS: List[Request] = [
|
||||
"volkswagen",
|
||||
[VOLKSWAGEN_VERSION_REQUEST_MULTI],
|
||||
[VOLKSWAGEN_VERSION_RESPONSE],
|
||||
whitelist_ecus=[Ecu.srs, Ecu.eps, Ecu.fwdRadar],
|
||||
rx_offset=VOLKSWAGEN_RX_OFFSET,
|
||||
),
|
||||
Request(
|
||||
"volkswagen",
|
||||
[VOLKSWAGEN_VERSION_REQUEST_MULTI],
|
||||
[VOLKSWAGEN_VERSION_RESPONSE],
|
||||
whitelist_ecus=[Ecu.engine, Ecu.transmission],
|
||||
),
|
||||
# Mazda
|
||||
Request(
|
||||
|
||||
Reference in New Issue
Block a user