| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
A tilda, not a dash.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Plus the man page.
This work supported by the kind generatosity of Virgin Orbit.
|
| |
|
|
|
|
| |
Make alt_sum always a float.
|
|
|
|
|
|
|
|
| |
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Fred Wright <fw@fwright.net>
TESTED:
Verified that gpsprof still produces output. - fw
|
|
|
|
|
|
|
|
|
|
|
| |
This doesn't fix all complaints by pylint, but significantly
reduces their number. Ditto for pep8 complaints.
Also makes a couple of related cosmetic edits.
TESTED:
Ran "scons build-all check" with no errors.
Both "pylint" and "pep8" targets report fewer issues.
|
| |
|
|
|
|
|
|
|
|
|
| |
In general, tabs are a bad idea in Python, and Python is getting
pickier about mixing tabs and spaces. This instance caused Python 3.6
to barf.
TESTED:
Now works with Python 3.6.
|
| |
|
| |
|
|
|
|
|
| |
Other programs can use it. The accuracy looks good, not great, but
WAY better than EarthDistance() and small angles.
|
|
|
|
|
|
|
|
| |
At small angles EarthDistance blows up. EarthDistanceSmall
uses an "Equirectangular Projection" to improve accuracy at
small angles.
Next up is to add ellipsoid corrction for lattitude.
|
|
|
|
| |
We need to represent numbers like: 121.314064921 accurately.
|
|
|
|
| |
Basically %.7f becomes %.9f. Still in testing.
|
| |
|
| |
|
|
|
|
| |
When using '-T png' the plots were too small.
|
|
|
|
|
|
|
| |
* use requires_time flag
* do not use dropped TAG field.
Signed-off-by: Gary E. Miller <gem@rellim.com>
|
|
|
|
| |
This is in preparation for cm-level accuracy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Although this isn't strictly a Python 3 requirement, using the
new-style class definition syntax improves consistency between Python
2 and Python 3. Old-style classes have been deprecated since Python
2.2, but many such definitions linger on. Python 3 eliminates
old-style classes, but instead of complaining about old-style
definitions, it simply unconditionally and silently makes all classes
new-style. The only incompatible differences are quite subtle and
rarely matter in practice, but things are more consistent across
versions if the new-style definitions are used.
Also, the preferred method for subclasses to invoke parent init
methods is via the super() construct, which is only available with
new-style classes. Using super() is especially useful with multiple
inheritance, which it handles automatically (provided that the init
methods have compatible signatures).
TESTED:
Using an SConstruct patched to run the build helpers with the target
Python, ran "scons build-all check ", as well as gpsprof and xgps,
with all six supported Python versions (except 2.6 for xgps).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes the "future import" statements consistently specify
absolute_import, print_function, and division, for maximum consistency
between Python 2 and Python 3. Although absolute_import is probably a
don't care for top-level programs, if unit tests were ever implemented
for the programs they would be imported as modules, making the module
import behavior relevant.
Note that previous Python 3 fixes are a prerequisite for this change.
Also makes the "polyglot comment" consistent across sources.
TESTED:
Using a version of SConstruct patched to use the target Python for
build helpers, ran "scons build-all check valgrind-audit
www/hardware.html" with all six supported Python versions. Also ran
gegps, gpscat, gpsprof, xgps, and xgpsspeed with both Python 2 and
Python 3.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
The dict-without-values construct as a set initializer doesn't
work in Python 2.6, though the usual set constructor does.
This is not a recent bug.
TESTED:
Verified that gpsprof now works in Python 2.6, 2.7, 3.3, 3.4, and 3.5,
at least in the TPV mode. Unable to test the PPS cases since gpsd
doesn't recognize my PPS source (but the syntax is identical).
|
|
|
|
|
|
|
| |
Verified by testing gpsprof under both versions. leapecond.py is also OK.
Not yet polyglot: gegps, gpscap.py, gpscat, gpsfake, jsongen.py, maskaudit.py,
test_maidenhead.py, valgrind_audit.py, xgps, xgpsspeed.
|
|
|
|
|
|
| |
For the moment most shebang lines still say 'python2' rather than just 'python'.
This is because the client code in gps/ hasn't been touched yet; the internal
imports break under Python 3 and that needs to be fixed.
|
|
|
|
|
| |
large scale autopep8 cleanup of several
pep8 whitespace warnings
|
|
|
|
|
|
| |
Before it didn't print any serial parameters.
Signed-off-by: Nuno Goncalves <nunojpg@gmail.com>
|
| |
|
|
|
|
|
|
| |
We've learned that Ubuntu 15.10 will have python3 as default. The ugly
transition gas befun; our only recourse is to hape that all our deployment
targets have 'pyton2' do the right thing. Works on 14.10.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
All regression tests pass with pps=tru or pps=false, PPS is live.
|