diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index e082589..3ead3ce 100644 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -183,7 +183,8 @@ class CarController(CarControllerBase): def create_button_messages(self, CC: car.CarControl, CS: car.CarState, use_clu11: bool): can_sends = [] - sys.stderr.write(str({'use_clu11': use_clu11}) + '\n') + # False + # sys.stderr.write(str({'use_clu11': use_clu11}) + '\n') if use_clu11: if CC.cruiseControl.cancel: @@ -208,9 +209,10 @@ class CarController(CarControllerBase): self.last_button_frame = self.frame # cruise standstill resume - elif CC.cruiseControl.resume: + elif CC.cruiseControl.resume or CS.lkas_enabled: if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS: # TODO: resume for alt button cars + sys.stderr.write(str({'canfdalt': True}) + '\n') pass else: for _ in range(20):