From 3da2069795f06b992daabe0bd3bd563379ea5aef Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 18 May 2024 03:55:36 -0500 Subject: [PATCH] wip --- selfdrive/car/hyundai/carcontroller.py | 2 +- selfdrive/car/hyundai/hyundaicanfd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/selfdrive/car/hyundai/carcontroller.py b/selfdrive/car/hyundai/carcontroller.py index 23dc415..b464a6f 100755 --- a/selfdrive/car/hyundai/carcontroller.py +++ b/selfdrive/car/hyundai/carcontroller.py @@ -134,7 +134,7 @@ class CarController(CarControllerBase): params_memory = Params("/dev/shm/params") if params_memory.get_bool("CPTLkasButtonAction"): # can_sends.extend(hyundaicanfd.create_adrv_messages(self.packer, self.CAN, self.frame)) - can_sends.append(hyundaicanfd.create_acc_set_speed(self.packer, self.CAN, CS.cruise_info, 50)) + can_sends.append(hyundaicanfd.create_acc_set_speed(self.packer, self.CP, self.CAN, CS.cruise_info, 50)) # can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info)) print("Debug cancel executed") diff --git a/selfdrive/car/hyundai/hyundaicanfd.py b/selfdrive/car/hyundai/hyundaicanfd.py index cdcc548..2a3711f 100755 --- a/selfdrive/car/hyundai/hyundaicanfd.py +++ b/selfdrive/car/hyundai/hyundaicanfd.py @@ -166,7 +166,7 @@ def create_acc_cancel(packer, CP, CAN, cruise_info_copy): # This doesn't appear to do anything on my tucson def create_lfahda_cluster(packer, CAN, enabled, lat_active): values = { - "HDA_ICON": 1, + "HDA_ICON": 0, # Literally shows HDA. Maybe we use this to indicate experimental mode "LFA_ICON": 2 if enabled else 1 if lat_active else 0 }