wip
This commit is contained in:
@@ -134,7 +134,7 @@ class CarController(CarControllerBase):
|
|||||||
params_memory = Params("/dev/shm/params")
|
params_memory = Params("/dev/shm/params")
|
||||||
if params_memory.get_bool("CPTLkasButtonAction"):
|
if params_memory.get_bool("CPTLkasButtonAction"):
|
||||||
# can_sends.extend(hyundaicanfd.create_adrv_messages(self.packer, self.CAN, self.frame))
|
# 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))
|
# can_sends.append(hyundaicanfd.create_acc_cancel(self.packer, self.CP, self.CAN, CS.cruise_info))
|
||||||
print("Debug cancel executed")
|
print("Debug cancel executed")
|
||||||
|
|
||||||
|
|||||||
@@ -166,7 +166,7 @@ def create_acc_cancel(packer, CP, CAN, cruise_info_copy):
|
|||||||
# This doesn't appear to do anything on my tucson
|
# This doesn't appear to do anything on my tucson
|
||||||
def create_lfahda_cluster(packer, CAN, enabled, lat_active):
|
def create_lfahda_cluster(packer, CAN, enabled, lat_active):
|
||||||
values = {
|
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
|
"LFA_ICON": 2 if enabled else 1 if lat_active else 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user