From 0d96cd9547c76a80fe189a7590927a12e71f358d Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Wed, 24 Apr 2024 01:06:57 -0400 Subject: [PATCH] Revert "don't skip" This reverts commit fd0ad9d3a3fdd0f0c19c9056118ff258aa5354e6. --- 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 c170a295fd..c964bcf750 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, - self.frame, hud_control.leadVisible, + int(self.frame / 2), 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,