This commit is contained in:
Your Name
2024-05-20 22:26:20 -05:00
parent cb7eda64d9
commit 17fbb74695
2 changed files with 2 additions and 5 deletions

View File

@@ -132,7 +132,7 @@ def create_acc_set_speed(packer, CP, CAN, cruise_info_copy, speed):
def create_acc_cancel(packer, CP, CAN, cruise_info_copy):
# why are we executing this at all?
# This does nothing on the tucson
# TODO: why do we copy different values here?
if CP.flags & HyundaiFlags.CANFD_CAMERA_SCC.value:
values = {s: cruise_info_copy[s] for s in [
@@ -156,7 +156,7 @@ def create_acc_cancel(packer, CP, CAN, cruise_info_copy):
"CRUISE_STANDSTILL",
]}
values.update({
"ACCMode": 0, # testing 1 instead of 4
"ACCMode": 4, # testing 1 instead of 4
"aReqRaw": 0.0,
"aReqValue": 0.0,
})