Gary E. Miller 1177ba9cab various: Fix codacy style nits. 2 years ago
..
ais-samples e4cb93e16e Move reference ais-nmea-sample file out to contrib 8 years ago
apparmor a1b81ca510 contrib/apparmor/usr.sbin.gpsd: Add missing device name. 3 years ago
.gitignore 3572ff3f09 Fixes contrib/webgps.py for Python 3. 8 years ago
README bc5c1b4119 Fix spelling 4 years ago
SConstruct e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
ashctl.c e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
binlog.c e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
binreplay.c e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
clock_test.c f563863419 contrib: Scrub (c) from Copyright statement 4 years ago
gpsData.py 410b7e9e37 Ubuntu has abolished /usr/bin/python, change shebangs to python3. 3 years ago
gpsd-dbus.c 97ffe458da contrib/gpsd-dbus.c: New program to read gpsd d-bus. 4 years ago
gpssim.py 1177ba9cab various: Fix codacy style nits. 2 years ago
lla2ecef.c e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
maxsats.pl e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
motosend.c e08c694d15 contrib: Remove subsequent years from Copyright statement 4 years ago
ntpoffset 0c47b03d1c Fix typos 4 years ago
ntpshmviz.py.in e9497f12e2 contrib/ntpshmviz.py.in: Fix Codacy nit. 3 years ago
skyview.php 0decf76e28 minor nits for webby things. 4 years ago
skyview2svg.py.in f62b0b6f56 contrib/skyview2svg.py.in: Codacy, unneeded else. 4 years ago
webgps.py.in 7ff5107f33 contrib/webgps.py.in: Minor PEP8 tweaks. 3 years ago

README

The following tools are not production-ready. They are included only as
conveniences, examples or rudimetary starting points for other development
efforts.

skyview2svg reads the skyview from gpspipe, and creates an svg image
of the skyview.

gpssnmp a tool to return some SNMP values from the running local gpsd.

clock_test is used to test the latency of the system call clock_gettime().

binlog and binreplay are probably only useful for people developing
drivers for new protocols, when gpsfake does not yet know what to do
with a log file. These utilities are not particularly clever - they
merely slurp a tty's output into a file, or spray the contents of a
file out of a tty.

ashctl might be used to reset an uncooperative Ashtech receiver to
a usable state. For whatever reason sometimes they do not respond to
a protocol switch command; this spams the receiver with configuration
commands, and hopefully it listens.

motosend is like ashctl, but for receivers that use the motorola
protocol (like motorola oncore or rockwell jupiter). it's a little
buggy with syncing up to the start of a packet, but it'll send control
strings OK.

lla2ecef transforms latitude/longitude/altitude (aka north-east-up or local
tangential plane) coordinates into the earth-centered-earth-fixed frame. If
invoked as "ecef2lla" it will transform coordinates in the opposite manner.

------
The files below have been tested to work with gpsd v3.14, as of 2015-03-23

webgps.py draws a sky view of the satellites and their tracks using HTML5. It
needs to run continuously in order to build a history and generate the
satellite tracks. Your browser must be able to display the element to
display the satellite view properly. webgps.py can be called with the argument
"c" to run continuously, with an integer duration and a unit suffix to run this
long (units allowed are "s", "m", "h" and "d", e.g. "4h"), or without argument
to create a snapshot of the current sat view.

ntpoffset generate an estimate of your GPS's offset from a peerstats
file. For instructions on how to use this script, see the GPSD Time
Service HOWTO in this distribution, in the www/ subdirectory.

skyview.php is used to generate pictures of your skyview, and may be
used to help determine if a given antenna placement is appropriate for
some purpose. This tool take a count of samples to collect from GPSD, and
outputs an image of accumulated SV position and signal strength. It is
sometimes entertaining to "see" occulted SVs using multipath. You must
have the PHP-GD library installed to use this script.

------
The files below do not work with current versions of gpsd.

[The GPSD protocol changed in 2.90, and messages emitted are no longer
of the form that this script expects.]

maxsats.pl analyzes a collection of "Y" messages and outputs records
describing periods of excellent visibility (ie. 10 or more PRNs tracked).
With over 30 SVs on orbit, there are periods where 14 PRNs are above the
horizon, 13 are tracking, and at least 12 are actually used in a solution.