let's make sure it cleared on every loop

This commit is contained in:
Jason Wen
2025-01-20 10:08:00 -05:00
parent 446b03a68a
commit 0a45b32c82
+1
View File
@@ -151,6 +151,7 @@ class SelfdriveD(CruiseHelper):
"""Compute onroadEvents from carState"""
self.events.clear()
self.events_sp.clear()
if self.sm['controlsState'].lateralControlState.which() == 'debugState':
self.events.add(EventName.joystickDebug)