README 3.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. The following tools are not production-ready. They are included only as
  2. conveniences, examples or rudimetary starting points for other development
  3. efforts.
  4. skyview2svg reads the skyview from gpspipe, and creates an svg image
  5. of the skyview.
  6. gpssnmp a tool to return some SNMP values from the running local gpsd.
  7. clock_test is used to test the latency of the system call clock_gettime().
  8. binlog and binreplay are probably only useful for people developing
  9. drivers for new protocols, when gpsfake does not yet know what to do
  10. with a log file. These utilities are not particularly clever - they
  11. merely slurp a tty's output into a file, or spray the contents of a
  12. file out of a tty.
  13. ashctl might be used to reset an uncooperative Ashtech receiver to
  14. a usable state. For whatever reason sometimes they do not respond to
  15. a protocol switch command; this spams the receiver with configuration
  16. commands, and hopefully it listens.
  17. motosend is like ashctl, but for receivers that use the motorola
  18. protocol (like motorola oncore or rockwell jupiter). it's a little
  19. buggy with syncing up to the start of a packet, but it'll send control
  20. strings OK.
  21. lla2ecef transforms latitude/longitude/altitude (aka north-east-up or local
  22. tangential plane) coordinates into the earth-centered-earth-fixed frame. If
  23. invoked as "ecef2lla" it will transform coordinates in the opposite manner.
  24. ------
  25. The files below have been tested to work with gpsd v3.14, as of 2015-03-23
  26. webgps.py draws a sky view of the satellites and their tracks using HTML5. It
  27. needs to run continuously in order to build a history and generate the
  28. satellite tracks. Your browser must be able to display the <canvas> element to
  29. display the satellite view properly. webgps.py can be called with the argument
  30. "c" to run continuously, with an integer duration and a unit suffix to run this
  31. long (units allowed are "s", "m", "h" and "d", e.g. "4h"), or without argument
  32. to create a snapshot of the current sat view.
  33. ntpoffset generate an estimate of your GPS's offset from a peerstats
  34. file. For instructions on how to use this script, see the GPSD Time
  35. Service HOWTO in this distribution, in the www/ subdirectory.
  36. skyview.php is used to generate pictures of your skyview, and may be
  37. used to help determine if a given antenna placement is appropriate for
  38. some purpose. This tool take a count of samples to collect from GPSD, and
  39. outputs an image of accumulated SV position and signal strength. It is
  40. sometimes entertaining to "see" occulted SVs using multipath. You must
  41. have the PHP-GD library installed to use this script.
  42. ------
  43. The files below do not work with current versions of gpsd.
  44. [The GPSD protocol changed in 2.90, and messages emitted are no longer
  45. of the form that this script expects.]
  46. maxsats.pl analyzes a collection of "Y" messages and outputs records
  47. describing periods of excellent visibility (ie. 10 or more PRNs tracked).
  48. With over 30 SVs on orbit, there are periods where 14 PRNs are above the
  49. horizon, 13 are tracking, and at least 12 are actually used in a solution.