* 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>
* 2019-2021 RAV4
* 2021-2023 RAV4 Prime
* 2021-2023 Sienna
These Toyota models can experience a rare EPS fault.
After a sharp, low-speed manual turn the human lets go of the wheel.
During or shortly after the unwind the EPS faults. It can be difficult
to reproduce.
PR #24067 "Toyota: remove 100°/sec steering lockout" attempted to prevent
this high angle rate EPS fault by cutting torque if more than 18 frames.
I found reducing this threshold by just one frame fixes the problem.
Co-authored-by: Jason Young <jyoung8607@gmail.com>
* Update fing Update fingerprints.py hyundai Tucson EUR 2022 Hybriderprints.py
The 2022-2024 Hyundai Tucson NX4 Hybrid in the European version with Can-FD and the Hyundai N harness was not detected by the official openpilot branch, it had to be selected manually. After following the steps to create a new fingerprints, I added the corresponding lines to the fingerprints.py file, and now the official branch works on this car model, it automatically selects the model. Also the file values.py was modified to add Ecu.eps to non_essential_ecus
* Update values.py hyundai Tucson EUR 2022 Hybrid
The 2022-2024 Hyundai Tucson NX4 Hybrid in the European version with Can-FD and the Hyundai N harness was not detected by the official openpilot branch, it had to be selected manually. After following the steps to create a new fingerprints, I added the corresponding lines to the fingerprints.py file, and now the official branch works on this car model and it automatically selects the model. Also the file values.py was modified to add Ecu.eps to non_essential_ecus
* Apply suggestions from code review
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* add fsd 14 failsafe detection
* fix logic
* dont perm set if FSD 13 user starts op with FSD/autosteer, engages to get a noEntry, and then swaps to correct TACC
* add 25 TLX fingerprints
* Add 25 TLX values
* temp testroute exception
* temporary torque data until testdrive
* add 2025 TLX initial torque numbers
* adding 25 TLX initial testroute
* fix testroute typo
* increase steermax to 3840
* Increase TLX 2G MMR steermax based on testroute
* Update TLX 2G MMR torque data based on testroute
* Newer TLX 2G MMR testroute
* Revising torque parameters a bit more after hours of driving
* Revising steer ratio a bit more after hours of driving
* Clean test route for Acura TLX 2G MMR
---------
Co-authored-by: Daniel Koepping <elkoled@gmail.com>
Co-authored-by: Jason Young <jyoung8607@gmail.com>