From fc062222d495018acfcfc709254ff65a3550074b Mon Sep 17 00:00:00 2001 From: Gijs Koning Date: Thu, 16 Jun 2022 19:41:51 +0200 Subject: [PATCH] Cast gpstimeofweek to int old-commit-hash: d4886b2c2995db88d9bc9f7d7cf3f7cb9def5b12 --- selfdrive/locationd/laikad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/locationd/laikad.py b/selfdrive/locationd/laikad.py index 8ec570e2be..6fd70875ac 100755 --- a/selfdrive/locationd/laikad.py +++ b/selfdrive/locationd/laikad.py @@ -201,7 +201,7 @@ def create_measurement_msg(meas: GNSSMeasurement): c.ephemerisSource.type = source_type.value c.ephemerisSource.gpsWeek = week - c.ephemerisSource.gpsTimeOfWeek = time_of_week + c.ephemerisSource.gpsTimeOfWeek = int(time_of_week) return c