This commit is contained in:
Jason Wen
2024-12-13 09:46:13 -05:00
parent 81b273847f
commit 4b15a94e09
+1 -1
View File
@@ -148,7 +148,7 @@ class ModularAssistiveDrivingSystem:
self.mismatch_counter = 0
if self.active and any(not ps.controlsAllowedLat for ps in sm['pandaStates']
if ps.safetyModel not in IGNORED_SAFETY_MODES):
if ps.safetyModel not in IGNORED_SAFETY_MODES):
self.mismatch_counter += 1
def update(self, CS: car.CarState, sm: messaging.SubMaster):