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