honda crv: add BSM frequency check

old-commit-hash: 1083d14f40
commatwo_master
Adeeb Shihadeh 4 years ago
parent 0af28bba44
commit 7cc1e11929
  1. 5
      selfdrive/car/honda/carstate.py

@ -404,10 +404,9 @@ class CarState(CarStateBase):
signals = [("BSM_ALERT", "BSM_STATUS_RIGHT", 0),
("BSM_ALERT", "BSM_STATUS_LEFT", 0)]
# TODO: get freqs
checks = [
("BSM_STATUS_LEFT", 0),
("BSM_STATUS_RIGHT", 0),
("BSM_STATUS_LEFT", 3),
("BSM_STATUS_RIGHT", 3),
]
bus_body = 0 # B-CAN is forwarded to ACC-CAN radar side (CAN 0 on fake ethernet port)
return CANParser(DBC[CP.carFingerprint]['body'], signals, checks, bus_body)

Loading…
Cancel
Save