From 5ba3e90676c3cf6d989aec8a9ec61192b3c9a538 Mon Sep 17 00:00:00 2001 From: Jason Wen Date: Sat, 27 Jul 2024 02:03:15 -0400 Subject: [PATCH] comment --- selfdrive/car/hyundai/carcontroller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index bd84c773d7..858bc0757c 100644 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -477,6 +477,7 @@ class CarController(CarControllerBase): cruise_button = self.get_button_control(CS, self.final_speed_kph, v_cruise_kph_prev) # MPH/KPH based button presses return cruise_button + # jerk calculations thanks to apilot! def cal_jerk(self, accel, actuators): self.accel_raw = accel if actuators.longControlState == LongCtrlState.off: