Changeset 8472 in ntrip for trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- Sep 5, 2018, 1:26:04 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r8470 r8472 974 974 eph._prn.set('G', i); 975 975 GETBITS(week, 10) 976 week += 1024;977 976 GETBITS(i, 4) 978 977 eph._ura = accuracyFromIndex(i, eph.type()); … … 1003 1002 t.set(i * 1000); 1004 1003 eph._TOEweek = t.gpsw(); 1004 int numOfRollOvers = int(floor(t.gpsw()/1024.0)); 1005 week += (numOfRollOvers * 1024); 1005 1006 /* week from HOW, differs from TOC, TOE week, we use adapted value instead */ 1006 1007 if (eph._TOEweek > week + 1 || eph._TOEweek < week - 1) /* invalid week */ … … 1127 1128 GETBITS(i, 4) 1128 1129 eph._prn.set('J', i); 1129 1130 1130 1131 GETBITS(i, 16) 1131 1132 i <<= 4; … … 1162 1163 GETBITS(eph._L2Codes, 2) 1163 1164 GETBITS(week, 10) 1164 week += 1024; 1165 int numOfRollOvers = int(floor(t.gpsw()/1024.0)); 1166 week += (numOfRollOvers * 1024); 1165 1167 /* week from HOW, differs from TOC, TOE week, we use adapted value instead */ 1166 1168 if (eph._TOEweek > week + 1 || eph._TOEweek < week - 1) /* invalid week */
Note:
See TracChangeset
for help on using the changeset viewer.