gpsd-dev
[Top][All Lists]
Advanced

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

Re: [gpsd-dev] SiRF gpsmon client mode


From: Hal Murray
Subject: Re: [gpsd-dev] SiRF gpsmon client mode
Date: Thu, 12 Feb 2015 15:33:25 -0800

address@hidden said:
> With one twist in gpsmon.  Any PPS offset over a day is likely junk and
> is replaced with "> 1day".  So the larget string gpsmon will see is:
>       "-86399.123456789" 

> I saw the constant 22 there and a bunch of other places. ...


You don't actually need that much space.  If it's off by many seconds, you 
don't care about the nanoseconds.

If 12 spaces (sign, digit, decimal point, 9 digits) is good enough for the 
normal cases, I'd be happy with that width in the nasty case.  Just drop as 
many low digits as it takes to make it fit.


-- 
These are my opinions.  I hate spam.






reply via email to

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