MADS: don't show cruiseEngageBlocked when in standstill (#52)

This commit is contained in:
Jason Wen
2023-03-12 15:48:41 -04:00
committed by GitHub
parent c1aa7b078c
commit 97b21eb0dd
+1 -1
View File
@@ -531,7 +531,7 @@ class CarInterfaceBase(ABC):
events.add(EventName.silentButtonEnable)
else:
events.add(EventName.buttonEnable)
if cs_out.disengageByBrake and enable_pressed_long:
if cs_out.disengageByBrake and not cs_out.standstill and enable_pressed_long:
events.add(EventName.cruiseEngageBlocked)
if cs_out.cruiseState.enabled: