mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2025-07-04 02:53:06 +00:00
bugfix: Fixes RINEX V2.11 Nav. data record header
Fixes the number of spaces used by the second field in RINEX 2.11 when logging GLONASS Navigational information
This commit is contained in:
parent
9b3c8e93ec
commit
0e938db54e
@ -2890,7 +2890,13 @@ void Rinex_Printer::log_rinex_nav(std::fstream& out, const std::map<int,Glonass_
|
||||
{
|
||||
line += seconds;
|
||||
}
|
||||
|
||||
line += std::string(1, '.');
|
||||
std::string decimal = std::string("0");
|
||||
if (timestring.size() > 16)
|
||||
{
|
||||
std::string decimal (timestring, 16, 1);
|
||||
}
|
||||
line += decimal;
|
||||
line += std::string(1, ' ');
|
||||
line += Rinex_Printer::doub2for(-glonass_gnav_ephemeris_iter->second.d_tau_c, 18, 2);
|
||||
line += std::string(1, ' ');
|
||||
|
Loading…
x
Reference in New Issue
Block a user