-
Notifications
You must be signed in to change notification settings - Fork 69
Add visual info for ephemeris and almanac for each satelite #48
base: master
Are you sure you want to change the base?
Conversation
Correct ephemeris and almanac radius
First of all, sorry for getting back to you so late. Showing almanac and ephemeris is a great idea, but there are a few "dimensions" of information that I'd like to represent somehow. Currently I have a simple color coding scheme: blue is for satellites used in the fix, red for those which are not use. This is used both in the sky plot and the bar chart. SNR is represented by dot size in the sky plot, and obviously by bar size in the bar chart. I am myself not completely happy with the way the information is represented but have yet to figure out a satisfactory way to display all of the following:
Any ideas on how to represent all of this information nicely would be very much appreciated. |
|
indeed, taking a closer look I realize what you mean. However, the colors blend into each other so that the blue dots appear greenish – maybe that can be fixed by choosing a color palette whose hues are spread out more evenly. I've since added a fix which specifies dot size in display-independent pixels (as a function of SNR), which should make dot size less of an issue on high-DPI displays.
This is easy to obtain by analyzing satellite numbers (see wiki for more details on this). The API treats GLONASS, Beidou and various augmentation systems as if they were extra GPS satellites. You'll see that some of the grid lines in the SNR graph are white, while others are gray. The gray ones are just for visual orientation (one grid line every 4 bars), while the white ones separate the different systems (only systems which have actually been observed on the device will show).
That might work as a last resort, though I'd prefer having everything at a glance. We have five "dimensions" of information, which we'd need to match to visual dimensions:
Other candidates would be luminance and saturation, as well as border color, or maybe using hollow vs. filled dots. I'm a bit cautious about some combinations: using both luminance and saturation would give us 4 variations per color, but they might be hard to tell apart. The border color might wash into the fill color, especially at small dot sizes. We could also decide to represent some of these dimensions only in the sky plot, or only in the SNR graph – unless doing so would discard information. |
It seems the almanac covers everything, so I wonder if you are seeing almanac status different for different satellites within a constellation. And, a satellite appearing in the sky view means there is almanac, more or less. (Or ephemeris, in which case it doesn't matter if almanac is present.) Garmin units have hollow bars for satellites being tracked that don't have ephemeris yet. I have never been sure if that includes satellites with ephemeris but not in the solution -- or even if such a case exists. Assuming almanac, there are four cases, and I suggest a new color scheme to replace the red/blue one:
This keeps the blue meaning, and shifts red to orange. It should be possible to just add colors in sky view, add a bar color (red won't appear), and give more information without it being too confusing. |
Something else that would be useful is knowing if WAAS / EGNOS / whatever is available / being used. |
On Garmin units, satellites that are using differential corrections have a "D" in the signal strength bar. It is ambiguous if that means that the satellite has differential corrections available or if it also means that it is in the solution and the solution is differential. We could use "d' for available, "D" for in a differential solution (and be yellow for not in solution). Probably the only cases we will see is a bunch of "d" and no "D", or a bunch of "D" -- if the API supports that. |
You might want to read: http://www.catb.org/gpsd/faq.html#waas |
Augmentation systems present themselves as extra satellites, see https://github.com/mvglasow/satstat/wiki/NMEA-IDs#sbas, therefore they should show up just like the other satellites. |
I've opened a new issue to discuss this; please leave comments there. |
It would be great to have also visual information if ephemeris and/or almanac are known for each satellite. This info is available in the API and can be easily added.
Using my modification I found that my three Android devices behave totally different and feedback from API is sometimes strange and sometimes obviously wrong (e.g. I have a fix, but the API says that there is no ephemeris and almanac available).
With visual info it is much easier to report a bug.
Here there is an example how this feature looks like (white=has ephemeris, green=has almanac):