* test_moedls: check controlsd events
* clean up
* sort
* controlsd modifies CP
* fix
* can use any segment now
* final fix
* use constant
old-commit-hash: 1410a1150c
* use torque for 2023 RAV4s that allow it
* FW
* better cmt
* better
* better values comment
* switch
* add torque params
* simpler
* better to use steerControlType
* ???
* fix condition
* adjust params
* pid is only for old cars
* add comment
* move comment up
* one if
fix
* invert
* better comment
* better here
* for
* add torque hybrid test route
* fix condition
* this might be simpler
* back to one if
fix
* better name
* other way
* this reads so much better
* last change
* better
* did i break ci?
old-commit-hash: 9dfd0579d4
* Hyundai: Car Port for Azera 2022
* harness k
* not crc8
* use gen
* add test route
* Middle East only
* Revert "Middle East only"
This reverts commit 1abe795ad0.
* rename to 6th gen
* sorting
* has a little less torque
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 748eb4a7c7
* parallel tests
* review suggesions
* add to pyproject
* add a bit more buffer on that
* fix rare athena issue
* remove from pypoetry
old-commit-hash: dde225221e
* add long route
* fix duplicates
* need to bump that slightly up
* commented for now
Co-authored-by: Shane Smiskol <shane@smiskol.com>
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: ec945dc53d
* wait to leave elm mode before checking relay malfunction
* clean up
* clean up
* pycharm is best
* clean up
* more
* use pandaStatesDEPRECATED
* fix
* use constant
* only radar
* cmt
* set inline
* comment and re-arrange
* enable for relay malfunc check
* down here
* Update selfdrive/car/tests/test_models.py
* rm
* don't affect other tests
* up here
* one line
* update cmt
* no tolerance
* Revert "no tolerance"
This reverts commit 41b1c7e8be.
* comment is real solution
---------
Co-authored-by: Kacper Rączy <gfw.kra@gmail.com>
old-commit-hash: 5d1550de87
* switch to pytest
* static analysis
* fix the helpers
* static analysis
* remove that
* more parallel test
* cleanup
* static analysis
* durations min and tolerance
* reduce those iterations
* sleep time could be decreased too
* in case it's negative
* try using caching
* remove parallelization for first PR
* PR Cleanup
* reduce diff
* fix that
* bump panda
old-commit-hash: ca435d3447
* Hyundai: Car Port for Ioniq 6 2023
* Update docs
* bump panda
* Attempt to block laneline information to suppress LFA
* Try 0x364
* Block 0x364|BYTE7
* Attempt to block LFA on 0x364
* Block all bus 2/6 messages
* Lowercase to match DBC
* Aight
* we don't use this
* Final test to block LFA
* No byte 7
* Fix
* Fix tx
* This platform does SCC from radar
* Generate CARS.md
* cleanup
* Fix
* Fix 2
* bump submodules
* add test route for HDA2
* Support non-HDA2 trims in future PR
* segment 6
* bump opendbc
* Update username
* Check for new LKAS addr instead
* Update comment
* sync with dbc
* Combine LFA suppress can sends
* Add new tx to unit test
* bump opendbc
* we'd need a new DBC for that
* update docs
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 7bc2667ab6
* Hyundai: Car Port for Kona EV 2nd Generation (2023 Korean Ver.)
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* gate with flag
* new blinker signals for 2nd Gen Kona
* add test route
* Update CARS.md
* bump opendbc
* match opendbc definition
* Attempt to block laneline information to suppress LFA
* Try 0x364
* Block 0x364|BYTE7
* Block all bus 2/6 messages
* Lowercase to match DBC
* Aight
* we don't use this
* Final test to block LFA
* No byte 7
* Fix
* Fix tx
* cleanup
* HDA2 support
* Update RELEASES.md
* bump opendbc
* from `liveTorqueParameters`
* add test route
* bump panda
* official spec
* Check for new LKAS addr instead
* Update comment
* sync with dbc
* Combine LFA suppress can sends
* bump opendbc
* Add new tx to unit test
* linter
* Consolidate
* rename and update torque params
* add note for blinker weirdness
* bump
* bump
* clean up block msg
* it uses LFA if long
* not used in multiple places
* bump panda
* correct name
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: fafca0e44d
* Add support for Forester Hybrid 2020
Co-authored-by: martinl <martin@mlp.ee>
* it's a param now
* make it work
* fix
* merge and cleanup
* remove duplicate
* should be forester
* bump submodules
* should be abs
* add missing params
* still need a test route
* still need a test route
* consitent
* here too
* todo
* more
* Update selfdrive/car/tests/routes.py
* clean up
---------
Co-authored-by: martinl <martin@mlp.ee>
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com>
old-commit-hash: 3719be8b76
* Subaru: Crosstrek Hybrid support
* hybrid cars in dashcam only
* revert that
* just dashcam
* tah should be abs
* remove unused import
* use the old dbc for now
* hybrid car exceptions in carstate
* need dashstatus until we get a proper cruiseactivated bit
* missing CP
* merge conflicts
* lets be consistent about extend
* cleanup
* fix and comments
* preglobal fix
* and the rest
* and this
* added hybrid to release
---------
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: 973d90be77
Revert "FW query: query one sub-address in parallel (#28675)"
This reverts commit 3d4c32284699dfd4f78bb2f5bb645344c98f1b46.
old-commit-hash: 365bdd3422
* put one subaddr in parallel_addrs
* p
* remove print
* update test refs
* test
* revert test changes
* do same in present ECU query, lower threshold to catch (~0.82 to ~0.72 right within bounds)
* type
* clean up
* update test ref
old-commit-hash: 861ceb2fee
* test fingerprint frames (timing)
* guess not needed
* it checks both buses
* use case list
* this is safe since we call current test only in the current loop, never after
* prof
* test this too
old-commit-hash: 6253dca9eb
* timing test
* test
* fix
* print
* loop
* clean up
* wider range
* Update selfdrive/car/tests/test_models.py
* Apply suggestions from code review
* run many times
* Update selfdrive/car/tests/test_models.py
* run for many its
* run with unittest and print as list
* Update .github/workflows/selfdrive_tests.yaml
* Update .github/workflows/selfdrive_tests.yaml
* total time is super inconsistent (body)
* Update selfdrive/car/tests/test_models.py
* clean up
* clean up
* clean up
* this works!
* draft
* test suite not as modular
* try something like this
* can do kb, but not too representative
* clean up
* remove kb? it depends on signals
* clean up
* more clean up
* rename
* just measure all CANParsers
* can do all this manually
* but this is way simpler
* comment
* stash
* draft
* draft
* remove old script
* clean up
* revert
* use it
* remove test
* opt
* no partial
* remove
* revert test_models
* test can fingerprinting
* so much simpler!
* fix dict resizing
* simplify
* need to do this
* fix
* move to new file
* rename
* comment
* ignore function-uses-loop-variable
old-commit-hash: fd8f8d8785
full internal test models seg list
remove avalon and sienna
volt with ascm on
another volt with ascm on
9bc2ee633c361c3d|2023-07-28--20-17-51--2
dashcam mode
c4e21532b6fe3847|2023-07-05--08-34-05--1
can invalid (missing PSCMStatus)
cf6ba99592c48848|2023-07-01--11-36-56--20
old-commit-hash: 4073ffb02b
* timing test
* test
* fix
* print
* loop
* clean up
* wider range
* Update selfdrive/car/tests/test_models.py
* Apply suggestions from code review
* run many times
* Update selfdrive/car/tests/test_models.py
* run for many its
* run with unittest and print as list
* Update .github/workflows/selfdrive_tests.yaml
* Update .github/workflows/selfdrive_tests.yaml
* total time is super inconsistent (body)
* Update selfdrive/car/tests/test_models.py
* clean up
* clean up
* clean up
* this works!
* draft
* test suite not as modular
* try something like this
* can do kb, but not too representative
* clean up
* remove kb? it depends on signals
* clean up
* more clean up
* rename
* just measure all CANParsers
* can do all this manually
* but this is way simpler
* comment
* fix mypy
* this is correct too
* 3 seconds instead of 1.5
old-commit-hash: e2910d0720
* check relay malfunction in test_models
* draft
* actual relay malfunction (or ASCM was turned on)
* rav4: not dashcam and op enabled, but we're not sending anything
* clean up
* spaces
* more space
* flip
* better?
* combine
* for
* move up
old-commit-hash: 1099b3486a