Changeset 10608 in ntrip for trunk/BNC/src/bncsp3.cpp
- Timestamp:
- Feb 13, 2025, 9:50:06 AM (6 days ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncsp3.cpp
r10578 r10608 74 74 if (epoTime != _lastEpoTime) { 75 75 76 // Check the sampling interval (print empty epochs) 77 // ------------------------------------------------ 78 if (_lastEpoTime.valid() && _sampl > 0) { 79 for (bncTime ep = _lastEpoTime +_sampl; ep < epoTime; ep = ep +_sampl) { 80 _out << "\n* " << ep.datestr(' ') << ' ' << ep.timestr(8, ' '); 76 // print out epoch before 77 if (_lastEpoTime.valid()) { 78 _out << _oStr.str(); 79 if (_lastEpoTime.daysec() != 0.0) { 80 _oStr.str(std::string()); 81 } 82 // Check the sampling interval (print empty epochs) 83 // ------------------------------------------------ 84 if (_sampl > 0) { 85 for (bncTime ep = _lastEpoTime +_sampl; ep < epoTime; ep = ep +_sampl) { 86 _oStr << "\n* " << ep.datestr(' ') << ' ' << ep.timestr(8, ' '); 87 } 81 88 } 82 89 } … … 84 91 // Print the new epoch 85 92 // ------------------- 86 _o ut<< "\n* " << epoTime.datestr(' ') << ' ' << epoTime.timestr(8, ' ');93 _oStr << "\n* " << epoTime.datestr(' ') << ' ' << epoTime.timestr(8, ' '); 87 94 88 95 _lastEpoTime = epoTime; 89 96 } 90 97 91 _o ut<< "\nP" << prn.toLatin1().data()98 _oStr << "\nP" << prn.toLatin1().data() 92 99 << setw(14) << setprecision(6) << xCoM(1) / 1000.0 // [km] 93 100 << setw(14) << setprecision(6) << xCoM(2) / 1000.0 // [km] … … 96 103 97 104 if (sp3ClkRate) { 98 _o ut<< "\nV" << prn.toLatin1().data()105 _oStr << "\nV" << prn.toLatin1().data() 99 106 << setw(14) << setprecision(6) << v(1) * 10.0 // [dm/s] 100 107 << setw(14) << setprecision(6) << v(2) * 10.0 // [dm/s] … … 177 184 << "/* \n" 178 185 << "/* \n" 179 << "/* \n";186 << "/* "; 180 187 } 181 188
Note:
See TracChangeset
for help on using the changeset viewer.