Changeset 3581 in ntrip for trunk/rtcm3torinex
- Timestamp:
- Jan 9, 2012, 5:18:58 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/rtcm3torinex/lib/rtcm3torinex.c
r3270 r3581 930 930 {GNSSENTRY_P1DATA,GNSSENTRY_L1PDATA,GNSSENTRY_D1PDATA, 931 931 GNSSENTRY_S1PDATA,GNSSDF2_LOCKLOSSL1,GPS_WAVELENGTH_L1,"1W"}, 932 { GNSSENTRY_P1DATA,GNSSENTRY_L1PDATA,GNSSENTRY_D1PDATA,933 GNSSENTRY_S1PDATA,GNSSDF2_LOCKLOSSL1,GPS_WAVELENGTH_L1,"1Y"} ,932 {0,0,0,0,0,0,0}/*{GNSSENTRY_P1DATA,GNSSENTRY_L1PDATA,GNSSENTRY_D1PDATA, 933 GNSSENTRY_S1PDATA,GNSSDF2_LOCKLOSSL1,GPS_WAVELENGTH_L1,"1Y"}*/, 934 934 {0,0,0,0,0,0,0}, 935 935 {0,0,0,0,0,0,0}, … … 940 940 {GNSSENTRY_P2DATA,GNSSENTRY_L2PDATA,GNSSENTRY_D2PDATA, 941 941 GNSSENTRY_S2PDATA,GNSSDF2_LOCKLOSSL2,GPS_WAVELENGTH_L2,"2W"}, 942 { GNSSENTRY_P2DATA,GNSSENTRY_L2PDATA,GNSSENTRY_D2PDATA,943 GNSSENTRY_S2PDATA,GNSSDF2_LOCKLOSSL2,GPS_WAVELENGTH_L2,"2Y"} ,942 {0,0,0,0,0,0,0}/*{GNSSENTRY_P2DATA,GNSSENTRY_L2PDATA,GNSSENTRY_D2PDATA, 943 GNSSENTRY_S2PDATA,GNSSDF2_LOCKLOSSL2,GPS_WAVELENGTH_L2,"2Y"}*/, 944 944 {0,0,0,0,0,0,0}, 945 945 {0,0,0,0,0,0,0}, … … 960 960 GNSSENTRY_S5DATA,GNSSDF2_LOCKLOSSL5,GPS_WAVELENGTH_L5,"5Q"}, 961 961 {GNSSENTRY_C5DATA,GNSSENTRY_L5DATA,GNSSENTRY_D5DATA, 962 GNSSENTRY_S5DATA,GNSSDF2_LOCKLOSSL5,GPS_WAVELENGTH_L5,"5X"} 962 GNSSENTRY_S5DATA,GNSSDF2_LOCKLOSSL5,GPS_WAVELENGTH_L5,"5X"}, 963 {0,0,0,0,0,0,0}, 964 {0,0,0,0,0,0,0}, 965 {0,0,0,0,0,0,0}, 966 {0,0,0,0,0,0,0}, 967 {0,0,0,0,0,0,0}, 968 {GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 969 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,0.0,"1S"}, 970 {GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 971 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,0.0,"1L"}, 972 {GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 973 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,0.0,"1X"} 963 974 }; 964 975 /* NOTE: Uses 0.0, 1.0 for wavelength as sat index dependence is done later! */ … … 992 1003 {0,0,0,0,0,0,0}, 993 1004 {0,0,0,0,0,0,0}, 1005 {0,0,0,0,0,0,0}, 1006 {0,0,0,0,0,0,0}, 1007 {0,0,0,0,0,0,0}, 1008 {0,0,0,0,0,0,0}, 1009 {0,0,0,0,0,0,0}, 1010 {0,0,0,0,0,0,0}, 1011 {0,0,0,0,0,0,0}, 1012 {0,0,0,0,0,0,0}, 994 1013 {0,0,0,0,0,0,0} 995 1014 }; … … 999 1018 {GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 1000 1019 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1C"}, 1001 { GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA,1002 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1A"} ,1020 {0,0,0,0,0,0,0}/*{GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 1021 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1A"}*/, 1003 1022 {GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 1004 1023 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1B"}, 1005 { GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA,1006 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1X"} ,1007 { GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA,1008 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1Z"} ,1024 {0,0,0,0,0,0,0}/*{GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 1025 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1X"}*/, 1026 {0,0,0,0,0,0,0}/*{GNSSENTRY_C1DATA,GNSSENTRY_L1CDATA,GNSSENTRY_D1CDATA, 1027 GNSSENTRY_S1CDATA,GNSSDF2_LOCKLOSSL1,GAL_WAVELENGTH_E1,"1Z"}*/, 1009 1028 {0,0,0,0,0,0,0}, 1010 1029 {GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1011 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6I"}, 1030 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6C"}, 1031 {0,0,0,0,0,0,0}/*{GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1032 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6A"}*/, 1012 1033 {GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1013 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6Q"}, 1014 {GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1015 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6I"}, 1016 {GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1017 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6Q"}, 1018 {GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1019 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6X"}, 1034 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6B"}, 1035 {0,0,0,0,0,0,0}/*{GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1036 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6X"}*/, 1037 {0,0,0,0,0,0,0}/*{GNSSENTRY_C6DATA,GNSSENTRY_L6DATA,GNSSENTRY_D6DATA, 1038 GNSSENTRY_S6DATA,GNSSDF2_LOCKLOSSE6,GAL_WAVELENGTH_E6,"6Z"}*/, 1020 1039 {0,0,0,0,0,0,0}, 1021 1040 {GNSSENTRY_C5BDATA,GNSSENTRY_L5BDATA,GNSSENTRY_D5BDATA, … … 1023 1042 {GNSSENTRY_C5BDATA,GNSSENTRY_L5BDATA,GNSSENTRY_D5BDATA, 1024 1043 GNSSENTRY_S5BDATA,GNSSDF2_LOCKLOSSE5B,GAL_WAVELENGTH_E5B,"7Q"}, 1025 { GNSSENTRY_C5BDATA,GNSSENTRY_L5BDATA,GNSSENTRY_D5BDATA,1026 GNSSENTRY_S5BDATA,GNSSDF2_LOCKLOSSE5B,GAL_WAVELENGTH_E5B,"7X"} ,1044 {0,0,0,0,0,0,0}/*{GNSSENTRY_C5BDATA,GNSSENTRY_L5BDATA,GNSSENTRY_D5BDATA, 1045 GNSSENTRY_S5BDATA,GNSSDF2_LOCKLOSSE5B,GAL_WAVELENGTH_E5B,"7X"}*/, 1027 1046 {0,0,0,0,0,0,0}, 1028 1047 {GNSSENTRY_C5ABDATA,GNSSENTRY_L5ABDATA,GNSSENTRY_D5ABDATA, … … 1030 1049 {GNSSENTRY_C5ABDATA,GNSSENTRY_L5ABDATA,GNSSENTRY_D5ABDATA, 1031 1050 GNSSENTRY_S5ABDATA,GNSSDF2_LOCKLOSSE5AB,GAL_WAVELENGTH_E5AB,"8Q"}, 1032 { GNSSENTRY_C5ABDATA,GNSSENTRY_L5ABDATA,GNSSENTRY_D5ABDATA,1033 GNSSENTRY_S5ABDATA,GNSSDF2_LOCKLOSSE5AB,GAL_WAVELENGTH_E5AB,"8X"} ,1051 {0,0,0,0,0,0,0}/*{GNSSENTRY_C5ABDATA,GNSSENTRY_L5ABDATA,GNSSENTRY_D5ABDATA, 1052 GNSSENTRY_S5ABDATA,GNSSDF2_LOCKLOSSE5AB,GAL_WAVELENGTH_E5AB,"8X"}*/, 1034 1053 {0,0,0,0,0,0,0}, 1035 1054 {GNSSENTRY_C5DATA,GNSSENTRY_L5DATA,GNSSENTRY_D5DATA, … … 1037 1056 {GNSSENTRY_C5DATA,GNSSENTRY_L5DATA,GNSSENTRY_D5DATA, 1038 1057 GNSSENTRY_S5DATA,GNSSDF2_LOCKLOSSL5,GAL_WAVELENGTH_E5A,"5Q"}, 1039 {GNSSENTRY_C5DATA,GNSSENTRY_L5DATA,GNSSENTRY_D5DATA, 1040 GNSSENTRY_S5DATA,GNSSDF2_LOCKLOSSL5,GAL_WAVELENGTH_E5A,"5X"}, 1058 {0,0,0,0,0,0,0}/*{GNSSENTRY_C5DATA,GNSSENTRY_L5DATA,GNSSENTRY_D5DATA, 1059 GNSSENTRY_S5DATA,GNSSDF2_LOCKLOSSL5,GAL_WAVELENGTH_E5A,"5X"}*/, 1060 {0,0,0,0,0,0,0}, 1061 {0,0,0,0,0,0,0}, 1062 {0,0,0,0,0,0,0}, 1063 {0,0,0,0,0,0,0}, 1064 {0,0,0,0,0,0,0}, 1065 {0,0,0,0,0,0,0}, 1066 {0,0,0,0,0,0,0}, 1067 {0,0,0,0,0,0,0}, 1041 1068 }; 1042 1069 … … 1045 1072 uint64_t satmask, cellmask, ui; 1046 1073 double rrmod[RTCM3_MSM_NUMSAT]; 1047 int rrint[RTCM3_MSM_NUMSAT], rdop[RTCM3_MSM_NUMSAT]; 1074 int rrint[RTCM3_MSM_NUMSAT], rdop[RTCM3_MSM_NUMSAT], 1075 extsat[RTCM3_MSM_NUMSAT]; 1048 1076 int ll[RTCM3_MSM_NUMCELLS]; 1049 1077 double cnr[RTCM3_MSM_NUMCELLS]; … … 1087 1115 1088 1116 GETBITS(syncf, 1) 1089 SKIPBITS(3+7+ 1)1117 SKIPBITS(3+7+2+2+1+3) 1090 1118 GETBITS64(satmask, RTCM3_MSM_NUMSAT) 1091 1119 … … 1104 1132 ++wasnoamb; 1105 1133 for(j = numsat; j--;) 1106 GETFLOAT(rrmod[j], 10, 1 /1024.0)1134 GETFLOAT(rrmod[j], 10, 1.0/1024.0) 1107 1135 break; 1108 1136 case 4: case 6: … … 1110 1138 GETBITS(rrint[j], 8) 1111 1139 for(j = numsat; j--;) 1112 GETFLOAT(rrmod[j], 10, 1 /1024.0)1140 GETFLOAT(rrmod[j], 10, 1.0/1024.0) 1113 1141 break; 1114 1142 case 5: case 7: … … 1116 1144 GETBITS(rrint[j], 8) 1117 1145 for(j = numsat; j--;) 1118 GETFLOAT(rrmod[j], 10, 1/1024.0) 1146 GETBITS(extsat[j], 4) 1147 for(j = numsat; j--;) 1148 GETFLOAT(rrmod[j], 10, 1.0/1024.0) 1119 1149 for(j = numsat; j--;) 1120 1150 GETBITSSIGN(rdop[j], 14) … … 1130 1160 for(count = numcells; count--;) 1131 1161 if(cellmask & (UINT64(1)<<count)) 1132 GETFLOATSIGN(psr[count], 15, 0.02)1162 GETFLOATSIGN(psr[count], 15, 1.0/(1<<24)) 1133 1163 break; 1134 1164 case 2: 1135 1165 for(count = numcells; count--;) 1136 1166 if(cellmask & (UINT64(1)<<count)) 1137 GETFLOATSIGN(cp[count], 2 0, 1/256.0)1167 GETFLOATSIGN(cp[count], 22, 1.0/(1<<29)) 1138 1168 for(count = numcells; count--;) 1139 1169 if(cellmask & (UINT64(1)<<count)) … … 1143 1173 for(count = numcells; count--;) 1144 1174 if(cellmask & (UINT64(1)<<count)) 1145 GETFLOATSIGN(psr[count], 15, 0.02)1175 GETFLOATSIGN(psr[count], 15, 1.0/(1<<24)) 1146 1176 for(count = numcells; count--;) 1147 1177 if(cellmask & (UINT64(1)<<count)) 1148 GETFLOATSIGN(cp[count], 2 0, 1/256.0)1178 GETFLOATSIGN(cp[count], 22, 1.0/(1<<29)) 1149 1179 for(count = numcells; count--;) 1150 1180 if(cellmask & (UINT64(1)<<count)) … … 1154 1184 for(count = numcells; count--;) 1155 1185 if(cellmask & (UINT64(1)<<count)) 1156 GETFLOATSIGN(psr[count], 15, 0.02)1186 GETFLOATSIGN(psr[count], 15, 1.0/(1<<24)) 1157 1187 for(count = numcells; count--;) 1158 1188 if(cellmask & (UINT64(1)<<count)) 1159 GETFLOATSIGN(cp[count], 2 0, 1/256.0)1189 GETFLOATSIGN(cp[count], 22, 1.0/(1<<29)) 1160 1190 for(count = numcells; count--;) 1161 1191 if(cellmask & (UINT64(1)<<count)) … … 1168 1198 for(count = numcells; count--;) 1169 1199 if(cellmask & (UINT64(1)<<count)) 1170 GETFLOATSIGN(psr[count], 15, 0.02)1200 GETFLOATSIGN(psr[count], 15, 1.0/(1<<24)) 1171 1201 for(count = numcells; count--;) 1172 1202 if(cellmask & (UINT64(1)<<count)) 1173 GETFLOATSIGN(cp[count], 2 0, 1/256.0)1203 GETFLOATSIGN(cp[count], 22, 1.0/(1<<29)) 1174 1204 for(count = numcells; count--;) 1175 1205 if(cellmask & (UINT64(1)<<count)) … … 1185 1215 for(count = numcells; count--;) 1186 1216 if(cellmask & (UINT64(1)<<count)) 1187 GETFLOATSIGN(psr[count], 20, 0.001)1217 GETFLOATSIGN(psr[count], 20, 1.0/(1<<29)) 1188 1218 for(count = numcells; count--;) 1189 1219 if(cellmask & (UINT64(1)<<count)) 1190 GETFLOATSIGN(cp[count], 2 2, 1/1024.0)1220 GETFLOATSIGN(cp[count], 24, 1.0/(1U<<31)) 1191 1221 for(count = numcells; count--;) 1192 1222 if(cellmask & (UINT64(1)<<count)) … … 1195 1225 if(cellmask & (UINT64(1)<<count)) 1196 1226 GETFLOAT(cnr[count], 10, 0.1) 1227 break; 1197 1228 case 7: 1198 1229 for(count = numcells; count--;) 1199 1230 if(cellmask & (UINT64(1)<<count)) 1200 GETFLOATSIGN(psr[count], 20, 0.001)1231 GETFLOATSIGN(psr[count], 20, 1.0/(1<<29)) 1201 1232 for(count = numcells; count--;) 1202 1233 if(cellmask & (UINT64(1)<<count)) 1203 GETFLOATSIGN(cp[count], 2 2, 1/1024.0)1234 GETFLOATSIGN(cp[count], 24, 1.0/(1U<<31)) 1204 1235 for(count = numcells; count--;) 1205 1236 if(cellmask & (UINT64(1)<<count)) … … 1272 1303 { 1273 1304 case 1: 1274 if(psr[count] > - 327.68)1305 if(psr[count] > -1.0/(1<<10)) 1275 1306 { 1276 gnss->measdata[num][cd.typeR] = psr[count] 1307 gnss->measdata[num][cd.typeR] = psr[count]*LIGHTSPEED/1000.0 1277 1308 +(rrmod[numsat])*LIGHTSPEED/1000.0; 1278 1309 gnss->dataflags[num] |= (1<<cd.typeR); … … 1280 1311 break; 1281 1312 case 2: 1282 if(wl && cp[count] > - 2048.0)1313 if(wl && cp[count] > -1.0/(1<<8)) 1283 1314 { 1284 gnss->measdata[num][cd.typeP] = cp[count] 1315 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0 1285 1316 +(rrmod[numsat])*LIGHTSPEED/1000.0/wl; 1286 1317 if(handle->lastlockmsm[j][i] != ll[count]) … … 1293 1324 break; 1294 1325 case 3: 1295 if(psr[count] > - 327.68)1326 if(psr[count] > -1.0/(1<<10)) 1296 1327 { 1297 gnss->measdata[num][cd.typeR] = psr[count] 1328 gnss->measdata[num][cd.typeR] = psr[count]*LIGHTSPEED/1000.0 1298 1329 +(rrmod[numsat])*LIGHTSPEED/1000.0; 1299 1330 gnss->dataflags[num] |= (1<<cd.typeR); 1300 1331 } 1301 1332 1302 if(wl && cp[count] > - 2048.0)1333 if(wl && cp[count] > -1.0/(1<<8)) 1303 1334 { 1304 gnss->measdata[num][cd.typeP] = cp[count] 1335 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0 1305 1336 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1306 1337 if(handle->lastlockmsm[j][i] != ll[count]) … … 1313 1344 break; 1314 1345 case 4: 1315 if(psr[count] > - 327.68)1346 if(psr[count] > -1.0/(1<<10)) 1316 1347 { 1317 gnss->measdata[num][cd.typeR] = psr[count] 1348 gnss->measdata[num][cd.typeR] = psr[count]*LIGHTSPEED/1000.0 1318 1349 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0; 1319 1350 gnss->dataflags[num] |= (1<<cd.typeR); 1320 1351 } 1321 1352 1322 if(wl && cp[count] > - 2048.0)1353 if(wl && cp[count] > -1.0/(1<<8)) 1323 1354 { 1324 gnss->measdata[num][cd.typeP] = cp[count] 1355 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0 1325 1356 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1326 1357 if(handle->lastlockmsm[j][i] != ll[count]) … … 1336 1367 break; 1337 1368 case 5: 1338 if(psr[count] > - 327.68)1369 if(psr[count] > -1.0/(1<<10)) 1339 1370 { 1340 gnss->measdata[num][cd.typeR] = psr[count] 1371 gnss->measdata[num][cd.typeR] = psr[count]*LIGHTSPEED/1000.0 1341 1372 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0; 1342 1373 gnss->dataflags[num] |= (1<<cd.typeR); 1343 1374 } 1344 1375 1345 if(wl && cp[count] > - 2048.0)1376 if(wl && cp[count] > -1.0/(1<<8)) 1346 1377 { 1347 gnss->measdata[num][cd.typeP] = cp[count] 1378 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0 1348 1379 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1349 1380 if(handle->lastlockmsm[j][i] != ll[count]) … … 1366 1397 break; 1367 1398 case 6: 1368 if(psr[count] > - 524.288)1399 if(psr[count] > -1.0/(1<<10)) 1369 1400 { 1370 gnss->measdata[num][cd.typeR] = psr[count] 1401 gnss->measdata[num][cd.typeR] = psr[count]*LIGHTSPEED/1000.0 1371 1402 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0; 1372 1403 gnss->dataflags[num] |= (1<<cd.typeR); 1373 1404 } 1374 1405 1375 if(wl && cp[count] > - 2048.0)1406 if(wl && cp[count] > -1.0/(1<<8)) 1376 1407 { 1377 gnss->measdata[num][cd.typeP] = cp[count] 1408 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0 1378 1409 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1379 1410 if(handle->lastlockmsm[j][i] != ll[count]) … … 1389 1420 break; 1390 1421 case 7: 1391 if(psr[count] > - 524.288)1422 if(psr[count] > -1.0/(1<<10)) 1392 1423 { 1393 gnss->measdata[num][cd.typeR] = psr[count] 1424 gnss->measdata[num][cd.typeR] = psr[count]*LIGHTSPEED/1000.0 1394 1425 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0; 1395 1426 gnss->dataflags[num] |= (1<<cd.typeR); 1396 1427 } 1397 1428 1398 if(wl && cp[count] > - 2048.0)1429 if(wl && cp[count] > -1.0/(1<<8)) 1399 1430 { 1400 gnss->measdata[num][cd.typeP] = cp[count] 1431 gnss->measdata[num][cd.typeP] = cp[count]*LIGHTSPEED/1000.0 1401 1432 +(rrmod[numsat]+rrint[numsat])*LIGHTSPEED/1000.0/wl; 1402 1433 if(handle->lastlockmsm[j][i] != ll[count])
Note:
See TracChangeset
for help on using the changeset viewer.