wip
This commit is contained in:
@@ -280,6 +280,7 @@ class CarState(CarStateBase):
|
|||||||
self.fix_main_enabled_check = False
|
self.fix_main_enabled_check = False
|
||||||
if ret.cruiseState.speed > 1 and self.main_enabled == False:
|
if ret.cruiseState.speed > 1 and self.main_enabled == False:
|
||||||
self.main_enabled = True
|
self.main_enabled = True
|
||||||
|
self.fix_main_enabled_executed = True
|
||||||
self.buttons_counter = cp.vl[self.cruise_btns_msg_canfd]["COUNTER"]
|
self.buttons_counter = cp.vl[self.cruise_btns_msg_canfd]["COUNTER"]
|
||||||
ret.accFaulted = cp.vl["TCS"]["ACCEnable"] != 0 # 0 ACC CONTROL ENABLED, 1-3 ACC CONTROL DISABLED
|
ret.accFaulted = cp.vl["TCS"]["ACCEnable"] != 0 # 0 ACC CONTROL ENABLED, 1-3 ACC CONTROL DISABLED
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user