diff --git a/laika_repo b/laika_repo index 3ce2628dfc..c8bc1fa01b 160000 --- a/laika_repo +++ b/laika_repo @@ -1 +1 @@ -Subproject commit 3ce2628dfc8ddba1769c518f90275e3caca9e8c6 +Subproject commit c8bc1fa01be9f22592efb991ee52d3d965d21968 diff --git a/selfdrive/sensord/rawgps/rawgpsd.py b/selfdrive/sensord/rawgps/rawgpsd.py index e3336f4870..7c4582902b 100755 --- a/selfdrive/sensord/rawgps/rawgpsd.py +++ b/selfdrive/sensord/rawgps/rawgpsd.py @@ -211,7 +211,8 @@ def main() -> NoReturn: gps.altitude = report["q_FltFinalPosAlt"] gps.speed = math.sqrt(sum([x**2 for x in vNED])) gps.bearingDeg = report["q_FltHeadingRad"] * 180/math.pi - gps.unixTimestampMillis = GPSTime(report['w_GpsWeekNumber'], 1e-3*report['q_GpsFixTimeMs']).as_datetime().timestamp()*1e3 + gps.unixTimestampMillis = GPSTime(report['w_GpsWeekNumber'], + 1e-3*report['q_GpsFixTimeMs']).as_unix_timestamp()*1e3 gps.source = log.GpsLocationData.SensorSource.qcomdiag gps.vNED = vNED gps.verticalAccuracy = report["q_FltVdop"]