| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Directly use RGB.
|
| |
|
|
|
|
| |
Remote X11 displays can not do mouseovers.
|
| |
|
| |
|
| |
|
|
|
|
| |
Output warning to stderr.
|
| |
|
|
|
|
| |
I thought xgps checked the JSON, but it does not.
|
|
|
|
| |
Modal was locking the popup for the timeout duration.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Also wants all class variables defined in __init__.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Thanks to Virgin Orbit for their support to improve xgps.
|
| |
|
| |
|
|
|
|
|
|
| |
This reverts commit fb67eea6594bf9214e179ecc0c273e0fecb5bfda.
Whoops. I accidently pushed some work in progress with clock_gettime.
|
|
|
|
| |
This program measures the latency of the clock_gettime() system call.
|
|
|
|
| |
xgps was just crashing if Gtk2 is installed.
|
| |
|
|
|
|
| |
The old call to __init__ did look odd...
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The current MAXCHANNELS value in xgps, obtained from gps.py, has been
observed to be inadequate. The value in gps.py is an outdated value
that was never updated when the C value was changed, but using the new
value of 72 in xgps would result in a huge window. This change
defines a local MAXCHANNELS in xgps, which does not need to match the
value in gps.py. It's currently set to 28, based on having observed a
case with 25 visible satellites. It would be better to make it
dynamic, but that would require reworking some of the Gtk setup code.
TESTED:
Ran against a receiver reporting 25 visible satellites, seeing all
satellites reported and no console error messages.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This makes a couple of minor improvements to the xgps[speed] UIs:
1) If a target (host/port/device) is specified, it is included in the
window title. This is especially useful when running multiple
instances pointing at different targets.
2) Interprets blank host and/or port fields in host:port:device
notation as the default values. This allows, e.g., specifying a
device without having to explicitly specify the default host/port.
Also replaces all hardcoded '2947' instances with gps.GPSD_PORT.
TESTED:
Tried various arguments, including using the option forms in
xgpsspeed. Also tried a long string of leading zeroes on the port
number to verify that a ridiculously long target string is taken in
stride.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This adds an optional argument to rotate the skyview display, making
it possible to orient it correctly based on the direction one is
actually facing. The specified heading is positioned at the top.
This edit does not update contrib/webgps.py, which is somewhat
more complicated to fix due to the Javascript involvement.
TESTED:
Ran both programs with and without the -r or --rotate option.
Signed-off-by: Gary E. Miller <gem@rellim.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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).
|