discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] [USRP-users] Bug in GPS time reported by the USRP


From: Michael West
Subject: Re: [Discuss-gnuradio] [USRP-users] Bug in GPS time reported by the USRP
Date: Wed, 7 Dec 2016 10:26:29 -0800

Hi Eugene,

The sensor returns a time_t value, which is based on the Unix epoch.  Your application can translate that value however it needs.  You can also get the GPRMC NMEA string by calling USRP.get_mboard_sensor('gps_gprmc') and get the raw value from that if necessary.

Regards,
Michael

On Tue, Dec 6, 2016 at 6:25 PM, Dan CaJacob via USRP-users <address@hidden> wrote:
Hi Eugene,

Please check that time stamp here: http://www.unixtimestamp.com/index.php  It looks alright to me.  It *is* reporting the correct time in a unix timestamp format.  Maybe you are making a more subtle point about nomenclature?  As in the GPS epoch is not the same as the Unix timestamp epoch  in 1970?  In any event, a unix time stamp is fairly common, unambiguous way to specify a time.

Thanks,

Dan 

On Tue, Dec 6, 2016 at 8:19 PM Eugene Grayver <address@hidden> wrote:

This is being posted to both GR and Ettus forums because both groups should be aware.


The value returned by  USRP.get_mboard_sensor('gps_time') is incorrect.  It is NOT the GPS epoch, but is time relative to the UNIX epoch.  Only off by a decade or so...


'GPS epoch time: 1481073287 seconds'



________________________

Eugene Grayver, Ph.D.
Aerospace Corp., Sr. Eng. Spec.
Tel: 310.336.1274
________________________

_______________________________________________
Discuss-gnuradio mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
--
Very Respectfully,

Dan CaJacob

_______________________________________________
USRP-users mailing list
address@hidden
http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com



reply via email to

[Prev in Thread] Current Thread [Next in Thread]