- Timestamp:
- Nov 23, 2022, 10:48:36 AM (22 months ago)
- Location:
- trunk/BNC/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r9891 r9892 1116 1116 eph._receptStaID = _staID; 1117 1117 1118 eph._flags_unknown = true; 1119 1118 1120 GETBITS(sv, 6) 1119 1121 eph._prn.set('R', sv); … … 1123 1125 GETBITS(eph._almanac_health, 1) /* almanac healthy */ 1124 1126 GETBITS(eph._almanac_health_availablility_indicator, 1) /* almanac health ok */ 1127 /* 1125 1128 if (eph._almanac_health_availablility_indicator == 0.0) { 1126 1129 #ifdef BNC_DEBUG_BCEP … … 1129 1132 .arg(eph._almanac_health_availablility_indicator).toLatin1(), true)); 1130 1133 #endif 1131 //return false; 1132 } 1134 return false; 1135 } 1136 */ 1133 1137 GETBITS(eph._P1, 2) /* P1 */ 1134 1138 GETBITS(i, 5) -
trunk/BNC/src/ephemeris.cpp
r9789 r9892 830 830 if (rnxVersion >= 3.05) { 831 831 nLines += 1; 832 _flags_unknown = false;833 832 } 834 833 else { 835 834 _M_delta_tau = 0.9999e9; // unknown 836 835 _M_FT = 1.5e1; // unknown 837 _flags_unknown = true;838 836 } 839 837 … … 941 939 // ===================== 942 940 else if ( iLine == 4 ) { 943 if ( readDbl(line, pos[0], fieldLen, statusflags ) || 944 readDbl(line, pos[1], fieldLen, _M_delta_tau ) || 945 readDbl(line, pos[2], fieldLen, _M_FT ) || 946 readDbl(line, pos[3], fieldLen, healthflags ) ) { 947 _checkState = bad; 948 return; 941 if (readDbl(line, pos[0], fieldLen, statusflags ) ) { 942 //statusflags BLK, do nothing 943 _flags_unknown = true; 949 944 } 950 945 else { 946 _flags_unknown = false; 951 947 // status flags 952 948 // ============ … … 968 964 _M_P = 0.0; 969 965 } 966 } 967 if ( readDbl(line, pos[1], fieldLen, _M_delta_tau ) || 968 readDbl(line, pos[2], fieldLen, _M_FT ) ) { 969 _checkState = bad; 970 return; 971 } 972 if (readDbl(line, pos[3], fieldLen, healthflags ) ) { 973 // healthflags BLK 974 _flags_unknown = true; 975 } 976 else { 977 _flags_unknown = false; 970 978 // health flags 971 979 // ============
Note:
See TracChangeset
for help on using the changeset viewer.