gpsd-users
[Top][All Lists]
Advanced

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

Correction to my MRTG program for GPSD


From: David Taylor
Subject: Correction to my MRTG program for GPSD
Date: Tue, 21 Sep 2021 11:18:53 +0100
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0

I've corrected a program which I understand may have been referred to in the GPS distribution. Previously I was only looping on satellites, but only up to the number used. I should have been looking at all the visible satellites and measuring those which were used. I recall Gary noting that my SNR values were lower than expected. This change resolves that issue.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      for(i=0;i<=used;i++) {

      for(i=0;i<visible;i++) {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

The update has been added to my Web page at:

  https://www.satsignal.eu/raspberry-pi/monitoring.html#gps

I'm unsure what else I may need to do.

I tested on a number of Raspberry Pi versions, but some other updates outside gpsd mean that gcc can't find lgps, and running install libgps-dev didn't resolve the error, and on another the installer couldn't find libgps-dev as the OS was too different. I've not chased these issues any further.

Thanks,
David
--
SatSignal Software - Quality software for you
Web: https://www.satsignal.eu
Email: david-taylor@blueyonder.co.uk
Twitter: @gm8arv


reply via email to

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