summaryrefslogtreecommitdiff
path: root/gpsprof
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-03-25 22:44:14 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-03-25 22:44:14 +0000
commit8d50fff82a144df11716e857b4baff2f8a7eac97 (patch)
treedabf5f22a169e6d1e8459551c7e2cd4f956e0857 /gpsprof
parentac1e81f23b4ed92794f66b3a88d1fb7094bd28fa (diff)
downloadgpsd-8d50fff82a144df11716e857b4baff2f8a7eac97.tar.gz
Dang those pesky 1-character transpositions!
Diffstat (limited to 'gpsprof')
-rwxr-xr-xgpsprof5
1 files changed, 3 insertions, 2 deletions
diff --git a/gpsprof b/gpsprof
index 1f2602f5..f1d6b9e9 100755
--- a/gpsprof
+++ b/gpsprof
@@ -42,8 +42,9 @@ class spaceplot:
self.fixes = []
self.fp = fp
def gather(self, session):
- # Include altitude, not used here, for 3D plot experiments
- self.fixes.append((session.latitude, session.longitude, session.latitude))
+ # Include altitude, not used here, for 3D plot experiments.
+ # Watch out for the ALTITUDE_NOT_VALID value from gps.py.
+ self.fixes.append((session.latitude, session.longitude, session.altitude))
return True
def data(self, session):
self.fp.write("# Position uncertainty, %s, %s, %ds cycle\n" % \