wip
This commit is contained in:
@@ -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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user