summaryrefslogtreecommitdiff
path: root/contrib/webgps.py
Commit message (Collapse)AuthorAgeFilesLines
* Chnage version to 3.18.1release-3.18.1Gary E. Miller2018-10-191-1/+1
|
* 3.19!dev: Change revisions for 3.19~dev cycle.Gary E. Miller2018-10-021-1/+1
|
* Version bump to 3.18 for release.release-3.18Gary E. Miller2018-10-021-1/+1
|
* Python clients: Opps 3.18~dev, not 3.18-dev.Gary E. Miller2018-10-011-1/+1
| | | | A tilda, not a dash.
* webgps.py: Add gpsd version check. Fix crash bug.Gary E. Miller2018-09-211-5/+11
|
* webgps.py: pep8 cleanup.Gary E. Miller2018-07-261-0/+1
| | | | Note the program pep8 is now called pycodestyle
* contrib/webgps: isnan() -> isfinite()Gary E. Miller2018-07-141-6/+6
| | | | Thanks to Virgin Orbit for their support on this patch.
* webgps.py: fix for PEP8Gary E. Miller2018-06-201-21/+39
|
* 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>
* Fixes contrib/webgps.py for Python 3.Fred Wright2016-04-161-14/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Remove unneeded imports from webgps.pySanjeev Gupta2015-04-281-1/+1
|
* webgps.py: add documentationBeat Bolli2013-10-221-5/+34
|
* webgps.py: simplify command line handlingBeat Bolli2013-10-221-7/+4
|
* webgps.py: move the track drawing into class TrackBeat Bolli2013-10-221-8/+6
|
* webgps.py: fix errors when period is NoneBeat Bolli2013-10-221-5/+8
|
* webgps.py: set self.needsupdate correctlyBeat Bolli2013-10-221-3/+3
|
* webgps.py: fix import error when running directly from contrib/Beat Bolli2013-10-221-1/+5
|
* webgps.py: use the HTML5 <canvas> instead of SVGBeat Bolli2011-03-061-140/+192
| | | | | | This also cleans up the TABs in the Python source. Signed-off-by: Eric S. Raymond <esr@thyrsus.com>
* Add a Python port of Jason Hecker's webgps.pyBeat Bolli2011-01-051-0/+275
This client draws a sky view of the satellites and their tracks using HTML and SVG. It needs to run continuously in order to build a history and generate the satellite tracks. Your browser must be able to handle SVG to get the skymap display working properly.