wip
This commit is contained in:
@@ -183,7 +183,8 @@ class CarController(CarControllerBase):
|
||||
def create_button_messages(self, CC: car.CarControl, CS: car.CarState, use_clu11: bool):
|
||||
can_sends = []
|
||||
|
||||
sys.stderr.write(str({'use_clu11': use_clu11}) + '\n')
|
||||
# False
|
||||
# sys.stderr.write(str({'use_clu11': use_clu11}) + '\n')
|
||||
|
||||
if use_clu11:
|
||||
if CC.cruiseControl.cancel:
|
||||
@@ -208,9 +209,10 @@ class CarController(CarControllerBase):
|
||||
self.last_button_frame = self.frame
|
||||
|
||||
# cruise standstill resume
|
||||
elif CC.cruiseControl.resume:
|
||||
elif CC.cruiseControl.resume or CS.lkas_enabled:
|
||||
if self.CP.flags & HyundaiFlags.CANFD_ALT_BUTTONS:
|
||||
# TODO: resume for alt button cars
|
||||
sys.stderr.write(str({'canfdalt': True}) + '\n')
|
||||
pass
|
||||
else:
|
||||
for _ in range(20):
|
||||
|
||||
Reference in New Issue
Block a user