gpsd-dev
[Top][All Lists]
Advanced

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

[gpsd-dev] [PATCH 2/2] skyview.php now works


From: Sanjeev Gupta
Subject: [gpsd-dev] [PATCH 2/2] skyview.php now works
Date: Thu, 26 Mar 2015 23:41:15 +0800

---
 contrib/README      | 12 ++++--------
 contrib/skyview.php |  3 +--
 2 files changed, 5 insertions(+), 10 deletions(-)

diff --git a/contrib/README b/contrib/README
index 75c4684..745d1d5 100644
--- a/contrib/README
+++ b/contrib/README
@@ -43,20 +43,16 @@ sees a state change it emits a timestamped line of output 
dumping the state
 of the handshake signals. It's useful for checking whether a device is
 emitting 1PPS.  There is troubleshooting advice in the header comment.
   
-------
-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. It is currently being updated
-by Sanjeev Gupta]
-
 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 requires about 24hrs worth of "Y" messages and
+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.]
 
diff --git a/contrib/skyview.php b/contrib/skyview.php
index ea4d9c5..38869d8 100755
--- a/contrib/skyview.php
+++ b/contrib/skyview.php
@@ -1,4 +1,3 @@
-#!/usr/local/bin/php
 <?php
 
 # Copyright (c) 2006,2007 Chris Kuethe <address@hidden>
@@ -18,7 +17,7 @@
 $cellmode = 0;
 if ($argc != 3){
        if (($argc != 4) || strcmp("cells", $argv[3])){
-               die("usage: ${argv[0]} count imagefile [cells]\n");
+               die("usage: ${argv[0]} count imagefile.png [cells]\n");
        } else {
                $cellmode = 1;
        }
-- 
2.1.4




reply via email to

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