* body: optimize CRC-8 checksum with lookup table
* Add CRC8BODY lookup table for body checksum
Generate CRC-8 table with polynomial 0xD5 at import time,
following the existing pattern for other CRC tables.
* Use CRC8BODY from crc module in body checksum
Replace hardcoded 256-entry lookup table with import from
shared crc module, following reviewer feedback.
---------
Co-authored-by: Daniel Koepping <elkoled@gmail.com>
* signals from refs
* use vals as prev
* show all waveforms
* get nested
* use full refs
* use explicit pr signal
* Update opendbc/car/tests/car_diff.py
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* var names
* hints
* more
* more
* Revert "more"
This reverts commit aa31c7ddb0cdbc7f236126887ad964f12d731665.
* Revert "more"
This reverts commit b998c6049d68c6a94dec6f7a4a54db647e30d27b.
* Revert "hints"
This reverts commit 1cbfb879b05be572ccf2ddc099c861b3bba175fe.
* add typing
* typing
* add CarParams
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* Add Lexus LS 2018 platform configuration
* Add fingerprints for Lexus LS ECUs
* Add LEXUS_LS to torque substitute
* Update steer ratio for Lexus LS 2018 configuration
* LS steer ratio back to 13.0
* Update steer ratio for Lexus LS 2018 based on live params
* Add test route for Lexus LS
* Update LS car docs to exclude LSS+ A package
* Fix formatting in Lexus LS 2018 documentation
* Remove LEXUS_LS mapping from substitute.toml
* Add better torque data for LEXUS_LS
* Modify torque values for LEXUS_LS
Better torque values for LEXUS_LS based on learned values after long drive.
* Add Lexus LS 2018 to sng = true
* Update MAX_LAT_ACCEL_MEASURED for LEXUS_LS
* Enable steering at standstill for Nissan cars
* Update LKAS_MAX_TORQUE value to improve steering speed
Increased LKAS_MAX_TORQUE from 1 to 2.54 for better performance.
* Update carcontroller.py
* Revert "Update LKAS_MAX_TORQUE value to improve steering speed"
This reverts commit d490162da4a47cca6683c5c9a710b291cce61080.
* Revert "Update carcontroller.py"
This reverts commit 431b6c021b1f3523e30693e4dcf41819ee8819a1.
* Taiwan Honda Odyssey 2019 Port
* refactor per review comments
* flip
* can do detection, but only if there we support one more car to avoid early generilzation
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* toyota: clean up alpha long
* yes we have a test
* not critical
* test the differ
* add more
* this stems back to /one, so maybe they do
* un print
* it doesn't detect
* car tests: cache hypothesis strategies at module level
Move strategy creation from inside get_fuzzy_car_interface() to module level
to avoid recreating strategies on every test call. Strategy creation is
expensive and doing it once at import time significantly speeds up test
execution.
This addresses commaai/openpilot#32536 - "Speedup test_car_interfaces"
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* use cache instead
---------
Co-authored-by: Felmon Fekadu <felmonfekadu@Felmons-MacBook-Air.local>
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* added button events for accel and decel
* move down
---------
Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Shane Smiskol <shane@smiskol.com>