barbeau / gpstest

The #1 open-source Android GNSS/GPS test program
Apache License 2.0
1.73k stars 361 forks source link

Support logging raw GNSS measurements to file #66

Closed barbeau closed 5 years ago

barbeau commented 7 years ago

Summary:

It would be nice to log raw GNSS measurements to a file for later processing. We should include measurements and clock info on a single line for simple processing (both of which are contained in a GnssMeasurementEvent:

Writing to a file in the format of YYYYMMDD_HHMMSS_gpstest.txt is one example.

We could consider writing files with and without labels. With labels would likely look like comma-separated key-value pairs (e.g., snr=X), while without labels would look closer to a comma-separate NMEA string (e.g., $GPGSV,4,1,15,01,00,000,43,03,32,140,51,06,31,135,50,14,24,087,44*77). With labels would provide explicit labeling of data in case labels change in future versions, while implicit labeling would likely be easier to parse, especially in spreadsheet programs that can easily import CSV files.

barbeau commented 7 years ago

This project by Google includes some nice visualization capabilities via Matlab: https://github.com/google/gps-measurement-tools

It would be nice to use the same format in GPSTest so the same visualization tools can be used.