mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-21 22:12:05 +08:00
Check average frequency in SubMaster (#20558)
This commit is contained in:
+1
-1
Submodule cereal updated: e1741865f8...56c7050fad
@@ -188,7 +188,7 @@ def radard_thread(sm=None, pm=None, can_sock=None):
|
||||
if can_sock is None:
|
||||
can_sock = messaging.sub_sock('can')
|
||||
if sm is None:
|
||||
sm = messaging.SubMaster(['modelV2', 'carState'])
|
||||
sm = messaging.SubMaster(['modelV2', 'carState'], check_average_freq=False) # Can't check average frequency, since radar is slower than carState
|
||||
if pm is None:
|
||||
pm = messaging.PubMaster(['radarState', 'liveTracks'])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user