mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-07-25 19:32:03 +08:00
Frame drop: only allow 1percent (#38127)
This commit is contained in:
@@ -418,7 +418,7 @@ class SelfdriveD:
|
||||
|
||||
# TODO: fix simulator
|
||||
if not SIMULATION or REPLAY:
|
||||
if self.sm['modelV2'].frameDropPerc > 20:
|
||||
if self.sm['modelV2'].frameDropPerc > 1:
|
||||
self.events.add(EventName.modeldLagging)
|
||||
|
||||
# Decrement personality on distance button press
|
||||
|
||||
Reference in New Issue
Block a user