gps_position: convert uint64 timestamp_time -> int32 timestamp_time_relative

We need to make this timestamp relative to the main timestamp. Necessary
for replay, and saves some space.
This commit is contained in:
Beat Küng
2016-06-24 00:22:01 +02:00
committed by Lorenz Meier
parent e2a7145379
commit f8e9a19889
5 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ float32 vel_d_m_s # GPS Down velocity, (metres/sec)
float32 cog_rad # Course over ground (NOT heading, but direction of movement), -PI..PI, (radians)
bool vel_ned_valid # True if NED velocity is valid
uint64 timestamp_time # Time of the UTC timestamp since system start, (microseconds)
int32 timestamp_time_relative # timestamp + timestamp_time_relative = Time of the UTC timestamp since system start, (microseconds)
uint64 time_utc_usec # Timestamp (microseconds, UTC), this is the timestamp which comes from the gps module. It might be unavailable right after cold start, indicated by a value of 0
uint8 satellites_used # Number of satellites used