1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-12 11:10:33 +00:00

In HAS data printer, only print Cell Mask when there are bias data

This commit is contained in:
Carles Fernandez 2024-11-05 11:19:30 +01:00
parent 3df1237dda
commit 3b513752b3
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -213,6 +213,8 @@ bool Has_Simple_Printer::print_message(const Galileo_HAS_data* const has_data)
} }
d_has_file << indent << indent << "Cell Mask Availability Flag: " << print_vector(has_data->cell_mask_availability_flag) << '\n'; d_has_file << indent << indent << "Cell Mask Availability Flag: " << print_vector(has_data->cell_mask_availability_flag) << '\n';
if (has_data->header.code_bias_flag == true || has_data->header.phase_bias_flag == true)
{
for (uint8_t i = 0; i < has_data->Nsys; i++) for (uint8_t i = 0; i < has_data->Nsys; i++)
{ {
if (has_data->cell_mask_availability_flag[i] == true) if (has_data->cell_mask_availability_flag[i] == true)
@ -235,6 +237,7 @@ bool Has_Simple_Printer::print_message(const Galileo_HAS_data* const has_data)
d_has_file << print_matrix(has_data->cell_mask[i], filler); d_has_file << print_matrix(has_data->cell_mask[i], filler);
} }
} }
}
d_has_file << indent << indent << "Nav message: " << print_vector(has_data->nav_message) << " (0: GPS LNAV or Galileo I/NAV)\n"; d_has_file << indent << indent << "Nav message: " << print_vector(has_data->nav_message) << " (0: GPS LNAV or Galileo I/NAV)\n";
if (has_data->header.orbit_correction_flag == true) if (has_data->header.orbit_correction_flag == true)