gpsd-users
[Top][All Lists]
Advanced

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

Re: gpsrinex - smaller than 1s epoch interval


From: Gerry Creager - NOAA Affiliate
Subject: Re: gpsrinex - smaller than 1s epoch interval
Date: Wed, 20 May 2020 20:30:17 +0000

Felix!

Please define "pretty fast" and why you think you need 100ms.

gerry

On Tue, May 19, 2020 at 4:51 AM felix <address@hidden> wrote:

Hi,

so i set up gpsd with rinex to output an epoch every 1s. For my application, pretty fast moving, it would be great to output data more often then every 1s, say every 100ms. The Gps, a u-blox F9, is certainly fast enough, to acquire enough raw data - 40hz are the max for HW.

In the the current 3.20 code the --interval seems to be clipped to 1, as  internally time is kept as an integer in seconds:

if (sample_interval < 1)
    sample_interval = 1;

from (https://fossies.org/linux/gpsd/gpsrinex.c)

Would it require a lot of changes to track time internally not in seconds but in nanoseconds, so that we would get more precise control over epoch duration? e.g. gpsrinex -i 0.1 Are there any fundamental reasons that make this hard or impossible?

Cheers Felix



--
Gerry Creager
NSSL/CIMMS
405.325.6371
++++++++++++++++++++++
The way to get started is to quit talking and begin doing.
   Walt Disney

reply via email to

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