From da9030a4663b5788e5069077a1dc2eddb2bb1b45 Mon Sep 17 00:00:00 2001 From: Kurt Nistelberger Date: Mon, 26 Dec 2022 23:48:52 -0800 Subject: [PATCH] update laikad --- selfdrive/locationd/laikad.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/selfdrive/locationd/laikad.py b/selfdrive/locationd/laikad.py index 1f13c2b69a..caf444dd7b 100755 --- a/selfdrive/locationd/laikad.py +++ b/selfdrive/locationd/laikad.py @@ -409,8 +409,11 @@ def main(sm=None, pm=None, qc=None): msg = process_msg(laikad, gnss_msg, sm.logMonoTime[raw_gnss_socket], replay) if msg is None: + # TODO: beautify this, locationd needs a valid message, otherwise engagement + # will not be allowed, either send nothing or a valid msg + # check this with replay tests msg = messaging.new_message("gnssMeasurements") - msg.valid = False + msg.valid = True pm.send('gnssMeasurements', msg)