1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-12-15 04:30:33 +00:00

Fix F/NAV message decoding of mean anomaly at reference time

This commit is contained in:
Carles Fernandez 2018-12-13 11:56:21 +01:00
parent 63e90f862f
commit 93dfcb980b
No known key found for this signature in database
GPG Key ID: 4C583C52B0C3877D

View File

@ -270,7 +270,7 @@ void Galileo_Fnav_Message::decode_page(const std::string& data)
break;
case 2: // Ephemeris (1/3) and GST
FNAV_IODnav_2 = static_cast<int32_t>(read_navigation_unsigned(data_bits, FNAV_IODnav_2_bit));
FNAV_M0_2 = static_cast<double>(read_navigation_unsigned(data_bits, FNAV_M0_2_bit));
FNAV_M0_2 = static_cast<double>(read_navigation_signed(data_bits, FNAV_M0_2_bit));
FNAV_M0_2 *= FNAV_M0_2_LSB;
FNAV_omegadot_2 = static_cast<double>(read_navigation_signed(data_bits, FNAV_omegadot_2_bit));
FNAV_omegadot_2 *= FNAV_omegadot_2_LSB;