ignore pre enable with mads

This commit is contained in:
Jason Wen
2024-12-12 23:23:41 -05:00
parent 13094cad29
commit 7fd83f056a
+2
View File
@@ -103,6 +103,8 @@ class ModularAssistiveDrivingSystem:
if self.state_machine.state == State.paused:
self.events.add(EventName.silentLkasEnable)
self.events.remove(EventName.preEnableStandstill)
if self.events.has(EventName.pcmEnable) or self.events.has(EventName.buttonEnable):
update_unified_engagement_mode()
else: