* 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>
* 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
* 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?
* HKG: Car Port for Kia K8 2023 (HDA2)
* Fix release docs
* add test route
* engaged segment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* 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>
* 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>
* 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>
* 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
* 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>
* 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>
* 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>
* 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>
* 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
* HKG: Car Port for Kia Sorento Hybrid 2023
* Update CARS.md
* Oops
* add test route
* specify segment
* all packages
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* 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
* 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