closer to original

pull/29658/head
Shane Smiskol 2 years ago
parent 25cb893783
commit 265c10ed36
  1. 2
      selfdrive/car/hyundai/carcontroller.py

@ -110,7 +110,7 @@ class CarController:
# steering control
can_sends.extend(hyundaicanfd.create_steering_messages(self.packer, self.CP, self.CAN, CC.enabled, apply_steer_req, apply_steer))
# HDA2, send "no lanelines detected" to ADAS ECU, this prevents factory LFA from overriding our steering commands
# prevent LFA from activating on HDA2 by sending "no lane lines detected" to ADAS ECU
if self.frame % 5 == 0 and hda2:
can_sends.append(hyundaicanfd.create_cam_0x2a4(self.packer, self.CAN, CS.cam_0x2a4))

Loading…
Cancel
Save