This commit is contained in:
Your Name
2024-05-12 22:27:11 -05:00
parent f3d7cc5aa4
commit 250f866f9c
2 changed files with 4 additions and 4 deletions

View File

@@ -199,9 +199,9 @@ class CarController(CarControllerBase):
# cruise cancel # cruise cancel
if CC.cruiseControl.cancel: if CC.cruiseControl.cancel:
if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS: if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS:
pass # pass
# can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info)) can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info))
# self.last_button_frame = self.frame self.last_button_frame = self.frame
# CS.lkas_trigger_result = 1 # CS.lkas_trigger_result = 1
else: else:
for _ in range(20): for _ in range(20):

View File

@@ -123,7 +123,7 @@ def create_acc_cancel(packer, CP, CAN, cruise_info_copy):
"CRUISE_STANDSTILL", "CRUISE_STANDSTILL",
]} ]}
values.update({ values.update({
"ACCMode": 4, "ACCMode": 1, # testing 1 instead of 4
"aReqRaw": 0.0, "aReqRaw": 0.0,
"aReqValue": 0.0, "aReqValue": 0.0,
}) })