summaryrefslogtreecommitdiff
path: root/contrib
Commit message (Collapse)AuthorAgeFilesLines
...
* Revert "Add clock_gettime in contrib."Gary E. Miller2018-01-252-112/+0
| | | | | | This reverts commit fb67eea6594bf9214e179ecc0c273e0fecb5bfda. Whoops. I accidently pushed some work in progress with clock_gettime.
* Add clock_gettime in contrib.Gary E. Miller2018-01-222-0/+112
| | | | This program measures the latency of the clock_gettime() system call.
* Clean up C and Python code-checker warnings.Eric S. Raymond2017-09-061-1/+2
|
* ntpshmviz: change -H to traditional -h.Gary E. Miller2017-06-301-2/+2
|
* ntpshmviz patchKeane Wolter2016-09-271-3/+11
| | | | | | | | | | | | | | Hi Eric, Just a couple exceptions for making sure matplotlib is installed and math is being done on numbers. Keane >From b4bbe0658d8a0887b61871e82bc9f4f095777b31 Mon Sep 17 00:00:00 2001 From: Keane Wolter <daemoneye2@gmail.com> Date: Wed, 21 Sep 2016 21:23:19 -0400 Subject: [PATCH] Added exceptions for math operation and matplotlib
* Fixes contrib/gpsData.py for Python 3.Fred Wright2016-09-221-21/+26
| | | | | | | TESTED: Ran with all supported Python versions. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Excludes unknown-position sats from skyview displays.Fred Wright2016-09-221-1/+4
| | | | | | | | | | | | | | | In some cases, the elevation and azimuth information are missing (i.e., reported as 0) for some satellites. E.g., the Navika-100 receiver fails to report positions for SBAS satellites. This change avoids showing such satellites at the "north point" of the display. They are *not* excluded from the textual list. TESTED: Ran xgps, xgpsspeed, and webgps.py against data from a Navika-100 receiver, and verified that the SBAS satellites are no longer inappropriately shown at the top. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Adds explicit recipe for strl "library" in contrib/Fred Wright2016-09-221-2/+5
| | | | | | | | | | Although this is a don't-care for the current setup, if a "library- like" object is included as a source for multiple programs with different flag settings, SCons warns about building the same object with different environments. Building such objects separately avoids that. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Adds missing includes to contrib/ programs.Fred Wright2016-09-224-1/+5
| | | | | | | TESTED: All programs now build without warnings on OSX. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Removes obsolete ppscheck references from contrib/SConstruct.Fred Wright2016-09-221-2/+3
| | | | | | | | | Also adds comment regarding gpsd_config.h requirement. TESTED: Default build now succeeds. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Add a nice gpsd Python client example.Gary E. Miller2016-09-121-0/+64
| | | | Thanks to "Dan Mandle <dan@mandle.me>"
* bzero() is gone in POSIX 2008. Use memset()Gary E. Miller2016-08-152-4/+4
| | | | Also two #defines for gpspipe.c
* usleep() is removed from POSIX-2008. Replace with nanosleep()Gary E. Miller2016-08-154-5/+23
| | | | I sure hope I did not drop a zero anywhere...
* Make ppcheck a full fledged program, with man page.Gary E. Miller2016-07-282-137/+0
| | | | | This tool makes it easy for the newbie to unambiguous verify that his GPS has PPS.
* Add -h and -V options, plus usage()Gary E. Miller2016-07-271-5/+34
|
* Too many digits in nanoSecsGary E. Miller2016-07-271-1/+1
|
* Add header and improve output formatting in ppscheck.cGary E. Miller2016-07-271-1/+2
|
* Make ntpshmviz display as an impulse plot and made it Python 3 compatible.Keane Wolter2016-07-131-114/+55
|
* Fixes contrib/webgps.py for Python 3.Fred Wright2016-04-163-14/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | Since the import fallback hack doesn't work properly in Python 3, this gets rid of it and adds a symlink to make the 'gps' package directory directly available here (similar to what was done in devtools). It then makes a few minor fixes for Python 3. The default Python 3 pickle protocol 3 doesn't work in Python 2, but protocol 2 doesn't work correctly in this case either, so there doesn't seem to be any way to make the tracks file backward-compatible. Thus, it just uses the default protocol and punts at load time if the load fails. This change also fixes the reversed skyview, for consistency with pretty much everything else. There was one case where it crashed with a "dictionary changed size" error that appeared to be due to the delete_stale method's deleting a dictionary entry while scanning it, which is a no no. This has also been fixed. Also adds the result files to .gitignore. TESTED: Ran with both Python 2 and Python 3. This included one run of over three hours without any more crashes.
* Move reference ais-nmea-sample file out to contribJon Schlueter2016-01-252-0/+252901
| | | | | | | Useful reference set of sentences but not as useful as part of regression data Took over 45 minutes on one architecture.
* Stop rounding nSec timespecs to 10 uSec. Fix divide by zero.Gary E. Miller2015-05-081-5/+10
| | | | | | | A timespec does not fit in a Python float. It does fit in a Numpy float128. Stop throwing away precision! Thanks to DrDaemonEye and Jon Schlueter <jon.schlueter@gmail.com>
* Remove unneeded imports from webgps.pySanjeev Gupta2015-04-281-1/+1
|
* Remove another SPLINTGary E. Miller2015-03-301-2/+0
|
* Write scan-build suppressions to it runs clean.Eric S. Raymond2015-03-301-11/+13
| | | | | | Promote scan-build to be onere of the stock pre-release checks. Fix one minor cppcheck nit.
* Rewrite of contrib/ntpshmvizKeane Wolter2015-03-301-61/+46
| | | | | | | | | | | | | | | * Cleaned up comments throughout the script * Made a couple variables in the create_Striptableau function local to that function * Calculated the spread between the upper and lower edges of each ntp data set to use in setting several variables in the vertical adjustment of each graph * Used that soread for setting the page increment, page size, and step increment * Removed the create_text function. It was not being used. * Added an if statement to check for lines commented out and adjusted the data input accordingly. * Added an explicit exit command when the program finishes.
* Clean up code, now that it works.Sanjeev Gupta2015-03-281-26/+26
|
* Remove trailing whitespaceGary E. Miller2015-03-261-7/+7
|
* Document skyview.phpSanjeev Gupta2015-03-261-2/+17
| | | | | | Added comments and removed debugs. Signed-off-by: Gary E. Miller <gem@rellim.com>
* skyview.php now worksSanjeev Gupta2015-03-262-10/+5
| | | | Signed-off-by: Gary E. Miller <gem@rellim.com>
* Update skyview.php to work with modern GPSDSanjeev Gupta2015-03-262-10/+65
| | | | | | The original program was by Chris Kuethe <chris.kuethe@gmail.com> Signed-off-by: Gary E. Miller <gem@rellim.com>
* Updating documentation in contrib/Sanjeev Gupta2015-03-251-6/+6
| | | | | | Built and tested ppscheck. Signed-off-by: Gary E. Miller <gem@rellim.com>
* Updating documentation in contrib/Sanjeev Gupta2015-03-251-6/+9
| | | | | | Tested that webgps.py works, and updated README Signed-off-by: Gary E. Miller <gem@rellim.com>
* Updating documentation in contrib/Sanjeev Gupta2015-03-251-5/+8
| | | | | | maxstats.pl no longer works, since GPSD NG (2.90) Signed-off-by: Gary E. Miller <gem@rellim.com>
* Updating documentation of contrib/Sanjeev Gupta2015-03-251-8/+14
| | | | | | skyview.php no longer works, since GPSD NG, (2.90) Signed-off-by: Gary E. Miller <gem@rellim.com>
* Revert "Removed contrib/skyview.php amd contrib/maxsats.pl, they used the ↵Gary E. Miller2015-03-253-1/+318
| | | | | | | | old protocol." This reverts commit 0dac112485e7a7117bd9ac735625f20e10750e79. Sanjeev Gupta wants a chance to fix the old programs.
* Minor repair to motosend.c.Eric S. Raymond2015-03-241-2/+2
|
* Removed contrib/skyview.php amd contrib/maxsats.pl, they used the old protocol.Eric S. Raymond2015-03-243-318/+1
|
* It only makes sense to look for 1PPS on DCE signals. Add an explanation.Eric S. Raymond2015-03-182-5/+9
| | | | All regressiion tests pass.
* Add ppscheck to the contrib/ default build.Eric S. Raymond2015-03-171-1/+2
|
* In contrib/ppscheck, track a recent change to the thread monitor.Eric S. Raymond2015-03-171-2/+3
|
* Updated version of ntpshmviz.Keane Wolter2015-03-171-88/+83
| | | | | | | | | | | | New features: 1. Exaggerate vertical scale so we can actually see features. 2. Exit button - WM might be a tiler like i3. 3. Program dynamically handles any number of NTP units. Plotting sometime fails due to divide-by-zero, however.
* Update ntpshmviz's to-do list.Eric S. Raymond2015-03-021-1/+2
|
* Make ntpshmviz read data from stdin.Eric S. Raymond2015-03-021-36/+36
| | | | Also drift -> offset. And add a to-do list.
* First cut at NTP offset visualization utility.Keane Wolter2015-03-021-0/+178
|
* Full splint cleanup. Partial cppcheck cleanup.Eric S. Raymond2013-11-052-5/+6
|
* Polish ppscheck.Eric S. Raymond2013-10-282-7/+24
|
* Add watch for DSR.Eric S. Raymond2013-10-281-1/+20
|
* Add contrib/ppscheck utility to test for 1PPS without a lot of code complexity.Eric S. Raymond2013-10-272-0/+69
|
* Fold in Beat Bolli's ntpoffset script.Eric S. Raymond2013-10-222-0/+14
|
* webgps.py: add documentationBeat Bolli2013-10-221-5/+34
|