mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-05 08:16:06 +08:00
controlsd: fix soft disable while overriding (#24178)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user