L5 Metrics Addition:

Added L5 metrics to determine if L5 should be enabled or not.

Test: On device

adb shell dumpsys location

Output:
  Number of CN0 reports: 149
  Top 4 Avg CN0 mean (dB-Hz): 26.100838872410307
  Top 4 Avg CN0 standard deviation (dB-Hz): 1.7702387090734562
  Total number of sv status messages processed: 4202
  Total number of L5 sv status messages processed: 703
  Total number of sv status messages processed, where sv is used in fix: 1979
  Total number of L5 sv status messages processed, where sv is used in fix: 46
  Number of L5 CN0 reports: 97
  L5 Top 4 Avg CN0 mean (dB-Hz): 20.273711379041377
  L5 Top 4 Avg CN0 standard deviation (dB-Hz): 2.632911219511556
  Used-in-fix constellation types: GPS GLONASS GALILEO

Output Logs: https://drive.google.com/drive/folders/1tGEolHWtF92UkJ8lxgFihIzfWLl8ChZK?usp=sharing
Bug: 137575988
Change-Id: Id306d7cc27c9410a5ad73f5a0940c25f8d795686
This commit is contained in:
Blake Kragten
2019-08-28 16:21:35 -07:00
parent 0bd4a945c8
commit bb613600fc
3 changed files with 160 additions and 2 deletions

View File

@@ -48,6 +48,27 @@ message GnssLog {
// Hardware revision (EVT, DVT, PVT etc.)
optional string hardware_revision = 13;
// Total number of sv status messages processed
optional int32 num_sv_status_processed = 14;
// Total number of L5 sv status messages processed
optional int32 num_l5_sv_status_processed = 15;
// Total number of sv status messages processed, where sv is used in fix
optional int32 num_sv_status_used_in_fix = 16;
// Total number of L5 sv status messages processed, where sv is used in fix
optional int32 num_l5_sv_status_used_in_fix = 17;
// Number of l5 top 4 average CN0 processed
optional int32 num_l5_top_four_average_cn0_processed = 18;
// Mean of l5 top 4 average CN0 (dB-Hz)
optional double mean_l5_top_four_average_cn0_db_hz = 19;
// Standard deviation of l5 top 4 average CN0 (dB-Hz)
optional double standard_deviation_l5_top_four_average_cn0_db_hz = 20;
}
// Power metrics