* check LTA faults if using LTA
* add test
* add LTA_STATE
* add comment for 0 state
* why did test_models not catch this?
* code 21
* same behavior as LKA (only if LTA is used)
* common definitions!
* more comment
* directly
* fault
* :
old-commit-hash: 07e276d5cf
* check LTA faults if using LTA
* add test
* add LTA_STATE
* add comment for 0 state
* why did test_models not catch this?
* code 21
* same behavior as LKA (only if LTA is used)
* common definitions!
* more comment
* revert LTA
* no lta here
* revert test
* no period
* -LTA
* init
old-commit-hash: 7171e052bf
* Toyota: pass through sway warning system signals
* signal doesn't seem to exist on the Prius V
bad log?
* remove duplicated checks
* syntax
* Revert "syntax"
This reverts commit 6c30c30d46.
* Revert "remove duplicated checks"
This reverts commit 6a364984eb.
* Revert "signal doesn't seem to exist on the Prius V"
This reverts commit 57fa571fde.
* Revert "Revert "signal doesn't seem to exist on the Prius V""
This reverts commit 9b1c3f6cac.
* Revert "Revert "remove duplicated checks""
This reverts commit 38bc7f3de6.
* Revert "Revert "syntax""
This reverts commit f81f93631f.
* hard code values for Prius V
* send ui once every 25 frames
remove send ui logic
* send UI immediately on pcm_cancel_cmd
* draft
* clean that up
* same order as toyotacan
* update refs
Co-authored-by: Shane Smiskol <shane@smiskol.com>
old-commit-hash: 2f80580fee
* note for dsu cars
* don't hardcode dsu footnote (1/2)
* test
* revert the experimental long toggle
* another day:(
* DSU doesn't have to be toyota specific, it's a generic carParam!
* this is safe, just make sure it's unknown
* these cars do not have OP long for some reason
* UNSUPPORTED_DSU_CAR
* forgot this
* .
* .
* revert
* revert
* smaller diff
old-commit-hash: b0656f2c75
* toyota: match set speed from dash
* Use unit bit
* Use RSA2
* flip this
* Universal unit signal, set vEgoCluster
* remove this and bump opendbc
* detect if car interface sets cluster fields
* revert
* needs to be cp
* UI_SPEED is actually always in kph?
* forgot to actually convert it
* same in onroad
* try conv factor only for imperial
* Seems like UI_SPEED is not the UI speed at all
* the dash might floor it
* same openpilot behavior
* bump
* ego speed factor is dynamic across speeds, handle Lexus exceptions with
diff msg
* remove test, bump opendbc
* secret formula
* secret formula v2
* 1.03 is sufficient
* try short press
* bump opendbc
* surely this can be cleaned up
surely this can be cleaned up
* use filter
* redo factors
* try UI_SPEED again with a factor
try UI_SPEED again with a factor
* dash applies hysteresis to speed. this matches pretty well, but not exactly
* match only set speed
* clean up
* clean up
clean up
* Update ref_commit
* update refs
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 80533d6c03
* Same standstill check as panda
* test honda in the same place
* bump panda
* bump panda
* bump panda
* bump to master
* bump panda
old-commit-hash: b34fe711b0
* check PRE_COLLISION
* need to make sure this is right
* revert
* temp, stash
* fixes
* uncomment that
* it's not really cruise/pcm, but acc
remove improt
* revert
* Fix CI
* revert exception
* Revert "revert exception"
This reverts commit 7e2f390976.
* this tested enableDsu, but we have other routes that do that
* use segment from db
* remove exception again
old-commit-hash: 70f7340c17
* Toyota: fill steerFaultPermanent
* same behavior as before, 0 is also fault (0 is most likely initializing)
* think this was just wrong (2 or 10 would mean we think it's a fault)
old-commit-hash: c955e273d4
* add panda flag for toyota stock long with camera
* clean up
* Add 2022 RAV4 Hybrid from Philly
* fix wrong fw in interface, did this ever work?
* Must be a hybrid
* no radar parsing
* fix can error
* move to own platform
* generate docs
* fix
* Add 2022 Rav4 XSE Australia fingerprint parameters (#24303)
* Update values.py
Add 2022 Rav4 XSE Australia
* add commas
Co-authored-by: Shane Smiskol <shane@smiskol.com>
* bump panda
* wait, the camera doesn't even send 0x343, right?
* use a set instead, more obvious
* don't test without a parser
* bump panda
* flip panda flag
* bump panda
* add commas
* regen and update refs
* set to none by default
* revert parenthesis
* update comment
* bump panda
* regen and update refs
* add test models and update readme
* bump to master
Co-authored-by: BrettLynch123 <34538435+BrettLynch123@users.noreply.github.com>
old-commit-hash: c1caca104f
* Update carstate.py
* comments
* use initializing
* bump opendbc
* bool
* check both
* bump opendbc
* and on TSS-P the initializing bit isn't set
old-commit-hash: a1875ac6f0
* use scaling
* or we can do it this way
* define default in one place
* just specify
* Revert "just specify"
This reverts commit 40b7b28f84.
old-commit-hash: 3c62d9da09
* check in tuple instead of list
* Update selfdrive/car/toyota/carcontroller.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
* Update selfdrive/car/mazda/interface.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>
old-commit-hash: a653461dec
* add CarParams.wheelSpeedFactor
* Fudge speed for Lexus RX
* should have been the TSS2 model
* bump cereal
* refactor into function
* update refs
old-commit-hash: e6180738fd
* Add f/w firmware for Lexus RC under LEXUS_IS
`@ph33rl355#0529` 2020 Lexus RC F Track Edition DongleID/route 32696cea52831b02|2021-11-16--23-12-02
Doesn't seem to need a full port, per user feedback...
https://discord.com/channels/469524606043160576/524327905937850394/910400788319326229
* Update CARS.md
* Separated Lexus RC from IS... still using IS DBC
* match lexus IS for now
* Update wheelbase to match published specs
I'm hesitant to touch `mass`, even though I know it's different from the IS.
* Add TOYOTA.LEXUS_RC test route
Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: d630ec9092
* disallow engagement if brake hold active
* we can check once
* move to common events
revert
* fix
* update refs
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: a0e5eccb70
* ignore permanent low speed lockout
* should always check in case not seen
* use cp_cam
* not bus 0
* change signal name according to ref dbc
* bump
* we don't rely on this
* bump
* Revert "Toyota: debug logging for low speed lockout (#21526)"
This reverts commit c0d4c7e69a29e58a13573dab5a88792559b965b6.
* add back
* always add
* pass acc_type through
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* Update selfdrive/car/toyota/carstate.py
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* only update acc_type if not enableDsu
* only add when using
* only for openpilot long cars
* only seen TSS2
* add todo
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 16e4f432bf
* remove some lines
* rm line
* want to see if the checks fail so we can remove angle_wheel check to verify we don't need it
* add a tss2 route to test
* run first
* revert
old-commit-hash: 5557a6c6bd