mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-28 01:52:06 +08:00
Cast gpstimeofweek to int
old-commit-hash: d4886b2c2995db88d9bc9f7d7cf3f7cb9def5b12
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user