From fd0ad9d3a3fdd0f0c19c9056118ff258aa5354e6 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Wed, 24 Apr 2024 00:41:08 -0400 Subject: [PATCH] don't skip --- selfdrive/car/hyundai/carcontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index c964bcf750..c170a295fd 100644 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -135,7 +135,7 @@ class CarController(CarControllerBase): if self.frame % 2 == 0: if can_canfd: can_sends.extend(hyundaicanfd.create_acc_commands_can_canfd(self.packer, self.CAN, CC.enabled, accel, - int(self.frame / 2), hud_control.leadVisible, + self.frame, hud_control.leadVisible, set_speed_in_units, stopping, CC.cruiseControl.override)) else: can_sends.append(hyundaicanfd.create_acc_control(self.packer, self.CAN, CC.enabled, self.accel_last, accel, stopping, CC.cruiseControl.override,