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: Gary E. Miller
Subject: Re: [gpsd-dev] SiRF gpsmon client mode
Date: Thu, 12 Feb 2015 15:41:51 -0800

Yo Hal!

On Thu, 12 Feb 2015 15:33:25 -0800
Hal Murray <address@hidden> wrote:

> 
> 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.

Yeah, you could shave 3 or 6 digits off the right.  My personal taste
is I hate decimal points moving around...  And you prolly still want to
know the milliSec's.

> 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.

Would %.12s work?

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97701
        address@hidden  Tel:+1(541)382-8588



reply via email to

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