* Revert "Revert "Lexus ES TSS2: improve start from stop response time" (#1302)"
This reverts commit c696545153.
* something like this? check it allows start from stop
* HKG: Add FW version and model year for Genesis GV60 2022
* Update opendbc/car/hyundai/values.py
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
---------
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
* HKG: Car Port for Genesis G80 2024 (2.5T, HDA2)
* Apply #1284
* Apply #1285
* add test route
* Update opendbc/car/hyundai/values.py
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
---------
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
* Hyundai CAN-FD: Add CAN fingerprint fallback checks for HDA2 detection
* fix test
* just 1 source
* update unit test
* comment
* simplify
* move hda2 to the end of arg so it's cleaner
* Update opendbc/car/hyundai/interface.py
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
---------
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
* refactor experimentalLongiudinalAvailable
* refactor enableBsm
* refactor Panda safety config
* section headers
* radarUnavailable to common long section
* dashcam cars to car specific section
* HKG: Car Port for Genesis GV70 Electrified 2023 (HDA2)
* add test routes
* remove
* Apply suggestions from code review
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
---------
Co-authored-by: Jason Young <46612682+jyoung8607@users.noreply.github.com>
* Improve start from stop for Lexus ES TSS2 ICE
* won't be perfect, but we don't pitch compensate for other cars yet
* rm
* ramp to 0 when negative
* add todo
* clean up
* ugh, it's a subtype mypy!!
* huh, most lexus don't have CLUTCH, will have to find those later
* bug fixes
* clean up
* VW MQB: Refactor CRC constants
Big switch statement in volkswagen_mqb_checksum was refactored with map of arrays.
With this approach there's no need for specifying all 16 byte values if constant is the same for all of them.
* temporary, repeat packing step 1M times
* follow comma convention for include order
* comma indent convention, tighten message annotations
* whitespace
* cleanup
* more comma indent convention
* Revert "temporary, repeat packing step 1M times"
This reverts commit 06d8f46710.
* comment touch-up
* beautify spacing
* codespell says you're gonna have to Google it
* fully initialize all data ID arrays
* clarify array name as part of VW support
* fix comment typo
---------
Co-authored-by: Jason Young <jyoung8607@gmail.com>
* VW MQB: Added unittests for CRC calculation
Some of the messages are either missing fields that causes serialization to skip bits
or CRC/BZ fields aren't picked up by packers leading to invalid values.
* VW MQB: Add missing fields in Getriebe_11
Test case is reenabled and now passes
* EV_Gearshift -> Motor_EV_01, enable test
* skip Getribe_11 testing with a note about why
* reenable all others, except SWA_01
* turns out we can still test Getriebe_11
* New test data for SWA_01, re-enable test
* no longer a need for test skipping
* no longer a need for custom tests
* more concise
* prefix with VW for clarity
---------
Co-authored-by: Jason Young <jyoung8607@gmail.com>
* test more models!
* Impreza 2020: reach max in ~0.8s instead of ~0.6
* leave todo for gen2, not safety critical since jerk is under threshold (1000/40*2/100=0.5s)
* fix honda