Changeset 9765 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Jun 20, 2022, 4:54:59 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r9541 r9765 1091 1091 eph._fitInterval = fitIntervalFromFlag(fitIntervalFalg, eph._IODC, eph.type()); 1092 1092 eph._TOT = 0.9999e9; 1093 eph._navType = t_eph::LNAV; 1093 1094 1094 1095 emit newGPSEph(eph); … … 1216 1217 _gloFrq = QString("%1 %2").arg(eph._prn.toString().c_str()).arg(eph._frequency_number, 2, 'f', 0); 1217 1218 1219 eph._navType = t_eph::FDMA; 1220 1218 1221 emit newGlonassEph(eph); 1219 1222 decoded = true; … … 1299 1302 eph._fitInterval = fitIntervalFromFlag(fitIntervalFalg, eph._IODC, eph.type()); 1300 1303 eph._TOT = 0.9999e9; 1304 eph._navType = t_eph::LNAV; 1301 1305 1302 1306 emit newGPSEph(eph); … … 1390 1394 SKIPBITS(2) 1391 1395 eph._TOT = 0.9999e9; 1396 eph._navType = t_eph::LNAV; 1392 1397 1393 1398 emit newGPSEph(eph); … … 1445 1450 eph._TOT = 0.9999E9; 1446 1451 eph._health = 0; 1452 eph._navType = t_eph::SBASL1; 1447 1453 1448 1454 emit newSBASEph(eph); … … 1529 1535 return false; 1530 1536 } 1537 eph._navType = t_eph::INAF; 1531 1538 } 1532 1539 else { … … 1540 1547 GETBITS(eph._E5aHS, 2) 1541 1548 GETBITS(eph._e5aDataInValid, 1) 1549 eph._navType = t_eph::FNAV; 1542 1550 } 1543 1551 eph._TOT = 0.9999e9; … … 1562 1570 bool RTCM3Decoder::DecodeBDSEphemeris(unsigned char* data, int size) { 1563 1571 bool decoded = false; 1572 const double iMaxGEO = 10.0 / 180.0 * M_PI; 1564 1573 1565 1574 if (size == 70) { … … 1622 1631 1623 1632 eph._TOT = 0.9999E9; 1633 if (eph._i0 > iMaxGEO) { 1634 eph._navType = t_eph::D1; 1635 } 1636 else { 1637 eph._navType = t_eph::D2; 1638 } 1639 1640 1624 1641 emit newBDSEph(eph); 1625 1642 decoded = true;
Note:
See TracChangeset
for help on using the changeset viewer.