DanielBlomberg1 / mimir

Android app for logging various sensors data in smart devices.
Apache License 2.0
0 stars 0 forks source link

Task 2: Show the list of satellites in view and their tracking status #11

Open danmida opened 3 weeks ago

danmida commented 3 weeks ago

You need to have physical android device for this task since emulator doesnt work for sensor things

danmida commented 3 weeks ago

Prototype view, a little unclear how the list of satellites is wanted to be viewed

ScreenRecording2024-11-06

Since the app is already made to work with Gnss sensors, it did not require that much work to get the data since GnssStatus API can be utilized.

With GnssStatus, you can callback all the satellites that the sensor is picking up and get information that I presume is set by whichever space agency owns the satellite. The list is updated on real-time, I presume by what the sensor can pick up. How tracking works, is configured by API itself. From what I understood, if it says Tracking: No, the satellite is in view/sensor able to read it but signal is weak enough or for other reasons, it is not being used to update for example positional data on map etc. Near window, I had more satellites in the list but when I was in a room with no windows, I only had 1-3 satellites or none.

Constellations I configured (pretty much all of that API allows) GnssStatus.CONSTELLATION_GPS -> "GPS" GnssStatus.CONSTELLATION_GLONASS -> "GLONASS" GnssStatus.CONSTELLATION_BEIDOU -> "BeiDou" GnssStatus.CONSTELLATION_GALILEO -> "Galileo" GnssStatus.CONSTELLATION_SBAS -> "SBAS" GnssStatus.CONSTELLATION_IRNSS -> "IRNSS" GnssStatus.CONSTELLATION_QZSS -> "QZSS" GnssStatus.CONSTELLATION_UNKNOWN -> "Unknown"

For test purposes, I included coordinates.