Changeset 8679 in ntrip for trunk/BNC/src/upload
- Timestamp:
- Apr 12, 2019, 11:25:45 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8544 r8679 227 227 } 228 228 int iEpoBegEarlier = _rtnetStreamBuffer.indexOf('*'); 229 if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there twoepoch lines in buffer?229 if (iEpoBegEarlier != -1 && iEpoBegEarlier < iEpoBeg) { // are there more epoch lines in buffer? 230 230 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoBegEarlier); 231 231 } … … 234 234 } 235 235 236 int iEpoEnd = _rtnetStreamBuffer. lastIndexOf("EOE"); // end of last epoch236 int iEpoEnd = _rtnetStreamBuffer.indexOf("EOE"); // end of first epoch 237 237 if (iEpoEnd == -1) { 238 238 return; … … 333 333 for (int ii = 1; ii < lines.size(); ii++) { 334 334 QString key; // prn or key VTEC, IND (phase bias indicators) 335 double rtnUra; // [m] 336 ColumnVector rtnAPC; // [m, m, m] 337 ColumnVector rtnVel; // [m/s, m/s, m/s]] 338 ColumnVector rtnCoM; // [m, m, m] 339 ColumnVector rtnClk; // [m, m/s, m/s²] 340 ColumnVector rtnClkSig; // [m, m/s, m/s²] 335 double rtnUra = 0.0; // [m] 336 ColumnVector rtnAPC; rtnAPC.ReSize(3); rtnAPC = 0.0; // [m, m, m] 337 ColumnVector rtnVel; rtnVel.ReSize(3); rtnVel = 0.0; // [m/s, m/s, m/s] 338 ColumnVector rtnCoM; rtnCoM.ReSize(3); rtnCoM = 0.0; // [m, m, m] 339 ColumnVector rtnClk; rtnClk.ReSize(3); rtnClk = 0.0; // [m, m/s, m/s²] 340 ColumnVector rtnClkSig; rtnClkSig.ReSize(3); rtnClkSig = 0.0; // [m, m/s, m/s²] 341 341 342 t_prn prn; 342 343 … … 417 418 } 418 419 419 if (eph) { 420 420 if (eph && 421 eph->checkState() != t_eph::bad && 422 eph->checkState() != t_eph::unhealthy && 423 eph->checkState() != t_eph::outdated) { 421 424 QMap<QString, double> codeBiases; 422 425 QList<phaseBiasSignal> phaseBiasList; … … 432 435 if (key == "APC") { 433 436 in >> numVal; 434 rtnAPC.ReSize(3); 437 rtnAPC.ReSize(3); rtnAPC = 0.0; 435 438 for (int ii = 0; ii < numVal; ii++) { 436 439 in >> rtnAPC[ii]; … … 443 446 } 444 447 else if (key == "Clk") { 445 rtnClk.ReSize(3);446 for (int ii = 0; ii < 3; ii++) {447 rtnClk[ii] = 0.0;448 }449 448 in >> numVal; 449 rtnClk.ReSize(3); rtnClk = 0.0; 450 450 for (int ii = 0; ii < numVal; ii++) { 451 451 in >> rtnClk[ii]; … … 453 453 } 454 454 else if (key == "ClkSig") { 455 rtnClkSig.ReSize(3);456 for (int ii = 0; ii < 3; ii++) {457 rtnClkSig[ii] = 0.0;458 }459 455 in >> numVal; 456 rtnClkSig.ReSize(3); rtnClkSig = 0.0; 460 457 for (int ii = 0; ii < numVal; ii++) { 461 458 in >> rtnClkSig[ii]; … … 463 460 } 464 461 else if (key == "Vel") { 465 rtnVel.ReSize(3);466 462 in >> numVal; 463 rtnVel.ReSize(3); rtnVel = 0.0; 467 464 for (int ii = 0; ii < numVal; ii++) { 468 465 in >> rtnVel[ii]; … … 470 467 } 471 468 else if (key == "CoM") { 472 rtnCoM.ReSize(3);473 469 in >> numVal; 470 rtnCoM.ReSize(3); rtnCoM = 0.0; 474 471 for (int ii = 0; ii < numVal; ii++) { 475 472 in >> rtnCoM[ii]; … … 549 546 rtnUra, rtnClk, rtnVel, rtnCoM, rtnClkSig, sd, outLine); 550 547 if (irc != success) { 551 continue; 548 // very few cases: check states bad and unhealthy are excluded earlier 549 sd->ID = prnStr.mid(1).toInt(); // to prevent G00, R00 entries 550 sd->IOD = eph->IOD(); 552 551 } 553 552 } … … 763 762 biasSat->Biases[ii].Bias = it.value(); 764 763 } 764 else if (it.key() == "4A") { 765 int ii = biasSat->NumberOfCodeBiases; 766 if (ii >= CLOCKORBIT_NUMBIAS) 767 break; 768 biasSat->NumberOfCodeBiases += 1; 769 biasSat->Biases[ii].Type = CODETYPEGLONASS_L1a_OCd; 770 biasSat->Biases[ii].Bias = it.value(); 771 } 772 else if (it.key() == "4B") { 773 int ii = biasSat->NumberOfCodeBiases; 774 if (ii >= CLOCKORBIT_NUMBIAS) 775 break; 776 biasSat->NumberOfCodeBiases += 1; 777 biasSat->Biases[ii].Type = CODETYPEGLONASS_L1a_OCp; 778 biasSat->Biases[ii].Bias = it.value(); 779 } 780 else if (it.key() == "4X") { 781 int ii = biasSat->NumberOfCodeBiases; 782 if (ii >= CLOCKORBIT_NUMBIAS) 783 break; 784 biasSat->NumberOfCodeBiases += 1; 785 biasSat->Biases[ii].Type = CODETYPEGLONASS_L1a_OCdp; 786 biasSat->Biases[ii].Bias = it.value(); 787 } 788 else if (it.key() == "6A") { 789 int ii = biasSat->NumberOfCodeBiases; 790 if (ii >= CLOCKORBIT_NUMBIAS) 791 break; 792 biasSat->NumberOfCodeBiases += 1; 793 biasSat->Biases[ii].Type = CODETYPEGLONASS_L2a_CSI; 794 biasSat->Biases[ii].Bias = it.value(); 795 } 796 else if (it.key() == "6B") { 797 int ii = biasSat->NumberOfCodeBiases; 798 if (ii >= CLOCKORBIT_NUMBIAS) 799 break; 800 biasSat->NumberOfCodeBiases += 1; 801 biasSat->Biases[ii].Type = CODETYPEGLONASS_L2a_OCp; 802 biasSat->Biases[ii].Bias = it.value(); 803 } 804 else if (it.key() == "6X") { 805 int ii = biasSat->NumberOfCodeBiases; 806 if (ii >= CLOCKORBIT_NUMBIAS) 807 break; 808 biasSat->NumberOfCodeBiases += 1; 809 biasSat->Biases[ii].Type = CODETYPEGLONASS_L2a_CSIOCp; 810 biasSat->Biases[ii].Bias = it.value(); 811 } 812 else if (it.key() == "3I") { 813 int ii = biasSat->NumberOfCodeBiases; 814 if (ii >= CLOCKORBIT_NUMBIAS) 815 break; 816 biasSat->NumberOfCodeBiases += 1; 817 biasSat->Biases[ii].Type = CODETYPEGLONASS_L3_I; 818 biasSat->Biases[ii].Bias = it.value(); 819 } 820 else if (it.key() == "3Q") { 821 int ii = biasSat->NumberOfCodeBiases; 822 if (ii >= CLOCKORBIT_NUMBIAS) 823 break; 824 biasSat->NumberOfCodeBiases += 1; 825 biasSat->Biases[ii].Type = CODETYPEGLONASS_L3_Q; 826 biasSat->Biases[ii].Bias = it.value(); 827 } 828 else if (it.key() == "3X") { 829 int ii = biasSat->NumberOfCodeBiases; 830 if (ii >= CLOCKORBIT_NUMBIAS) 831 break; 832 biasSat->NumberOfCodeBiases += 1; 833 biasSat->Biases[ii].Type = CODETYPEGLONASS_L3_IQ; 834 biasSat->Biases[ii].Bias = it.value(); 835 } 765 836 } 766 837 } … … 951 1022 biasSat->Biases[ii].Bias = it.value(); 952 1023 } 1024 else if (it.key() == "2S") { 1025 int ii = biasSat->NumberOfCodeBiases; 1026 if (ii >= CLOCKORBIT_NUMBIAS) 1027 break; 1028 biasSat->NumberOfCodeBiases += 1; 1029 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 1030 biasSat->Biases[ii].Bias = it.value(); 1031 } 1032 else if (it.key() == "2L") { 1033 int ii = biasSat->NumberOfCodeBiases; 1034 if (ii >= CLOCKORBIT_NUMBIAS) 1035 break; 1036 biasSat->NumberOfCodeBiases += 1; 1037 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 1038 biasSat->Biases[ii].Bias = it.value(); 1039 } 1040 else if (it.key() == "2X") { 1041 int ii = biasSat->NumberOfCodeBiases; 1042 if (ii >= CLOCKORBIT_NUMBIAS) 1043 break; 1044 biasSat->NumberOfCodeBiases += 1; 1045 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 1046 biasSat->Biases[ii].Bias = it.value(); 1047 } 1048 else if (it.key() == "5I") { 1049 int ii = biasSat->NumberOfCodeBiases; 1050 if (ii >= CLOCKORBIT_NUMBIAS) 1051 break; 1052 biasSat->NumberOfCodeBiases += 1; 1053 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_I; 1054 biasSat->Biases[ii].Bias = it.value(); 1055 } 1056 else if (it.key() == "5Q") { 1057 int ii = biasSat->NumberOfCodeBiases; 1058 if (ii >= CLOCKORBIT_NUMBIAS) 1059 break; 1060 biasSat->NumberOfCodeBiases += 1; 1061 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_Q; 1062 biasSat->Biases[ii].Bias = it.value(); 1063 } 1064 else if (it.key() == "5X") { 1065 int ii = biasSat->NumberOfCodeBiases; 1066 if (ii >= CLOCKORBIT_NUMBIAS) 1067 break; 1068 biasSat->NumberOfCodeBiases += 1; 1069 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_IQ; 1070 biasSat->Biases[ii].Bias = it.value(); 1071 } 1072 else if (it.key() == "6S") { 1073 int ii = biasSat->NumberOfCodeBiases; 1074 if (ii >= CLOCKORBIT_NUMBIAS) 1075 break; 1076 biasSat->NumberOfCodeBiases += 1; 1077 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_D; 1078 biasSat->Biases[ii].Bias = it.value(); 1079 } 1080 else if (it.key() == "6L") { 1081 int ii = biasSat->NumberOfCodeBiases; 1082 if (ii >= CLOCKORBIT_NUMBIAS) 1083 break; 1084 biasSat->NumberOfCodeBiases += 1; 1085 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_P; 1086 biasSat->Biases[ii].Bias = it.value(); 1087 } 1088 else if (it.key() == "6X") { 1089 int ii = biasSat->NumberOfCodeBiases; 1090 if (ii >= CLOCKORBIT_NUMBIAS) 1091 break; 1092 biasSat->NumberOfCodeBiases += 1; 1093 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_DP; 1094 biasSat->Biases[ii].Bias = it.value(); 1095 } 953 1096 else if (it.key() == "1X") { 954 1097 int ii = biasSat->NumberOfCodeBiases; … … 959 1102 biasSat->Biases[ii].Bias = it.value(); 960 1103 } 961 else if (it.key() == "2S") { 962 int ii = biasSat->NumberOfCodeBiases; 963 if (ii >= CLOCKORBIT_NUMBIAS) 964 break; 965 biasSat->NumberOfCodeBiases += 1; 966 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 967 biasSat->Biases[ii].Bias = it.value(); 968 } 969 else if (it.key() == "2L") { 970 int ii = biasSat->NumberOfCodeBiases; 971 if (ii >= CLOCKORBIT_NUMBIAS) 972 break; 973 biasSat->NumberOfCodeBiases += 1; 974 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 975 biasSat->Biases[ii].Bias = it.value(); 976 } 977 else if (it.key() == "2X") { 978 int ii = biasSat->NumberOfCodeBiases; 979 if (ii >= CLOCKORBIT_NUMBIAS) 980 break; 981 biasSat->NumberOfCodeBiases += 1; 982 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 983 biasSat->Biases[ii].Bias = it.value(); 984 } 985 else if (it.key() == "5I") { 986 int ii = biasSat->NumberOfCodeBiases; 987 if (ii >= CLOCKORBIT_NUMBIAS) 988 break; 989 biasSat->NumberOfCodeBiases += 1; 990 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_I; 991 biasSat->Biases[ii].Bias = it.value(); 992 } 993 else if (it.key() == "5Q") { 994 int ii = biasSat->NumberOfCodeBiases; 995 if (ii >= CLOCKORBIT_NUMBIAS) 996 break; 997 biasSat->NumberOfCodeBiases += 1; 998 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_Q; 999 biasSat->Biases[ii].Bias = it.value(); 1000 } 1001 else if (it.key() == "5X") { 1002 int ii = biasSat->NumberOfCodeBiases; 1003 if (ii >= CLOCKORBIT_NUMBIAS) 1004 break; 1005 biasSat->NumberOfCodeBiases += 1; 1006 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_IQ; 1007 biasSat->Biases[ii].Bias = it.value(); 1008 } 1009 else if (it.key() == "6S") { 1010 int ii = biasSat->NumberOfCodeBiases; 1011 if (ii >= CLOCKORBIT_NUMBIAS) 1012 break; 1013 biasSat->NumberOfCodeBiases += 1; 1014 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_D; 1015 biasSat->Biases[ii].Bias = it.value(); 1016 } 1017 else if (it.key() == "6L") { 1018 int ii = biasSat->NumberOfCodeBiases; 1019 if (ii >= CLOCKORBIT_NUMBIAS) 1020 break; 1021 biasSat->NumberOfCodeBiases += 1; 1022 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_P; 1023 biasSat->Biases[ii].Bias = it.value(); 1024 } 1025 else if (it.key() == "6X") { 1026 int ii = biasSat->NumberOfCodeBiases; 1027 if (ii >= CLOCKORBIT_NUMBIAS) 1028 break; 1029 biasSat->NumberOfCodeBiases += 1; 1030 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_DP; 1031 biasSat->Biases[ii].Bias = it.value(); 1032 } 1033 } 1104 else if (it.key() == "1Z") { 1105 int ii = biasSat->NumberOfCodeBiases; 1106 if (ii >= CLOCKORBIT_NUMBIAS) 1107 break; 1108 biasSat->NumberOfCodeBiases += 1; 1109 biasSat->Biases[ii].Type = CODETYPEQZSS_L1_S; 1110 biasSat->Biases[ii].Bias = it.value(); 1111 } 1112 else if (it.key() == "5D") { 1113 int ii = biasSat->NumberOfCodeBiases; 1114 if (ii >= CLOCKORBIT_NUMBIAS) 1115 break; 1116 biasSat->NumberOfCodeBiases += 1; 1117 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_D; 1118 biasSat->Biases[ii].Bias = it.value(); 1119 } 1120 else if (it.key() == "5P") { 1121 int ii = biasSat->NumberOfCodeBiases; 1122 if (ii >= CLOCKORBIT_NUMBIAS) 1123 break; 1124 biasSat->NumberOfCodeBiases += 1; 1125 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_P; 1126 biasSat->Biases[ii].Bias = it.value(); 1127 } 1128 else if (it.key() == "5Z") { 1129 int ii = biasSat->NumberOfCodeBiases; 1130 if (ii >= CLOCKORBIT_NUMBIAS) 1131 break; 1132 biasSat->NumberOfCodeBiases += 1; 1133 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_DP; 1134 biasSat->Biases[ii].Bias = it.value(); 1135 } 1136 else if (it.key() == "6E") { 1137 int ii = biasSat->NumberOfCodeBiases; 1138 if (ii >= CLOCKORBIT_NUMBIAS) 1139 break; 1140 biasSat->NumberOfCodeBiases += 1; 1141 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_E; 1142 biasSat->Biases[ii].Bias = it.value(); 1143 } 1144 else if (it.key() == "6Z") { 1145 int ii = biasSat->NumberOfCodeBiases; 1146 if (ii >= CLOCKORBIT_NUMBIAS) 1147 break; 1148 biasSat->NumberOfCodeBiases += 1; 1149 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_DE; 1150 biasSat->Biases[ii].Bias = it.value(); 1151 } 1152 } 1034 1153 } 1035 1154 else if (prn.system() == 'S') { … … 1210 1329 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1211 1330 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1212 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1213 pbSig.wlIndicator; 1214 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1215 pbSig.discontinuityCounter; 1331 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1332 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1333 } 1334 else if (pbSig.type == "1P") { 1335 int ii = phasebiasSat->NumberOfPhaseBiases; 1336 if (ii >= CLOCKORBIT_NUMBIAS) 1337 break; 1338 phasebiasSat->NumberOfPhaseBiases += 1; 1339 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1_P; 1340 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1341 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1342 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1343 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1344 } 1345 else if (pbSig.type == "1W") { 1346 int ii = phasebiasSat->NumberOfPhaseBiases; 1347 if (ii >= CLOCKORBIT_NUMBIAS) 1348 break; 1349 phasebiasSat->NumberOfPhaseBiases += 1; 1350 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1_Z; 1351 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1352 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1353 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1354 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1355 } 1356 else if (pbSig.type == "2C") { 1357 int ii = phasebiasSat->NumberOfPhaseBiases; 1358 if (ii >= CLOCKORBIT_NUMBIAS) 1359 break; 1360 phasebiasSat->NumberOfPhaseBiases += 1; 1361 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2_CA; 1362 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1363 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1364 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1365 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1366 } 1367 else if (pbSig.type == "2D") { 1368 int ii = phasebiasSat->NumberOfPhaseBiases; 1369 if (ii >= CLOCKORBIT_NUMBIAS) 1370 break; 1371 phasebiasSat->NumberOfPhaseBiases += 1; 1372 phasebiasSat->Biases[ii].Type = CODETYPEGPS_SEMI_CODELESS; 1373 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1374 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1375 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1376 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1377 } 1378 else if (pbSig.type == "2S") { 1379 int ii = phasebiasSat->NumberOfPhaseBiases; 1380 if (ii >= CLOCKORBIT_NUMBIAS) 1381 break; 1382 phasebiasSat->NumberOfPhaseBiases += 1; 1383 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2C_M; 1384 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1385 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1386 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1387 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1388 } 1389 else if (pbSig.type == "2L") { 1390 int ii = phasebiasSat->NumberOfPhaseBiases; 1391 if (ii >= CLOCKORBIT_NUMBIAS) 1392 break; 1393 phasebiasSat->NumberOfPhaseBiases += 1; 1394 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2C_L; 1395 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1396 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1397 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1398 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1399 } 1400 else if (pbSig.type == "2X") { 1401 int ii = phasebiasSat->NumberOfPhaseBiases; 1402 if (ii >= CLOCKORBIT_NUMBIAS) 1403 break; 1404 phasebiasSat->NumberOfPhaseBiases += 1; 1405 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2C_ML; 1406 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1407 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1408 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1409 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1410 } 1411 else if (pbSig.type == "2P") { 1412 int ii = phasebiasSat->NumberOfPhaseBiases; 1413 if (ii >= CLOCKORBIT_NUMBIAS) 1414 break; 1415 phasebiasSat->NumberOfPhaseBiases += 1; 1416 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2_P; 1417 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1418 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1419 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1420 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1421 } 1422 else if (pbSig.type == "2W") { 1423 int ii = phasebiasSat->NumberOfPhaseBiases; 1424 if (ii >= CLOCKORBIT_NUMBIAS) 1425 break; 1426 phasebiasSat->NumberOfPhaseBiases += 1; 1427 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1_Z; 1428 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1429 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1430 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1431 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1432 } 1433 else if (pbSig.type == "5I") { 1434 int ii = phasebiasSat->NumberOfPhaseBiases; 1435 if (ii >= CLOCKORBIT_NUMBIAS) 1436 break; 1437 phasebiasSat->NumberOfPhaseBiases += 1; 1438 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L5_I; 1439 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1440 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1441 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1442 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1443 } 1444 else if (pbSig.type == "5Q") { 1445 int ii = phasebiasSat->NumberOfPhaseBiases; 1446 if (ii >= CLOCKORBIT_NUMBIAS) 1447 break; 1448 phasebiasSat->NumberOfPhaseBiases += 1; 1449 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L5_Q; 1450 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1451 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1452 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1453 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1454 } 1455 else if (pbSig.type == "5X") { 1456 int ii = phasebiasSat->NumberOfPhaseBiases; 1457 if (ii >= CLOCKORBIT_NUMBIAS) 1458 break; 1459 phasebiasSat->NumberOfPhaseBiases += 1; 1460 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L5_IQ; 1461 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1462 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1463 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1464 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1216 1465 } 1217 1466 else if (pbSig.type == "1S") { … … 1223 1472 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1224 1473 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1225 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1226 pbSig.wlIndicator; 1227 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1228 pbSig.discontinuityCounter; 1474 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1475 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1229 1476 } 1230 1477 else if (pbSig.type == "1L") { … … 1236 1483 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1237 1484 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1238 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1239 pbSig.wlIndicator; 1240 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1241 pbSig.discontinuityCounter; 1485 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1486 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1242 1487 } 1243 1488 else if (pbSig.type == "1X") { … … 1246 1491 break; 1247 1492 phasebiasSat->NumberOfPhaseBiases += 1; 1248 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1C_P; 1249 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1250 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1251 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1252 pbSig.wlIndicator; 1253 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1254 pbSig.discontinuityCounter; 1255 } 1256 else if (pbSig.type == "1P") { 1257 int ii = phasebiasSat->NumberOfPhaseBiases; 1258 if (ii >= CLOCKORBIT_NUMBIAS) 1259 break; 1260 phasebiasSat->NumberOfPhaseBiases += 1; 1261 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1_P; 1262 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1263 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1264 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1265 pbSig.wlIndicator; 1266 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1267 pbSig.discontinuityCounter; 1268 } 1269 else if (pbSig.type == "1W") { 1270 int ii = phasebiasSat->NumberOfPhaseBiases; 1271 if (ii >= CLOCKORBIT_NUMBIAS) 1272 break; 1273 phasebiasSat->NumberOfPhaseBiases += 1; 1274 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1_Z; 1275 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1276 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1277 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1278 pbSig.wlIndicator; 1279 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1280 pbSig.discontinuityCounter; 1281 } 1282 else if (pbSig.type == "2C") { 1283 int ii = phasebiasSat->NumberOfPhaseBiases; 1284 if (ii >= CLOCKORBIT_NUMBIAS) 1285 break; 1286 phasebiasSat->NumberOfPhaseBiases += 1; 1287 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2_CA; 1288 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1289 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1290 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1291 pbSig.wlIndicator; 1292 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1293 pbSig.discontinuityCounter; 1294 } 1295 else if (pbSig.type == "2D") { 1296 int ii = phasebiasSat->NumberOfPhaseBiases; 1297 if (ii >= CLOCKORBIT_NUMBIAS) 1298 break; 1299 phasebiasSat->NumberOfPhaseBiases += 1; 1300 phasebiasSat->Biases[ii].Type = CODETYPEGPS_SEMI_CODELESS; 1301 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1302 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1303 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1304 pbSig.wlIndicator; 1305 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1306 pbSig.discontinuityCounter; 1307 } 1308 else if (pbSig.type == "2S") { 1309 int ii = phasebiasSat->NumberOfPhaseBiases; 1310 if (ii >= CLOCKORBIT_NUMBIAS) 1311 break; 1312 phasebiasSat->NumberOfPhaseBiases += 1; 1313 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2C_M; 1314 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1315 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1316 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1317 pbSig.wlIndicator; 1318 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1319 pbSig.discontinuityCounter; 1320 } 1321 else if (pbSig.type == "2L") { 1322 int ii = phasebiasSat->NumberOfPhaseBiases; 1323 if (ii >= CLOCKORBIT_NUMBIAS) 1324 break; 1325 phasebiasSat->NumberOfPhaseBiases += 1; 1326 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2C_L; 1327 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1328 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1329 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1330 pbSig.wlIndicator; 1331 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1332 pbSig.discontinuityCounter; 1333 } 1334 else if (pbSig.type == "2X") { 1335 int ii = phasebiasSat->NumberOfPhaseBiases; 1336 if (ii >= CLOCKORBIT_NUMBIAS) 1337 break; 1338 phasebiasSat->NumberOfPhaseBiases += 1; 1339 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2C_ML; 1340 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1341 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1342 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1343 pbSig.wlIndicator; 1344 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1345 pbSig.discontinuityCounter; 1346 } 1347 else if (pbSig.type == "2P") { 1348 int ii = phasebiasSat->NumberOfPhaseBiases; 1349 if (ii >= CLOCKORBIT_NUMBIAS) 1350 break; 1351 phasebiasSat->NumberOfPhaseBiases += 1; 1352 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2_P; 1353 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1354 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1355 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1356 pbSig.wlIndicator; 1357 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1358 pbSig.discontinuityCounter; 1359 } 1360 else if (pbSig.type == "2W") { 1361 int ii = phasebiasSat->NumberOfPhaseBiases; 1362 if (ii >= CLOCKORBIT_NUMBIAS) 1363 break; 1364 phasebiasSat->NumberOfPhaseBiases += 1; 1365 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L2_Z; 1366 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1367 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1368 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1369 pbSig.wlIndicator; 1370 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1371 pbSig.discontinuityCounter; 1372 } 1373 else if (pbSig.type == "5I") { 1374 int ii = phasebiasSat->NumberOfPhaseBiases; 1375 if (ii >= CLOCKORBIT_NUMBIAS) 1376 break; 1377 phasebiasSat->NumberOfPhaseBiases += 1; 1378 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L5_I; 1379 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1380 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1381 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1382 pbSig.wlIndicator; 1383 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1384 pbSig.discontinuityCounter; 1385 } 1386 else if (pbSig.type == "5Q") { 1387 int ii = phasebiasSat->NumberOfPhaseBiases; 1388 if (ii >= CLOCKORBIT_NUMBIAS) 1389 break; 1390 phasebiasSat->NumberOfPhaseBiases += 1; 1391 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L5_Q; 1392 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1393 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1394 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1395 pbSig.wlIndicator; 1396 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1397 pbSig.discontinuityCounter; 1398 } 1399 else if (pbSig.type == "5X") { 1400 int ii = phasebiasSat->NumberOfPhaseBiases; 1401 if (ii >= CLOCKORBIT_NUMBIAS) 1402 break; 1403 phasebiasSat->NumberOfPhaseBiases += 1; 1404 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L5_IQ; 1405 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1406 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1407 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1408 pbSig.wlIndicator; 1409 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1410 pbSig.discontinuityCounter; 1493 phasebiasSat->Biases[ii].Type = CODETYPEGPS_L1C_DP; 1494 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1495 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1496 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1497 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1411 1498 } 1412 1499 } … … 1424 1511 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1425 1512 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1426 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1427 pbSig.wlIndicator; 1428 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1429 pbSig.discontinuityCounter; 1513 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1514 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1430 1515 } 1431 1516 else if (pbSig.type == "1P") { … … 1437 1522 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1438 1523 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1439 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1440 pbSig.wlIndicator; 1441 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1442 pbSig.discontinuityCounter; 1524 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1525 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1443 1526 } 1444 1527 else if (pbSig.type == "2C") { … … 1450 1533 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1451 1534 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1452 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1453 pbSig.wlIndicator; 1454 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1455 pbSig.discontinuityCounter; 1535 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1536 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1456 1537 } 1457 1538 else if (pbSig.type == "2P") { … … 1463 1544 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1464 1545 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1465 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1466 pbSig.wlIndicator; 1467 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1468 pbSig.discontinuityCounter; 1546 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1547 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1469 1548 } 1470 1549 } … … 1482 1561 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1483 1562 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1484 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1485 pbSig.wlIndicator; 1486 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1487 pbSig.discontinuityCounter; 1563 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1564 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1488 1565 } 1489 1566 else if (pbSig.type == "1B") { … … 1495 1572 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1496 1573 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1497 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1498 pbSig.wlIndicator; 1499 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1500 pbSig.discontinuityCounter; 1574 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1575 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1501 1576 } 1502 1577 else if (pbSig.type == "1C") { … … 1508 1583 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1509 1584 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1510 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1511 pbSig.wlIndicator; 1512 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1513 pbSig.discontinuityCounter; 1585 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1586 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1514 1587 } 1515 1588 else if (pbSig.type == "1X") { … … 1521 1594 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1522 1595 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1523 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1524 pbSig.wlIndicator; 1525 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1526 pbSig.discontinuityCounter; 1596 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1597 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1527 1598 } 1528 1599 else if (pbSig.type == "1Z") { … … 1534 1605 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1535 1606 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1536 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1537 pbSig.wlIndicator; 1538 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1539 pbSig.discontinuityCounter; 1607 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1608 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1540 1609 } 1541 1610 else if (pbSig.type == "5I") { … … 1547 1616 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1548 1617 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1549 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1550 pbSig.wlIndicator; 1551 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1552 pbSig.discontinuityCounter; 1618 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1619 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1553 1620 } 1554 1621 else if (pbSig.type == "5Q") { … … 1560 1627 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1561 1628 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1562 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1563 pbSig.wlIndicator; 1564 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1565 pbSig.discontinuityCounter; 1629 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1630 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1566 1631 } 1567 1632 else if (pbSig.type == "5X") { … … 1573 1638 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1574 1639 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1575 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1576 pbSig.wlIndicator; 1577 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1578 pbSig.discontinuityCounter; 1640 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1641 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1579 1642 } 1580 1643 else if (pbSig.type == "7I") { … … 1586 1649 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1587 1650 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1588 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1589 pbSig.wlIndicator; 1590 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1591 pbSig.discontinuityCounter; 1651 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1652 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1592 1653 } 1593 1654 else if (pbSig.type == "7Q") { … … 1599 1660 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1600 1661 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1601 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1602 pbSig.wlIndicator; 1603 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1604 pbSig.discontinuityCounter; 1662 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1663 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1605 1664 } 1606 1665 else if (pbSig.type == "7X") { … … 1612 1671 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1613 1672 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1614 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1615 pbSig.wlIndicator; 1616 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1617 pbSig.discontinuityCounter; 1673 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1674 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1618 1675 } 1619 1676 else if (pbSig.type == "8I") { … … 1625 1682 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1626 1683 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1627 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1628 pbSig.wlIndicator; 1629 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1630 pbSig.discontinuityCounter; 1684 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1685 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1631 1686 } 1632 1687 else if (pbSig.type == "8Q") { … … 1638 1693 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1639 1694 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1640 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1641 pbSig.wlIndicator; 1642 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1643 pbSig.discontinuityCounter; 1695 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1696 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1644 1697 } 1645 1698 else if (pbSig.type == "8X") { … … 1651 1704 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1652 1705 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1653 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1654 pbSig.wlIndicator; 1655 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1656 pbSig.discontinuityCounter; 1706 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1707 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1657 1708 } 1658 1709 else if (pbSig.type == "6A") { … … 1664 1715 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1665 1716 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1666 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1667 pbSig.wlIndicator; 1668 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1669 pbSig.discontinuityCounter; 1717 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1718 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1670 1719 } 1671 1720 else if (pbSig.type == "6B") { … … 1677 1726 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1678 1727 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1679 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1680 pbSig.wlIndicator; 1681 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1682 pbSig.discontinuityCounter; 1728 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1729 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1683 1730 } 1684 1731 else if (pbSig.type == "6C") { … … 1690 1737 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1691 1738 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1692 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1693 pbSig.wlIndicator; 1694 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1695 pbSig.discontinuityCounter; 1739 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1740 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1696 1741 } 1697 1742 else if (pbSig.type == "6X") { … … 1703 1748 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1704 1749 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1705 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1706 pbSig.wlIndicator; 1707 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1708 pbSig.discontinuityCounter; 1750 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1751 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1709 1752 } 1710 1753 else if (pbSig.type == "6Z") { … … 1716 1759 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1717 1760 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1718 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1719 pbSig.wlIndicator; 1720 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1721 pbSig.discontinuityCounter; 1761 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1762 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1722 1763 } 1723 1764 } … … 1735 1776 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1736 1777 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1737 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1738 pbSig.wlIndicator; 1739 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1740 pbSig.discontinuityCounter; 1778 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1779 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1741 1780 } 1742 1781 else if (pbSig.type == "1S") { … … 1747 1786 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1C_D; 1748 1787 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1749 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1750 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1751 pbSig.wlIndicator; 1752 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1753 pbSig.discontinuityCounter; 1788 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1789 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1754 1790 } 1755 1791 else if (pbSig.type == "1L") { … … 1761 1797 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1762 1798 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1763 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1764 pbSig.wlIndicator; 1765 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1766 pbSig.discontinuityCounter; 1799 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1800 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1801 } 1802 else if (pbSig.type == "2S") { 1803 int ii = phasebiasSat->NumberOfPhaseBiases; 1804 if (ii >= CLOCKORBIT_NUMBIAS) 1805 break; 1806 phasebiasSat->NumberOfPhaseBiases += 1; 1807 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 1808 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1809 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1810 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1811 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1812 } 1813 else if (pbSig.type == "2L") { 1814 int ii = phasebiasSat->NumberOfPhaseBiases; 1815 if (ii >= CLOCKORBIT_NUMBIAS) 1816 break; 1817 phasebiasSat->NumberOfPhaseBiases += 1; 1818 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 1819 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1820 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1821 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1822 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1823 } 1824 else if (pbSig.type == "2X") { 1825 int ii = phasebiasSat->NumberOfPhaseBiases; 1826 if (ii >= CLOCKORBIT_NUMBIAS) 1827 break; 1828 phasebiasSat->NumberOfPhaseBiases += 1; 1829 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 1830 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1831 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1832 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1833 } 1834 else if (pbSig.type == "5I") { 1835 int ii = phasebiasSat->NumberOfPhaseBiases; 1836 if (ii >= CLOCKORBIT_NUMBIAS) 1837 break; 1838 phasebiasSat->NumberOfPhaseBiases += 1; 1839 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_I; 1840 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1841 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1842 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1843 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1844 } 1845 else if (pbSig.type == "5Q") { 1846 int ii = phasebiasSat->NumberOfPhaseBiases; 1847 if (ii >= CLOCKORBIT_NUMBIAS) 1848 break; 1849 phasebiasSat->NumberOfPhaseBiases += 1; 1850 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_Q; 1851 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1852 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1853 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1854 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1855 } 1856 else if (pbSig.type == "5X") { 1857 int ii = phasebiasSat->NumberOfPhaseBiases; 1858 if (ii >= CLOCKORBIT_NUMBIAS) 1859 break; 1860 phasebiasSat->NumberOfPhaseBiases += 1; 1861 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_IQ; 1862 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1863 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1864 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1865 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1866 } 1867 else if (pbSig.type == "6S") { 1868 int ii = phasebiasSat->NumberOfPhaseBiases; 1869 if (ii >= CLOCKORBIT_NUMBIAS) 1870 break; 1871 phasebiasSat->NumberOfPhaseBiases += 1; 1872 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_D; 1873 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1874 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1875 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1876 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1877 } 1878 else if (pbSig.type == "6L") { 1879 int ii = phasebiasSat->NumberOfPhaseBiases; 1880 if (ii >= CLOCKORBIT_NUMBIAS) 1881 break; 1882 phasebiasSat->NumberOfPhaseBiases += 1; 1883 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_P; 1884 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1885 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1886 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1887 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1888 } 1889 else if (pbSig.type == "6X") { 1890 int ii = phasebiasSat->NumberOfPhaseBiases; 1891 if (ii >= CLOCKORBIT_NUMBIAS) 1892 break; 1893 phasebiasSat->NumberOfPhaseBiases += 1; 1894 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DP; 1895 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1896 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1897 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1898 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1767 1899 } 1768 1900 else if (pbSig.type == "1X") { … … 1774 1906 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1775 1907 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1776 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1777 pbSig.wlIndicator; 1778 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1779 pbSig.discontinuityCounter; 1780 } 1781 else if (pbSig.type == "2S") { 1782 int ii = phasebiasSat->NumberOfPhaseBiases; 1783 if (ii >= CLOCKORBIT_NUMBIAS) 1784 break; 1785 phasebiasSat->NumberOfPhaseBiases += 1; 1786 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 1787 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1788 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1789 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1790 pbSig.wlIndicator; 1791 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1792 pbSig.discontinuityCounter; 1793 } 1794 else if (pbSig.type == "2L") { 1795 int ii = phasebiasSat->NumberOfPhaseBiases; 1796 if (ii >= CLOCKORBIT_NUMBIAS) 1797 break; 1798 phasebiasSat->NumberOfPhaseBiases += 1; 1799 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 1800 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1801 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1802 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1803 pbSig.wlIndicator; 1804 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1805 pbSig.discontinuityCounter; 1806 } 1807 else if (pbSig.type == "2X") { 1808 int ii = phasebiasSat->NumberOfPhaseBiases; 1809 if (ii >= CLOCKORBIT_NUMBIAS) 1810 break; 1811 phasebiasSat->NumberOfPhaseBiases += 1; 1812 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 1813 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1814 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1815 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1816 pbSig.wlIndicator; 1817 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1818 pbSig.discontinuityCounter; 1819 } 1820 else if (pbSig.type == "5I") { 1821 int ii = phasebiasSat->NumberOfPhaseBiases; 1822 if (ii >= CLOCKORBIT_NUMBIAS) 1823 break; 1824 phasebiasSat->NumberOfPhaseBiases += 1; 1825 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_I; 1826 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1827 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1828 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1829 pbSig.wlIndicator; 1830 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1831 pbSig.discontinuityCounter; 1832 } 1833 else if (pbSig.type == "5Q") { 1834 int ii = phasebiasSat->NumberOfPhaseBiases; 1835 if (ii >= CLOCKORBIT_NUMBIAS) 1836 break; 1837 phasebiasSat->NumberOfPhaseBiases += 1; 1838 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_Q; 1839 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1840 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1841 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1842 pbSig.wlIndicator; 1843 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1844 pbSig.discontinuityCounter; 1845 } 1846 else if (pbSig.type == "5X") { 1847 int ii = phasebiasSat->NumberOfPhaseBiases; 1848 if (ii >= CLOCKORBIT_NUMBIAS) 1849 break; 1850 phasebiasSat->NumberOfPhaseBiases += 1; 1851 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_IQ; 1852 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1853 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1854 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1855 pbSig.wlIndicator; 1856 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1857 pbSig.discontinuityCounter; 1858 } 1859 else if (pbSig.type == "6S") { 1860 int ii = phasebiasSat->NumberOfPhaseBiases; 1861 if (ii >= CLOCKORBIT_NUMBIAS) 1862 break; 1863 phasebiasSat->NumberOfPhaseBiases += 1; 1864 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_D; 1865 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1866 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1867 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1868 pbSig.wlIndicator; 1869 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1870 pbSig.discontinuityCounter; 1871 } 1872 else if (pbSig.type == "6L") { 1873 int ii = phasebiasSat->NumberOfPhaseBiases; 1874 if (ii >= CLOCKORBIT_NUMBIAS) 1875 break; 1876 phasebiasSat->NumberOfPhaseBiases += 1; 1877 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_P; 1878 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1879 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1880 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1881 pbSig.wlIndicator; 1882 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1883 pbSig.discontinuityCounter; 1884 } 1885 else if (pbSig.type == "6X") { 1886 int ii = phasebiasSat->NumberOfPhaseBiases; 1887 if (ii >= CLOCKORBIT_NUMBIAS) 1888 break; 1889 phasebiasSat->NumberOfPhaseBiases += 1; 1890 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DP; 1891 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1892 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1893 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1894 pbSig.wlIndicator; 1895 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1896 pbSig.discontinuityCounter; 1908 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1909 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1910 } 1911 else if (pbSig.type == "1Z") { 1912 int ii = phasebiasSat->NumberOfPhaseBiases; 1913 if (ii >= CLOCKORBIT_NUMBIAS) 1914 break; 1915 phasebiasSat->NumberOfPhaseBiases += 1; 1916 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1_S; 1917 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1918 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1919 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1920 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1921 } 1922 else if (pbSig.type == "5D") { 1923 int ii = phasebiasSat->NumberOfPhaseBiases; 1924 if (ii >= CLOCKORBIT_NUMBIAS) 1925 break; 1926 phasebiasSat->NumberOfPhaseBiases += 1; 1927 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_D; 1928 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1929 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1930 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1931 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1932 } 1933 else if (pbSig.type == "5P") { 1934 int ii = phasebiasSat->NumberOfPhaseBiases; 1935 if (ii >= CLOCKORBIT_NUMBIAS) 1936 break; 1937 phasebiasSat->NumberOfPhaseBiases += 1; 1938 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_P; 1939 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1940 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1941 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1942 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1943 } 1944 else if (pbSig.type == "5D") { 1945 int ii = phasebiasSat->NumberOfPhaseBiases; 1946 if (ii >= CLOCKORBIT_NUMBIAS) 1947 break; 1948 phasebiasSat->NumberOfPhaseBiases += 1; 1949 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_DP; 1950 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1951 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1952 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1953 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1954 } 1955 else if (pbSig.type == "6E") { 1956 int ii = phasebiasSat->NumberOfPhaseBiases; 1957 if (ii >= CLOCKORBIT_NUMBIAS) 1958 break; 1959 phasebiasSat->NumberOfPhaseBiases += 1; 1960 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_E; 1961 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1962 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1963 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1964 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1965 } 1966 else if (pbSig.type == "6Z") { 1967 int ii = phasebiasSat->NumberOfPhaseBiases; 1968 if (ii >= CLOCKORBIT_NUMBIAS) 1969 break; 1970 phasebiasSat->NumberOfPhaseBiases += 1; 1971 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DE; 1972 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1973 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1974 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1975 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1897 1976 } 1898 1977 } … … 1910 1989 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1911 1990 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1912 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1913 pbSig.wlIndicator; 1914 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1915 pbSig.discontinuityCounter; 1991 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1992 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1916 1993 } 1917 1994 else if (pbSig.type == "5I") { … … 1922 1999 phasebiasSat->Biases[ii].Type = CODETYPE_SBAS_L5_I; 1923 2000 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1924 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1925 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1926 pbSig.wlIndicator; 1927 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1928 pbSig.discontinuityCounter; 2001 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2002 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1929 2003 } 1930 2004 else if (pbSig.type == "5Q") { … … 1936 2010 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1937 2011 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1938 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1939 pbSig.wlIndicator; 1940 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1941 pbSig.discontinuityCounter; 2012 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2013 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1942 2014 } 1943 2015 else if (pbSig.type == "5X") { … … 1949 2021 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1950 2022 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1951 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1952 pbSig.wlIndicator; 1953 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1954 pbSig.discontinuityCounter; 2023 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2024 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1955 2025 } 1956 2026 } … … 1968 2038 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1969 2039 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1970 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1971 pbSig.wlIndicator; 1972 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1973 pbSig.discontinuityCounter; 2040 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2041 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1974 2042 } 1975 2043 else if (pbSig.type == "2Q") { … … 1981 2049 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1982 2050 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1983 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1984 pbSig.wlIndicator; 1985 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1986 pbSig.discontinuityCounter; 2051 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2052 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1987 2053 } 1988 2054 else if (pbSig.type == "2X") { … … 1994 2060 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1995 2061 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1996 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1997 pbSig.wlIndicator; 1998 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1999 pbSig.discontinuityCounter; 2062 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2063 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2000 2064 } 2001 2065 else if (pbSig.type == "6I") { … … 2007 2071 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2008 2072 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 2009 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 2010 pbSig.wlIndicator; 2011 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 2012 pbSig.discontinuityCounter; 2073 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2074 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2013 2075 } 2014 2076 else if (pbSig.type == "6Q") { … … 2020 2082 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2021 2083 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 2022 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 2023 pbSig.wlIndicator; 2024 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 2025 pbSig.discontinuityCounter; 2084 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2085 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2026 2086 } 2027 2087 else if (pbSig.type == "6X") { … … 2033 2093 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2034 2094 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 2035 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 2036 pbSig.wlIndicator; 2037 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 2038 pbSig.discontinuityCounter; 2095 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2096 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2039 2097 } 2040 2098 else if (pbSig.type == "7I") { … … 2046 2104 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2047 2105 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 2048 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 2049 pbSig.wlIndicator; 2050 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 2051 pbSig.discontinuityCounter; 2106 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2107 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2052 2108 } 2053 2109 else if (pbSig.type == "7Q") { … … 2059 2115 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2060 2116 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 2061 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 2062 pbSig.wlIndicator; 2063 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 2064 pbSig.discontinuityCounter; 2117 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2118 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2065 2119 } 2066 2120 else if (pbSig.type == "7X") { … … 2071 2125 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2_IQ; 2072 2126 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2073 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 2074 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 2075 pbSig.wlIndicator; 2076 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 2077 pbSig.discontinuityCounter; 2127 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2128 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2078 2129 } 2079 2130 } … … 2082 2133 } 2083 2134 } 2135 2084 2136 2085 2137 QByteArray hlpBufferCo; … … 2309 2361 // ---------------- 2310 2362 double dClkA0 = rtnClk(1) - (xB(4) - dc) * t_CST::c; 2311 double dClkA1 = rtnClk(2) - xB(5) * t_CST::c; 2312 double dClkA2 = rtnClk(3) - xB(6) * t_CST::c; 2363 double dClkA1 = 0.0; 2364 if (rtnClk(2)) { 2365 dClkA1 = rtnClk(2) - xB(5) * t_CST::c; 2366 } 2367 double dClkA2 = 0.0; 2368 if (rtnClk(3)) { 2369 dClkA2 = rtnClk(3) - xB(6) * t_CST::c; 2370 } 2313 2371 2314 2372 if (sd) {
Note:
See TracChangeset
for help on using the changeset viewer.