Changeset 11192 in ntrip for trunk/BNC/src/ephemeris.cpp
- Timestamp:
- Nov 10, 2026, 12:13:23 PM (less than one hour ago)
- File:
-
- 1 edited
-
trunk/BNC/src/ephemeris.cpp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/ephemeris.cpp
r11158 r11192 1199 1199 } 1200 1200 1201 if (rnxVersion >= 3.05) { 1201 if (type() == t_eph::L1OC || type() == t_eph::L3OC) { 1202 nLines = 9; // RINEX 4.02 Tables A16/A17 1203 } 1204 else if (rnxVersion >= 3.05) { 1202 1205 nLines += 1; 1203 1206 } else { … … 1266 1269 _TOC = _TOC + _gps_utc; 1267 1270 int nd = int((_TOC.gpssec())) / (24.0 * 60.0 * 60.0); 1271 // FDMA: -TauN, +GammaN, message frame time 1272 // L1OC/L3OC: -TauN, +GammaN, clock drift rate Beta (RINEX 4.02 A16/A17) 1273 double& third = (type() == t_eph::L1OC || type() == t_eph::L3OC) ? _beta : _tki; 1268 1274 if ( readDbl(line, pos[1], fieldLen, _tau) 1269 1275 || readDbl(line, pos[2], fieldLen, _gamma) 1270 || readDbl(line, pos[3], fieldLen, _tki)) {1276 || readDbl(line, pos[3], fieldLen, third)) { 1271 1277 _checkState = bad; 1272 1278 return; 1273 1279 } 1274 _tki -= nd * 86400.0; 1280 if (type() != t_eph::L1OC && type() != t_eph::L3OC) { 1281 _tki -= nd * 86400.0; 1282 } 1275 1283 _tau = -_tau; 1276 1284 } … … 1588 1596 QTextStream out(&rnxStr); 1589 1597 1598 bool cdma = (type() == t_eph::L1OC || type() == t_eph::L3OC); 1590 1599 out 1591 1600 << QString("%1%2%3\n") 1592 1601 .arg(-_tau, 19, 'e', 12) 1593 1602 .arg(_gamma, 19, 'e', 12) 1594 .arg(_tki + nd * 86400.0, 19, 'e', 12); 1603 .arg(cdma ? _beta : _tki + nd * 86400.0, 19, 'e', 12); 1595 1604 1596 1605 QString fmt = version < 3.0 ? " %1%2%3%4\n" : " %1%2%3%4\n"; … … 1736 1745 .arg(_sat_type , 19, 'e', 12) 1737 1746 .arg(double(sourceflags), 19, 'e', 12) 1738 .arg(_E T, 19, 'e', 12)1739 .arg(_E E, 19, 'e', 12);1747 .arg(_EE, 19, 'e', 12) // AODE 1748 .arg(_ET, 19, 'e', 12); // AODC 1740 1749 } 1741 1750 // =====================
Note:
See TracChangeset
for help on using the changeset viewer.
