* add mypy config matching precommit
* use local mypy, add files to config
* excludes too
* fix config
* pylint is sad now... did it get updated?
* fix typing hints
* ignore
* this should be a regexp
* mypy doesn't like Deque despite inheriting MutableSequence
* more excludes
* Revert "pylint is sad now... did it get updated?"
This reverts commit 250c632f18.
old-commit-hash: 4e310b807f
* change LSM6DS3TR(-c) gyroscope and accelerometer to interrupt
* add pthread for linking
* add interrupt collector thread to fetch in parallel to non interrupt based sensors
* change get_event interface to return true on successful read
* fetch sensor interrupts via gpiochip
* avoid sending empty messages (interrupt only, non interupt magn can leave a gap in the orphan block)
* add verifier script to sensor interrupts (sensor_data_to_hist.py)
* add/update sensord testsweet (test_sensord.py)
* add poll timed out check
* unexport interrupt gpio pins
* gpiochip on both edges, but skip falling edge if rising edge is detected, this is handled in the sensor as the status flag is checked if new data is availble
* add test to sensord to verify 100Hz interrupt frequency
* add sensor shutdown/low power mode functionality on sensord exit
* relax test, will be readded in the splitup PR
Co-authored-by: Kurt Nistelberger <kurt.nistelberger@gmail.com>
old-commit-hash: 84a3c355e5
* Added support for APA racks
APA steering racks use a different bit to represent whether the ECU should enable steering assist.
This change supports those APA steering racks.
* Static analysis fix
* Static analysis fix2
* Code cleanup
* Update selfdrive/debug/vw_mqb_config.py
* Apply suggestions from code review
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
old-commit-hash: fc3bdef891
* single longitudinal toggle for e2e and disable radar
* write disable radar param
* rename
* better param name
* clean that up
* update refs
* update translations
* not live for experimental
* write it out
* vanish
old-commit-hash: 655a64b603
Silence PytestCollectionWarning: cannot collect test class 'TestRoute' because it has a __new__ constructor (from: test_models.py)
old-commit-hash: 19810f2dcc
* Revert "FPv2: fingerprint on all FW combinations (#25204)"
This reverts commit c7e0622fa5bbf3ed8b000c86666f54f2b0a8c63d.
* Revert "Revert "FPv2: fingerprint on all FW combinations (#25204)""
This reverts commit bb68b7bc1c.
* For breaking, match only with current brand's FW
* Add comment for fuzzy matching
* fingerprint (online) only using FW from that brand
* test_fw_query_on_routes fingerprints like online
* extend match_fw_to_car to work for test_fw_query_on_routes
* Apply suggestions from code review
old-commit-hash: 45cfcfa3bb
* Exception for 2022 RAV4
* Exception for all stock long Toyota
Exception for all stock long Toyota
* fix exception
fix
fix
fix
old-commit-hash: 35338196ac
* should be all that's required
* try using rx_addr (should be the same)
* log bus
* bump cereal
* remove debugging
* bump cereal to master
* rm line
* add printing to offline debug script
old-commit-hash: 937013e488
* These cars have TSS-P standard
* temp
* debug close matching
* check everything
* clean up
* combine and use a dict
* programmatic
* revert
* clean up match_cars
* comment
* clean up
* clean up
* restore car changes
* test
* Revert "test"
This reverts commit e96f693681.
* we don't need this
* fix footnotes on model column
old-commit-hash: 4212aface7
* Try to fingerprint on all possible combinations
* build_fw_dict creates set dict, tries each fw version for addr, subaddr
* clean up
* static analysis
* comment
* fix comment
* revert changes to test_fw_query_on_routes
* remove comment
old-commit-hash: ee081f278b
* print docs diff
* revert car changes
* cause a diff
* temp so it works
* text diff
* tier inline is a bit too much
* comments
* fix
* use paths
* fix
* temp
* temp
* diff
* fix
* remove something
* more text diff
* Delete comment if outdated
* Smaller diff
* remove
* no diff
* Don't try to run on fork PRs
* cause some errors
* Fix
* Fix
* Doesn't support env in job if, only step if
* in case file was moved, don't throw error
* See if this does what I think it does
* See if this does what I think it does
* should work
* change something
* revert
* uncomment
* no comment
* this shouldn't fail
* rename to base
* Remove true
* Remove other true
old-commit-hash: aadaaabd54
* get_fw_versions returns all fw versions with request's brand
* keep track of everything received
* debug
* need to regen or write a hack in build_fw_dict
* to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
to be safe, still replace old responses within same brands (hyundai responds to two queries, can fix later)
* update test_fw_query_on_routes
* clean up
* better name
* slightly cleaner
* fix test_startup unit test
del
* fix imports
* fix test_fw_fingerprint
fix test_fw_fingerprint
fix
* fingerprint on all FW_VERSIONS, not just brands with requests
* support old routes in test_fw_query_on_routes
* regen and update refs
* similar function style to before
* better comment
* space
switch name
* try to exact match first
* useless else
* fix debug script
* simpler dictionary
* bump cereal to master
old-commit-hash: ea241bf3dc
* run test_models on route
* clean up a bit
clean up a bit
clean up a bit
* remove
remove
* make route positional
* fixes from merge
* not working as I expected
* finally working, easiest way seems to make a new subclass dynamically
* bring back routes
* remove comments
* revert skiptest
* fix subclass name
* car first
* this should be here...
* this should work
* comment
* pytest doesn't support dynamically loading with load_tests
* minimize test_models.py diff, and make new file for running on a route
* fix static analysis
* remove print
* clean up a tiny bit
* rename and make required
* auto detect car fingerprint if not given
* move to location that makes more sense
* Add ci argument for running route from routes.py
old-commit-hash: e5b189416d
* add mypy check for return-any
* remove unused import
* typing
* remove unnecessary variable typing
* cleanup
* cleanup
* bump submodules
* small fixes
* only a problem on mac
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: d2eef1955c
* this is the easy part to check
* Not sure what this fixes, 8aaf00c6a4
* bump laika
* works here
* cleanup
* add types-certifi
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 049b163ea0