[Top][All Lists]

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

Re: [gpsd-users] TOFF and PPS values from gpspipe

From: Kaya Saman
Subject: Re: [gpsd-users] TOFF and PPS values from gpspipe
Date: Wed, 4 Sep 2019 03:08:27 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0

Yo Gary!

Just wanted to let you know that I'm pretty much done with getting the information from gpsd onto my LCD :-)

In the meantime I got advised to publish the code on Github so here's the repo:

I made it public just now ;-)

Basically the cool part is that when the button is pushed on the front panel the display changes to show different information.

There's still the remaining issue of the TOFF which I asked about initially. Basically what's happening is the gpsmon is coming up with a different value from the one published in the TOFF sentence.

Here's an example:

gpsmon shows: 0.709454834

while the value received in the sentence is this: 0.587889426

I don't know if it's relevant but I do have a 'fudge' value in my ntp.conf:

fudge time1 0.536 refid NMEA

Though I don't see how that can relate to the offset between 0.709 and 0.587??

I tried doing different things to get the same value as in gpsmon:

        #tofd=`echo "scale=9; (1-($ppsd+($tofdr/$csec)))+$ppsd" | bc -l`
        #cdate=`date +%s`
        #rgdate=`cat /tmp/ppsdmp | grep TOFF | cut -f 3 -d ',' | cut -f 2 -d ':'`
        #tofd=`echo "scale=9; ($cdate - $tofdr)" | bc -l`
        #tofd=`echo "scale=9; ($cdate - $rgdate)" | bc -l`

Unfortunately nothing worked :-( Maybe there's a simple solution which I'm just missing?

Best Regards,


reply via email to

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