This commit is contained in:
Your Name
2024-05-04 01:12:37 -05:00
parent f33e442096
commit e1cd56ab16
2 changed files with 7 additions and 2 deletions

View File

@@ -137,6 +137,11 @@ class CarController(CarControllerBase):
set_speed_in_units, hud_control))
self.accel_last = accel
else:
# Clearpilot
# If cruise control was enabled or idle on start, force cancel
if CS.fix_main_enabled_cancel_main:
CS.fix_main_enabled_cancel_main = False
CC.cruiseControl.cancel = True
# button presses
can_sends.extend(self.create_button_messages(CC, CS, use_clu11=False))
else: