mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-05 08:16:03 +08:00
GM: disable checks on loopback bus (#26015)
* disabling checks on loopback bus * Apply suggestions from code review Co-authored-by: Shane Smiskol <shane@smiskol.com> old-commit-hash: ac88ad871a9fba9076eb4d02a57e34ad34839f59
This commit is contained in:
@@ -177,9 +177,7 @@ class CarState(CarStateBase):
|
||||
]
|
||||
|
||||
checks = [
|
||||
("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
|
||||
("ASCMLKASteeringCmd", 0),
|
||||
]
|
||||
|
||||
return CANParser(DBC[CP.carFingerprint]["pt"], signals, checks, CanBus.LOOPBACK)
|
||||
return CANParser(DBC[CP.carFingerprint]["pt"], signals, checks, CanBus.LOOPBACK, enforce_checks=False)
|
||||
|
||||
Reference in New Issue
Block a user