Changeset 10579 in ntrip for trunk/BNC/src/RTCM3
- Timestamp:
- Nov 8, 2024, 5:09:52 PM (3 weeks ago)
- Location:
- trunk/BNC/src/RTCM3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r10577 r10579 1743 1743 /* set unused F/NAV values */ 1744 1744 eph._E5aHS = 0.0; 1745 eph._e5aDataIn Valid = false;1745 eph._e5aDataInvalid = false; 1746 1746 1747 1747 GETFLOATSIGN(eph._BGD_1_5B, 10, 1.0 / (double )(1 << 30) / (double )(1 << 2)) 1748 1748 GETBITS(eph._E5bHS, 2) 1749 GETBITS(eph._e5bDataIn Valid, 1)1749 GETBITS(eph._e5bDataInvalid, 1) 1750 1750 GETBITS(eph._E1_bHS, 2) 1751 GETBITS(eph._e1DataIn Valid, 1)1751 GETBITS(eph._e1DataInvalid, 1) 1752 1752 if (eph._E5bHS != eph._E1_bHS) { 1753 1753 #ifdef BNC_DEBUG_BCE … … 1774 1774 eph._E5bHS = 0.0; 1775 1775 eph._E1_bHS = 0.0; 1776 eph._e1DataIn Valid = false;1777 eph._e5bDataIn Valid = false;1776 eph._e1DataInvalid = false; 1777 eph._e5bDataInvalid = false; 1778 1778 1779 1779 GETBITS(eph._E5aHS, 2) 1780 GETBITS(eph._e5aDataIn Valid, 1)1780 GETBITS(eph._e5aDataInvalid, 1) 1781 1781 eph._ephType = t_eph::FNAV; 1782 1782 } -
trunk/BNC/src/RTCM3/ephEncoder.cpp
r10559 r10579 248 248 GALILEOADDBITSFLOAT(10, eph._BGD_1_5B, 1.0/static_cast<double>(1<<30)/static_cast<double>(1<<2)) 249 249 GALILEOADDBITS(2, static_cast<int>(eph._E5bHS)) 250 GALILEOADDBITS(1, eph._e5bDataIn Valid ? 1 : 0)250 GALILEOADDBITS(1, eph._e5bDataInvalid ? 1 : 0) 251 251 GALILEOADDBITS(2, static_cast<int>(eph._E1_bHS)) 252 GALILEOADDBITS(1, eph._e1DataIn Valid ? 1 : 0)252 GALILEOADDBITS(1, eph._e1DataInvalid ? 1 : 0) 253 253 } else { 254 254 GALILEOADDBITS(2, static_cast<int>(eph._E5aHS)) 255 GALILEOADDBITS(1, eph._e5aDataIn Valid ? 1 : 0)255 GALILEOADDBITS(1, eph._e5aDataInvalid ? 1 : 0) 256 256 } 257 257
Note:
See TracChangeset
for help on using the changeset viewer.