controlsd: fix soft disable while overriding (#24178)

old-commit-hash: 37fc027e98b6a0a56e430b14ca4610c22280a068
This commit is contained in:
Adeeb Shihadeh
2022-04-11 10:50:00 -07:00
committed by GitHub
parent 9ce9e38cf7
commit 5ff61e95ad
+1 -1
View File
@@ -541,7 +541,7 @@ class Controls:
# Check which actuators can be enabled
CC.latActive = self.active and not CS.steerFaultTemporary and not CS.steerFaultPermanent and \
CS.vEgo > self.CP.minSteerSpeed and not CS.standstill
CC.longActive = self.active and self.state != State.overriding
CC.longActive = self.active and not self.events.any(ET.OVERRIDE)
actuators = CC.actuators
actuators.longControlState = self.LoC.long_control_state