Changeset 1029 in ntrip for trunk/BNC/RTCM/RTCM2.cpp
- Timestamp:
- Aug 8, 2008, 8:02:33 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/RTCM/RTCM2.cpp
r1024 r1029 945 945 cph_L1.resize(0); // Carrier phase [m] 946 946 cph_L2.resize(0); // Carrier phase [m] 947 slip_L1.resize(0); // Slip counter948 slip_L2.resize(0); // Slip counter949 947 950 948 availability.reset(); // Message status flags … … 1007 1005 bool isGPS,isCAcode,isL1,isOth; 1008 1006 int NSat,idx; 1009 int sid,prn ,slip_cnt;1007 int sid,prn; 1010 1008 double t,rng,cph; 1011 1009 … … 1119 1117 // Carrier phase measurement (mod 2^23 [cy]; sign matched to range) 1120 1118 cph = -P.getBits(iSat*48+40,32)/256.0; 1121 1122 // Slip counter1123 slip_cnt = P.getUnsignedBits(iSat*48+35,5);1124 1119 1125 1120 // Is this a new PRN? … … 1137 1132 cph_L1.push_back(0.0); 1138 1133 cph_L2.push_back(0.0); 1139 slip_L1.push_back(-1);1140 slip_L2.push_back(-1);1141 1134 }; 1142 1135 1143 1136 // Store measurement 1144 1137 if (isL1) { 1145 cph_L1 [idx] = cph; 1146 slip_L1[idx] = slip_cnt; 1138 cph_L1[idx] = cph; 1147 1139 } 1148 1140 else { 1149 cph_L2 [idx] = cph; 1150 slip_L2[idx] = slip_cnt; 1141 cph_L2[idx] = cph; 1151 1142 }; 1152 1143 … … 1348 1339 1349 1340 }; // End of namespace rtcm2 1350 1351 1352
Note:
See TracChangeset
for help on using the changeset viewer.