Gate radar disable behind camera SCC cars

pull/26342/head^2
Jason Wen 3 years ago
parent 444d61d507
commit 7d30d12faa
No known key found for this signature in database
GPG Key ID: 6AAEBEBBB33E2AD2
  1. 2
      selfdrive/car/hyundai/interface.py

@ -360,7 +360,7 @@ class CarInterface(CarInterfaceBase):
@staticmethod @staticmethod
def init(CP, logcan, sendcan): def init(CP, logcan, sendcan):
if CP.openpilotLongitudinalControl: if CP.openpilotLongitudinalControl and CP.carFingerprint not in CAMERA_SCC_CAR:
addr, bus = 0x7d0, 0 addr, bus = 0x7d0, 0
if CP.flags & HyundaiFlags.CANFD_HDA2.value: if CP.flags & HyundaiFlags.CANFD_HDA2.value:
addr, bus = 0x730, 5 addr, bus = 0x730, 5

Loading…
Cancel
Save