diff --git a/cereal b/cereal index 5980517c..efcbdb81 160000 --- a/cereal +++ b/cereal @@ -1 +1 @@ -Subproject commit 5980517cc9be96a3fc08d2398b5ff83c963df11c +Subproject commit efcbdb81ace2dfd52b9abf5099d416560a67c4e9 diff --git a/selfdrive/controls/radard.py b/selfdrive/controls/radard.py index 0649bcc5..105ee4c1 100755 --- a/selfdrive/controls/radard.py +++ b/selfdrive/controls/radard.py @@ -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'], check_average_freq=False) # Can't check average frequency, since radar is slower than carState + sm = messaging.SubMaster(['modelV2', 'carState'], ignore_avg_freq=['modelV2', 'carState']) # Can't check average frequency, since radar determines timing if pm is None: pm = messaging.PubMaster(['radarState', 'liveTracks']) diff --git a/selfdrive/locationd/locationd.py b/selfdrive/locationd/locationd.py index f7267f0c..76783939 100755 --- a/selfdrive/locationd/locationd.py +++ b/selfdrive/locationd/locationd.py @@ -294,7 +294,7 @@ def locationd_thread(sm, pm, disabled_logs=None): if sm is None: socks = ['gpsLocationExternal', 'sensorEvents', 'cameraOdometry', 'liveCalibration', 'carState'] - sm = messaging.SubMaster(socks, ignore_alive=['gpsLocationExternal']) + sm = messaging.SubMaster(socks, ignore_alive=['gpsLocationExternal'], ignore_avg_freq=['sensorEvents']) if pm is None: pm = messaging.PubMaster(['liveLocationKalman'])