mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 00:05:57 +08:00
GM: Lower LKA loopback CAN Error timing threshold to accommodate dropped packets (#24927)
* LKA loopback timing to 10Hz * Typo Co-authored-by: Willem Melching <willem.melching@gmail.com> Co-authored-by: Willem Melching <willem.melching@gmail.com> old-commit-hash: 8b32e1b060e8c2c3c084393a569d4e78992ca598
This commit is contained in:
@@ -133,7 +133,9 @@ class CarState(CarStateBase):
|
||||
]
|
||||
|
||||
checks = [
|
||||
("ASCMLKASteeringCmd", 50),
|
||||
("ASCMLKASteeringCmd", 10), # 10 Hz is the stock inactive rate (every 100ms).
|
||||
# While active 50 Hz (every 20 ms) is normal
|
||||
# EPS will tolerate around 200ms when active before faulting
|
||||
]
|
||||
|
||||
return CANParser(DBC[CP.carFingerprint]["pt"], signals, checks, CanBus.LOOPBACK)
|
||||
|
||||
Reference in New Issue
Block a user