* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
* Add Subaru FPv2 support
* Add Subaru Ascent and Impreza FPv2 values
* Remove 10 second delay, use UDS for Subaru FPv2
* before VW
* before hyundai
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 6b205347e5
Updated Python code with Python 3.6+ features:
- utf-8 encoding is now the default (PEP 3120)
- Replace list comprehensions by Generator Expressions (PEP 289)
- Replace yield loop by yield from (PEP 380)
- Remove the (object) subclass when defining a class
- Replace the IOError alias by OSError (PEP 3151)
- Define sets with curly braces {} instead of set()
- Remove "r" parameter from open function, which is default
Co-Authored-By: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-Authored-By: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <8762862+adeebshihadeh@users.noreply.github.com>
Co-authored-by: GregorKikelj <96022003+GregorKikelj@users.noreply.github.com>
old-commit-hash: 332f568a82
* Convert all text strings to f-strings
Reformats all the text from the old "%-formatted" and .format(...) format to the newer f-string format, as defined in PEP 498. This requires Python 3.6+.
Flynt 0.69 was used to reformat the strings. 120 f-strings were created in 51 files.
F-strings are in general more readable, concise and performant. See also: https://www.python.org/dev/peps/pep-0498/#rationale
* revert pyextra changes
* revert ublox.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: 55390d273f
* start to separate Avalon 2019+
* reverts #20824 (2020)...
and removes fw from a 2020 avalon
* revert 2020 fw from #20241
* revert 2021 fw from #19790
* bump opendbc, add smartDsu
* Add only removed fw from listed PRs above and from jryan's 2020
* bump opendbc to master
* comment out any non-original avalon fw
* new fw
* these 2016 (5 byte EPS_STATUS msg) Avalon fws are correct. comment out any 2019+ fw I haven't seen yet
* Add to release files
* these are good too
* nothing on 7e0 yet
* both have their engines on one address
* validated remaining fws! some from adeeb's, chris's, and kumar's PRs
* Add test route for Avalon 2019
* horrible
* Duplicate
* use nodsu dbc. Only difference is the addition of some signals that don't work, and max of BRAKE_PRESSURE is different
* Enablem 2019 Avalon test route
old-commit-hash: 07e4129edc
* Fuzzy match on 3+ ECUs
* reuse dict
* exclude some shared ecus to be sure
* show alert for fuzzy match
* use title case
* require community toggle
* refactor
* do both exact and fuzzy in test script
* update test script
* add fuzz test and lower matches to >= 2
* strip alert length
* sort mismatches
* add fw tests to test_startup
* bump cereal
old-commit-hash: e4f73fbda5
* FPv2 support for MQB
* Comment touch-ups
* Trim extra newlines
* Add Atlas and Tiguan
* Update submodule ref
* Revert "Add Atlas and Tiguan"
This reverts commit a47bc1bca7.
* Curb my enthusiasm
* Drop ABS/ESP from UDS fingerprinting for now
* Use multi-query to grab SW build ID and parameterization
* Resolve merge oops
* Resolve merge conflicts
* Make Ecu.fwdCamera optional for VW
* Where'd that come from?
* Propitiate process replay checks until ready for model dump
* FW values for Audi A3 Prestige
* Revert "Make Ecu.fwdCamera optional for VW"
This reverts commit 56852b99
* Don't try to FP fwdCamera for VW
* Remove FW comments
* Simplify RX offset handling
* Corrected scoping for MQB trans detection
* Add default response_offset
* Remove explicit list of MQB vehicles for now
* Deal with pylint warning
* Clarify and simplify comments
Co-authored-by: Comma Device <device@comma.ai>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: e7fc11c7fb
* hyundai fw query
* Change query
* this works
* That is not engine
* hyundai fw query
* Change query
* this works
* That is not engine
* Skip FW query in test_car_models
* Those routes don't fingerprint properly after speedup
* only send toyota queries to subaddresses
Co-authored-by: openpilot laptop <laptop@comma.ai>
old-commit-hash: bb8bbdd9ee
* add script to process logs
* Skip rav4 ESP
* Improve gathering script
* Update firmware versions for honda and toyota
* more firmware versions
* If FW query returns 1 candidate, use it
* Add FW versions
* Fix COROLLA_TSS2 two enigine addresses
* uncomment rav4h tss2
* add progress bar to test script
* Batch with more ecu versions
old-commit-hash: 356f353489