This commit is contained in:
Jason Wen
2024-04-22 12:53:48 -04:00
parent dca3ae3eba
commit 21742b7341
+1
View File
@@ -109,6 +109,7 @@ class CarController(CarControllerBase):
# CAN-FD platforms
if self.CP.carFingerprint in CANFD_CAR or (hda2 and can_canfd):
hda2_long = hda2 and self.CP.openpilotLongitudinalControl
can_canfd_hda2_long = can_canfd and hda2 and self.CP.openpilotLongitudinalControl
# steering control
can_sends.extend(hyundaicanfd.create_steering_messages(self.packer, self.CP, self.CAN, CC.enabled, apply_steer_req, apply_steer))