Logged GPS Time

Hi

What time is being logged in the “GPS_GPSTime” parameter in the PX4 log file? Is this actual GPS time, i.e. the number of (micro) seconds from the GPS time epoch (06 Jan 1980)?

Just looking at the value and after some tests, it seems as if the time logged in “GPS_GPSTime” is actually Unix time in micro seconds?

Thanks,
Jan-Cor

Hi @JanCor
You can take a look at the code for ublox here. https://github.com/PX4/GpsDrivers/blob/448f1e657736a1e326194a0a79817ccf36644ef8/src/ubx.cpp#L1025

Hi dagar, thanks for the feedback. I did have a look at the code, but would like to hear another conclusions on what is actually being logged.

I.e. is it in fact time in a Unix format that is logged. Thus, micro seconds from the Unix epoch (01 Jan 1970) and NO leap seconds added? It is thus neither GPS time, nor UTC as the variable name in the code suggests.

Thanks,
Jan-Cor