2

I am using QSTARZ 818XT device for my app. I am using GPGGA sentences to get the GPS fixes, but I have noticed that timings are always rounded like xxxxxx.000 - for 1Hz GPS frequency and xxxxxx.x00 for 10 Hz GPS frequency.

Why is this happening? Is that something device specific? Can I trust these timings or should I make some corrections? My app does not function in real time, but it really needs those milliseconds.

2
  • 1
    I ran into the same issue with a few of my devices. I don't recall specifically which ones but I use various devices such as the Garmin GLO, the Adafruit Ultimate GPS, a few from Sparkfun. In the end, my solution didn't NEED that level of timing precision. I needed a way to keep the sentences in the correct order so I added a numerical ID to each sentence as it came in to my NMEA sentence processor. Jan 27, 2016 at 20:48
  • @DenaliHardtail - thanks for sharing your experience!
    – Alex
    Jan 28, 2016 at 9:52

2 Answers 2

1

It's unlikely that the times are being rounded. By their nature GPS receivers have an extremely precise notion of time and almost always align their observations to the measurement edge of the GPS second. For example, see section 6.2 of the u-blox receiver protocol manual, which indicates the observations are constrained to be within 1 ms of the requested interval.

This is often not documented in consumer devices, so I suppose there are some that may not be precise, but I would feel safe assuming they are accurate to within the number of significant digits of the NMEA time.

0
0

https://www.u-blox.com/sites/default/files/products/documents/u-blox7-V14_ReceiverDescriptionProtocolSpec_%28GPS.G7-SW-12001%29_Public.pdf

In the same PDF manual that J Hayward cited also says that "In NMEA messages it is always reported rounded to the nearest hundredth of a second". That is in section 6.4. So the milliseconds are always rounded from what this says. But im not sure if that means all NMEA sentences that report milliseconds are rounded before being sent to the device on the ground no matter what.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.