* Hyundai: Add FW Versions for 2019 Elantra
* wrong platform
* Update selfdrive/car/hyundai/values.py
* split platforms again
* add engine and other trans
* legacy: don't trust long
* fix
* elantra has no eps and i30 has no dates as well
* 19 still has no sng
* new harness
* todo comment
* Update CARS.md
* re-did
* add back
* rev
* Add Elantra 2017 FW from f6f9e1708bae2ef6
* Add Elantra 2017 FW from 5af39b105269f0f3
* Add Elantra 2017 FW from 2e158bb0e7396dd9
* should be all i30 and elantra drivers
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 820cccf8d9
* combine corolla
* corolla tss2: remove duplicates
* remove gas pedal hybrid signal
* combine RX TSS2
* we only split for static DSU msgs, or sng differences
* Combine NX TSS2
* remove nb
* Combine ES TSS2
* Combine RAV4 TSS2 (torque params for each EPS variant are similar enough, and eps and fwdcamera all are identical)
* Merge TSS-P Lexus NX
* TSS-P Lexus NX: remove duplicates
* TSS-P C-HR: merge
* TSS-P C-HR: remove duplicates
* fix routes
* re-did everything: no diff 🎉
* update test models seg list
* Update ref_commit
old-commit-hash: 3cd0e392eb
* HKG: Car Port for Hyundai Cusitn 1st Gen
Hyundai Custin is asia only car ,named Custo in China.
Hyundai K , talk with Sotana CAN BUS
test route"0bbe367c98fa1538|2023-08-19--01-58-42--0"
It's my fisrt time to PR a port car. I must miss something I don't know. Waiting your instruction to complete it.
* Add route
Add route
* update interface.py
Add interface values
* Update values.py
type
* slight cleanup
* stock openpilot route
* Add credit to release note
* lkas11 fault fix
* Generate CARS.md
* SCC is standard
* crc8
* Update new route
Add a new route "0bbe367c98fa1538|2023-09-16--00-16-49--0"
* sort
* Update selfdrive/car/hyundai/interface.py
* rename platform var
* we want abs!
* was looking at a vw lol
* 096
---------
Co-authored-by: Jason Wen <haibin.wen3@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: db50e42202
* add 2019 OptimaH
* fix
* fix gears
* rename
* should be in unsup long
* fix
* probable cause
* add test route
* update docs
* fix test
* spacing
* note it's only old
old-commit-hash: 39c8bfc09c
Revert "Toyota: use torque control for Japanese-made 2023 RAV4 (#29896)"
This reverts commit 41a0ddf58e17eefe1694cce013ce67213f644dc7.
old-commit-hash: b50a769ae9
* 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