Update comment

pull/29658/head
Jason Wen 2 years ago
parent 08db9bab11
commit cd0b39eeae
No known key found for this signature in database
GPG Key ID: 6AAEBEBBB33E2AD2
  1. 2
      selfdrive/car/hyundai/carcontroller.py

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

Loading…
Cancel
Save