From d60bb8ce059cded7785aa4317810c7e783423e3a Mon Sep 17 00:00:00 2001 From: Shane Smiskol Date: Fri, 21 Oct 2022 12:14:11 -0700 Subject: [PATCH] todododo --- selfdrive/car/gm/carcontroller.py | 1 + 1 file changed, 1 insertion(+) diff --git a/selfdrive/car/gm/carcontroller.py b/selfdrive/car/gm/carcontroller.py index 364bc3aeb7..9ab2752fcc 100644 --- a/selfdrive/car/gm/carcontroller.py +++ b/selfdrive/car/gm/carcontroller.py @@ -48,6 +48,7 @@ class CarController: # next Panda loopback confirmation in the current CS frame. steer_step = self.params.ACTIVE_STEER_STEP if CC.latActive else self.params.INACTIVE_STEER_STEP if CS.loopback_lka_steering_cmd_updated: + # TODO: ENSURE this logic works if we lag right as we switch from 50hz to 10hz, will they be too far apart? self.lka_steering_cmd_counter += 1 self.sent_lka_steering_cmd = True elif (self.frame - self.last_steer_frame) >= steer_step or self.last_steer_frame == 0: