mirror of
https://github.com/infiniteCable2/opendbc.git
synced 2026-06-08 10:54:51 +08:00
* Rivian Gen2 * ESP_AebFb for brake * Fixing messages * Revert "Fixing messages" This reverts commit 10f01a36b485fe2f368736b448dedb1dcc72415d. * Revert "ESP_AebFb for brake" This reverts commit 11520da4f387efbc1e8fe0155a6680cfe81b7137. * Reapply "ESP_AebFb for brake" This reverts commit 58c8f23e9e75654f8c1615f4a2c9f6a50b9ae783. * 90deg fault prevention * VDM_AdasSts send all messages * vl_all for VDM_AdasSts to send all frames * torque fault signal and zero torque when inactive * fix StopIteration when vl_all is empty * not needed * update fault prevention * zip it up * fault avoidance part 2 * no need to send elk * 250 angle frames * 95 angle frames * 92 angle frames * 92 angle frames * 89 frames are the maximum * own counter for adas status * fix adas status loop * reduce diff & clean up * add tests back * use vl_all for VDM_AdasSts * Apply suggestion from @sshane Co-authored-by: Shane Smiskol <shane@smiskol.com> * Apply suggestion from @sshane Co-authored-by: Shane Smiskol <shane@smiskol.com> * try to engage sub 20mph * Revert "try to engage sub 20mph" This reverts commit e93961fd3a8e484cc4cb3b727116d55cb7038b3d. * ACM_lkaToiFlt = 0 is needed for fault prevention * no torque during torque_fault is important * reduce diff * reduce diff * reduce diff * remove fw for gen2 Co-authored-by: elkoled <elkoled@gmail.com> * add test route for gen2 Co-authored-by: elkoled <elkoled@gmail.com> * remove fault avoidance and merge it as a standalone Co-authored-by: elkoled <elkoled@gmail.com> * fix ruff line too long Co-authored-by: elkoled <elkoled@gmail.com> * Update opendbc/car/rivian/carstate.py Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> * GEN2 as a Flag * RIVIAN_R1 * add rivian 2026 VIN --------- Co-authored-by: Shane Smiskol <shane@smiskol.com> Co-authored-by: elkoled <elkoled@gmail.com> Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
14 lines
348 B
Python
14 lines
348 B
Python
""" AUTO-FORMATTED USING opendbc/car/debug/format_fingerprints.py, EDIT STRUCTURE THERE."""
|
|
from opendbc.car.structs import CarParams
|
|
from opendbc.car.rivian.values import CAR
|
|
|
|
Ecu = CarParams.Ecu
|
|
|
|
FW_VERSIONS = {
|
|
CAR.RIVIAN_R1: {
|
|
(Ecu.eps, 0x733, None): [
|
|
b'R1TS_v3.4.1(51),3.4.1\x00',
|
|
b'R1TS_v4.4.1(63),4.4.1\x00',
|
|
],
|
|
},
|
|
} |