Changeset 8844 in ntrip
- Timestamp:
- Nov 8, 2019, 10:45:49 AM (5 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3Decoder.cpp
r8818 r8844 356 356 {0.0, 0}, 357 357 {0.0, 0}, 358 { GPS_WAVELENGTH_L1, "1Z"},// not defined in RTCM3.3?358 {0.0, 0}, 359 359 {0.0, 0}, 360 360 {0.0, 0}, … … 421 421 }; 422 422 423 /** 424 * MSM signal types for IRNSS 425 * 426 * NOTE: Uses 0.0, 1.0 for wavelength as sat index dependence is done later! 427 */ 423 /** MSM signal types for IRNSS */ 428 424 static struct CodeData irn[RTCM3_MSM_NUMSIG] = { 429 425 {0.0, 0}, -
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r8629 r8844 687 687 case CODETYPEGPS_L1_P: return "1P"; 688 688 case CODETYPEGPS_L1_Z: return "1W"; 689 case CODETYPEGPS_L1_Y: return "1Y";690 case CODETYPEGPS_L1_M: return "1M";691 689 //case CODETYPEGPS_L1_Y: return "1Y"; 690 //case CODETYPEGPS_L1_M: return "1M"; 691 //case CODETYPEGPS_SEMI_CODELESS: return "2D"; 692 692 case CODETYPEGPS_L2_CA: return "2C"; 693 case CODETYPEGPS_SEMI_CODELESS: return "2D"; 693 case CODETYPEGPS_L2_P: return "2P"; 694 case CODETYPEGPS_L2_Z: return "2W"; 695 694 696 case CODETYPEGPS_L2C_M: return "2S"; 695 697 case CODETYPEGPS_L2C_L: return "2L"; 696 698 case CODETYPEGPS_L2C_ML: return "2X"; 697 case CODETYPEGPS_L2_P: return "2P"; 698 case CODETYPEGPS_L2_Z: return "2W"; 699 case CODETYPEGPS_L2_Y: return "2Y"; 700 case CODETYPEGPS_L2_M: return "2M"; 699 700 //case CODETYPEGPS_L2_Y: return "2Y"; 701 //case CODETYPEGPS_L2_M: return "2M"; 701 702 702 703 case CODETYPEGPS_L5_I: return "5I"; 703 704 case CODETYPEGPS_L5_Q: return "5Q"; 704 705 case CODETYPEGPS_L5_IQ: return "5X"; 706 705 707 case CODETYPEGPS_L1C_D: return "1S"; 706 708 case CODETYPEGPS_L1C_P: return "1L"; … … 758 760 switch (type) { 759 761 case CODETYPEQZSS_L1_CA: return "1C"; 760 case CODETYPEQZSS_L1C_D: return "1S"; 761 case CODETYPEQZSS_L1C_P: return "1L"; 762 763 case CODETYPEQZSS_L6_D: return "6S"; 764 case CODETYPEQZSS_L6_P: return "6L"; 765 case CODETYPEQZSS_L6_DP: return "6X"; 766 762 767 case CODETYPEQZSS_L2C_M: return "2S"; 763 768 case CODETYPEQZSS_L2C_L: return "2L"; 764 769 case CODETYPEQZSS_L2C_ML: return "2X"; 770 765 771 case CODETYPEQZSS_L5_I: return "5I"; 766 772 case CODETYPEQZSS_L5_Q: return "5Q"; 767 773 case CODETYPEQZSS_L5_IQ: return "5X"; 768 case CODETYPEQZSS_L6_D: return "6S"; 769 case CODETYPEQZSS_L 6_P: return "6L";770 case CODETYPEQZSS_L 6_DP: return "6X";774 775 case CODETYPEQZSS_L1C_D: return "1S"; 776 case CODETYPEQZSS_L1C_P: return "1L"; 771 777 case CODETYPEQZSS_L1C_DP: return "1X"; 772 case CODETYPEQZSS_L1_S: return "1Z";773 case CODETYPEQZSS_L5_D: return "5D";774 case CODETYPEQZSS_L5_P: return "5P";775 case CODETYPEQZSS_L5_DP: return "5Z";776 case CODETYPEQZSS_L6_E: return "6E";777 case CODETYPEQZSS_L6_DE: return "6Z";778 778 default: return ""; 779 779 } … … 782 782 switch (type) { 783 783 case CODETYPE_SBAS_L1_CA: return "1C"; 784 784 785 case CODETYPE_SBAS_L5_I: return "5I"; 785 786 786 case CODETYPE_SBAS_L5_Q: return "5Q"; 787 787 case CODETYPE_SBAS_L5_IQ: return "5X"; … … 800 800 case CODETYPE_BDS_B2_Q: return "7Q"; 801 801 case CODETYPE_BDS_B2_IQ: return "7X"; 802 case CODETYPE_BDS_B 1a_D: return "1D";803 case CODETYPE_BDS_B 1a_P: return "1P";804 case CODETYPE_BDS_B 1a_DP: return "1X";805 case CODETYPE_BDS_B 2a_D: return "2D";806 case CODETYPE_BDS_B 2a_P: return "2P";807 case CODETYPE_BDS_B 2a_DP: return "2X";802 case CODETYPE_BDS_B2a_D: return "5D"; 803 case CODETYPE_BDS_B2a_P: return "5P"; 804 case CODETYPE_BDS_B2a_DP: return "5X"; 805 case CODETYPE_BDS_B1C_D: return "1D"; 806 case CODETYPE_BDS_B1C_P: return "1P"; 807 case CODETYPE_BDS_B1C_DP: return "1X"; 808 808 default: return ""; 809 809 } -
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.h
r8822 r8844 144 144 CODETYPEGPS_L1_P = 1, 145 145 CODETYPEGPS_L1_Z = 2, 146 CODETYPEGPS_L1_Y= 3,147 CODETYPEGPS_L1_M = 4,146 //CODETYPEGPS_L1_Y = 3, 147 //CODETYPEGPS_L1_M = 4, 148 148 CODETYPEGPS_L2_CA = 5, 149 CODETYPEGPS_SEMI_CODELESS = 6,149 //CODETYPEGPS_SEMI_CODELESS = 6, 150 150 CODETYPEGPS_L2C_M = 7, 151 151 CODETYPEGPS_L2C_L = 8, … … 153 153 CODETYPEGPS_L2_P = 10, 154 154 CODETYPEGPS_L2_Z = 11, 155 CODETYPEGPS_L2_Y = 12,156 CODETYPEGPS_L2_M = 13,155 //CODETYPEGPS_L2_Y = 12, 156 //CODETYPEGPS_L2_M = 13, 157 157 CODETYPEGPS_L5_I = 14, 158 158 CODETYPEGPS_L5_Q = 15, … … 209 209 CODETYPEQZSS_L6_P = 10, 210 210 CODETYPEQZSS_L6_DP = 11, 211 CODETYPEQZSS_L1C_DP = 12, 211 CODETYPEQZSS_L1C_DP = 12,/* 212 212 CODETYPEQZSS_L1_S = 13, 213 213 CODETYPEQZSS_L5_D = 14, … … 215 215 CODETYPEQZSS_L5_DP = 16, 216 216 CODETYPEQZSS_L6_E = 17, 217 CODETYPEQZSS_L6_DE = 18, 217 CODETYPEQZSS_L6_DE = 18,*/ 218 218 219 219 CODETYPE_SBAS_L1_CA = 0, … … 231 231 CODETYPE_BDS_B2_Q = 7, 232 232 CODETYPE_BDS_B2_IQ = 8, 233 CODETYPE_BDS_B 1a_D = 9,234 CODETYPE_BDS_B 1a_P = 10,235 CODETYPE_BDS_B 1a_DP = 11,236 CODETYPE_BDS_B 2a_D = 12,237 CODETYPE_BDS_B 2a_P = 13,238 CODETYPE_BDS_B 2a_DP = 14,233 CODETYPE_BDS_B2a_D = 9, 234 CODETYPE_BDS_B2a_P = 10, 235 CODETYPE_BDS_B2a_DP = 11, 236 CODETYPE_BDS_B1C_D = 12, 237 CODETYPE_BDS_B1C_P = 13, 238 CODETYPE_BDS_B1C_DP = 14, 239 239 240 240 CODETYPE_IRNSS_S_SPS = 8, -
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8808 r8844 688 688 biasSat->Biases[ii].Bias = it.value(); 689 689 } 690 else if (it.key() == "2D") {691 int ii = biasSat->NumberOfCodeBiases;692 if (ii >= CLOCKORBIT_NUMBIAS)693 break;694 biasSat->NumberOfCodeBiases += 1;695 biasSat->Biases[ii].Type = CODETYPEGPS_SEMI_CODELESS;696 biasSat->Biases[ii].Bias = it.value();697 }698 690 else if (it.key() == "2S") { 699 691 int ii = biasSat->NumberOfCodeBiases; … … 1058 1050 biasSat->Biases[ii].Bias = it.value(); 1059 1051 } 1052 else if (it.key() == "1X") { 1053 int ii = biasSat->NumberOfCodeBiases; 1054 if (ii >= CLOCKORBIT_NUMBIAS) 1055 break; 1056 biasSat->NumberOfCodeBiases += 1; 1057 biasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP; 1058 biasSat->Biases[ii].Bias = it.value(); 1059 } 1060 1060 else if (it.key() == "2S") { 1061 1061 int ii = biasSat->NumberOfCodeBiases; … … 1130 1130 biasSat->Biases[ii].Bias = it.value(); 1131 1131 } 1132 else if (it.key() == "1X") { 1133 int ii = biasSat->NumberOfCodeBiases; 1134 if (ii >= CLOCKORBIT_NUMBIAS) 1135 break; 1136 biasSat->NumberOfCodeBiases += 1; 1137 biasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP; 1138 biasSat->Biases[ii].Bias = it.value(); 1139 } 1140 else if (it.key() == "1Z") { 1141 int ii = biasSat->NumberOfCodeBiases; 1142 if (ii >= CLOCKORBIT_NUMBIAS) 1143 break; 1144 biasSat->NumberOfCodeBiases += 1; 1145 biasSat->Biases[ii].Type = CODETYPEQZSS_L1_S; 1146 biasSat->Biases[ii].Bias = it.value(); 1147 } 1148 else if (it.key() == "5D") { 1149 int ii = biasSat->NumberOfCodeBiases; 1150 if (ii >= CLOCKORBIT_NUMBIAS) 1151 break; 1152 biasSat->NumberOfCodeBiases += 1; 1153 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_D; 1154 biasSat->Biases[ii].Bias = it.value(); 1155 } 1156 else if (it.key() == "5P") { 1157 int ii = biasSat->NumberOfCodeBiases; 1158 if (ii >= CLOCKORBIT_NUMBIAS) 1159 break; 1160 biasSat->NumberOfCodeBiases += 1; 1161 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_P; 1162 biasSat->Biases[ii].Bias = it.value(); 1163 } 1164 else if (it.key() == "5Z") { 1165 int ii = biasSat->NumberOfCodeBiases; 1166 if (ii >= CLOCKORBIT_NUMBIAS) 1167 break; 1168 biasSat->NumberOfCodeBiases += 1; 1169 biasSat->Biases[ii].Type = CODETYPEQZSS_L5_DP; 1170 biasSat->Biases[ii].Bias = it.value(); 1171 } 1172 else if (it.key() == "6E") { 1173 int ii = biasSat->NumberOfCodeBiases; 1174 if (ii >= CLOCKORBIT_NUMBIAS) 1175 break; 1176 biasSat->NumberOfCodeBiases += 1; 1177 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_E; 1178 biasSat->Biases[ii].Bias = it.value(); 1179 } 1180 else if (it.key() == "6Z") { 1181 int ii = biasSat->NumberOfCodeBiases; 1182 if (ii >= CLOCKORBIT_NUMBIAS) 1183 break; 1184 biasSat->NumberOfCodeBiases += 1; 1185 biasSat->Biases[ii].Type = CODETYPEQZSS_L6_DE; 1186 biasSat->Biases[ii].Bias = it.value(); 1187 } 1188 } 1132 } 1189 1133 } 1190 1134 else if (prn.system() == 'S') { … … 1302 1246 biasSat->Biases[ii].Bias = it.value(); 1303 1247 } 1248 else if (it.key() == "5D") { 1249 int ii = biasSat->NumberOfCodeBiases; 1250 if (ii >= CLOCKORBIT_NUMBIAS) 1251 break; 1252 biasSat->NumberOfCodeBiases += 1; 1253 biasSat->Biases[ii].Type = CODETYPE_BDS_B2a_D; 1254 biasSat->Biases[ii].Bias = it.value(); 1255 } 1256 else if (it.key() == "5P") { 1257 int ii = biasSat->NumberOfCodeBiases; 1258 if (ii >= CLOCKORBIT_NUMBIAS) 1259 break; 1260 biasSat->NumberOfCodeBiases += 1; 1261 biasSat->Biases[ii].Type = CODETYPE_BDS_B2a_P; 1262 biasSat->Biases[ii].Bias = it.value(); 1263 } 1264 else if (it.key() == "5X") { 1265 int ii = biasSat->NumberOfCodeBiases; 1266 if (ii >= CLOCKORBIT_NUMBIAS) 1267 break; 1268 biasSat->NumberOfCodeBiases += 1; 1269 biasSat->Biases[ii].Type = CODETYPE_BDS_B2a_DP; 1270 biasSat->Biases[ii].Bias = it.value(); 1271 } 1304 1272 else if (it.key() == "1D") { 1305 1273 int ii = biasSat->NumberOfCodeBiases; … … 1307 1275 break; 1308 1276 biasSat->NumberOfCodeBiases += 1; 1309 biasSat->Biases[ii].Type = CODETYPE_BDS_B1 a_D;1277 biasSat->Biases[ii].Type = CODETYPE_BDS_B1C_D; 1310 1278 biasSat->Biases[ii].Bias = it.value(); 1311 1279 } … … 1315 1283 break; 1316 1284 biasSat->NumberOfCodeBiases += 1; 1317 biasSat->Biases[ii].Type = CODETYPE_BDS_B1 a_P;1285 biasSat->Biases[ii].Type = CODETYPE_BDS_B1C_P; 1318 1286 biasSat->Biases[ii].Bias = it.value(); 1319 1287 } … … 1323 1291 break; 1324 1292 biasSat->NumberOfCodeBiases += 1; 1325 biasSat->Biases[ii].Type = CODETYPE_BDS_B1a_DP; 1326 biasSat->Biases[ii].Bias = it.value(); 1327 } 1328 else if (it.key() == "5D") { 1329 int ii = biasSat->NumberOfCodeBiases; 1330 if (ii >= CLOCKORBIT_NUMBIAS) 1331 break; 1332 biasSat->NumberOfCodeBiases += 1; 1333 biasSat->Biases[ii].Type = CODETYPE_BDS_B2a_D; 1334 biasSat->Biases[ii].Bias = it.value(); 1335 } 1336 else if (it.key() == "5P") { 1337 int ii = biasSat->NumberOfCodeBiases; 1338 if (ii >= CLOCKORBIT_NUMBIAS) 1339 break; 1340 biasSat->NumberOfCodeBiases += 1; 1341 biasSat->Biases[ii].Type = CODETYPE_BDS_B2a_P; 1342 biasSat->Biases[ii].Bias = it.value(); 1343 } 1344 else if (it.key() == "5X") { 1345 int ii = biasSat->NumberOfCodeBiases; 1346 if (ii >= CLOCKORBIT_NUMBIAS) 1347 break; 1348 biasSat->NumberOfCodeBiases += 1; 1349 biasSat->Biases[ii].Type = CODETYPE_BDS_B2a_DP; 1293 biasSat->Biases[ii].Type = CODETYPE_BDS_B1C_DP; 1350 1294 biasSat->Biases[ii].Bias = it.value(); 1351 1295 } … … 1449 1393 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1450 1394 } 1451 else if (pbSig.type == "2D") {1452 int ii = phasebiasSat->NumberOfPhaseBiases;1453 if (ii >= CLOCKORBIT_NUMBIAS)1454 break;1455 phasebiasSat->NumberOfPhaseBiases += 1;1456 phasebiasSat->Biases[ii].Type = CODETYPEGPS_SEMI_CODELESS;1457 phasebiasSat->Biases[ii].Bias = pbSig.bias;1458 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;1459 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;1460 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;1461 }1462 1395 else if (pbSig.type == "2S") { 1463 1396 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1983 1916 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1984 1917 } 1918 else if (pbSig.type == "1X") { 1919 int ii = phasebiasSat->NumberOfPhaseBiases; 1920 if (ii >= CLOCKORBIT_NUMBIAS) 1921 break; 1922 phasebiasSat->NumberOfPhaseBiases += 1; 1923 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP; 1924 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1925 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; 1926 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1927 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1928 } 1985 1929 else if (pbSig.type == "2S") { 1986 1930 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2076 2020 phasebiasSat->NumberOfPhaseBiases += 1; 2077 2021 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DP; 2078 phasebiasSat->Biases[ii].Bias = pbSig.bias;2079 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2080 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2081 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2082 }2083 else if (pbSig.type == "1X") {2084 int ii = phasebiasSat->NumberOfPhaseBiases;2085 if (ii >= CLOCKORBIT_NUMBIAS)2086 break;2087 phasebiasSat->NumberOfPhaseBiases += 1;2088 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1C_DP;2089 phasebiasSat->Biases[ii].Bias = pbSig.bias;2090 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2091 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2092 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2093 }2094 else if (pbSig.type == "1Z") {2095 int ii = phasebiasSat->NumberOfPhaseBiases;2096 if (ii >= CLOCKORBIT_NUMBIAS)2097 break;2098 phasebiasSat->NumberOfPhaseBiases += 1;2099 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L1_S;2100 phasebiasSat->Biases[ii].Bias = pbSig.bias;2101 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2102 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2103 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2104 }2105 else if (pbSig.type == "5D") {2106 int ii = phasebiasSat->NumberOfPhaseBiases;2107 if (ii >= CLOCKORBIT_NUMBIAS)2108 break;2109 phasebiasSat->NumberOfPhaseBiases += 1;2110 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_D;2111 phasebiasSat->Biases[ii].Bias = pbSig.bias;2112 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2113 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2114 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2115 }2116 else if (pbSig.type == "5P") {2117 int ii = phasebiasSat->NumberOfPhaseBiases;2118 if (ii >= CLOCKORBIT_NUMBIAS)2119 break;2120 phasebiasSat->NumberOfPhaseBiases += 1;2121 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_P;2122 phasebiasSat->Biases[ii].Bias = pbSig.bias;2123 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2124 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2125 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2126 }2127 else if (pbSig.type == "5Z") {2128 int ii = phasebiasSat->NumberOfPhaseBiases;2129 if (ii >= CLOCKORBIT_NUMBIAS)2130 break;2131 phasebiasSat->NumberOfPhaseBiases += 1;2132 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L5_DP;2133 phasebiasSat->Biases[ii].Bias = pbSig.bias;2134 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2135 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2136 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2137 }2138 else if (pbSig.type == "6E") {2139 int ii = phasebiasSat->NumberOfPhaseBiases;2140 if (ii >= CLOCKORBIT_NUMBIAS)2141 break;2142 phasebiasSat->NumberOfPhaseBiases += 1;2143 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_E;2144 phasebiasSat->Biases[ii].Bias = pbSig.bias;2145 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator;2146 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;2147 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;2148 }2149 else if (pbSig.type == "6Z") {2150 int ii = phasebiasSat->NumberOfPhaseBiases;2151 if (ii >= CLOCKORBIT_NUMBIAS)2152 break;2153 phasebiasSat->NumberOfPhaseBiases += 1;2154 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L6_DE;2155 2022 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2156 2023 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.integerIndicator; … … 2311 2178 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2312 2179 } 2180 else if (pbSig.type == "5D") { 2181 int ii = phasebiasSat->NumberOfPhaseBiases; 2182 if (ii >= CLOCKORBIT_NUMBIAS) 2183 break; 2184 phasebiasSat->NumberOfPhaseBiases += 1; 2185 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2a_D; 2186 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2187 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2188 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2189 } 2190 else if (pbSig.type == "5P") { 2191 int ii = phasebiasSat->NumberOfPhaseBiases; 2192 if (ii >= CLOCKORBIT_NUMBIAS) 2193 break; 2194 phasebiasSat->NumberOfPhaseBiases += 1; 2195 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2a_P; 2196 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2197 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2198 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2199 } 2200 else if (pbSig.type == "5X") { 2201 int ii = phasebiasSat->NumberOfPhaseBiases; 2202 if (ii >= CLOCKORBIT_NUMBIAS) 2203 break; 2204 phasebiasSat->NumberOfPhaseBiases += 1; 2205 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2a_DP; 2206 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2207 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2208 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2209 } 2313 2210 else if (pbSig.type == "1D") { 2314 2211 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2316 2213 break; 2317 2214 phasebiasSat->NumberOfPhaseBiases += 1; 2318 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1 a_D;2215 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1C_D; 2319 2216 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2320 2217 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; … … 2326 2223 break; 2327 2224 phasebiasSat->NumberOfPhaseBiases += 1; 2328 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1 a_P;2225 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1C_P; 2329 2226 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2330 2227 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; … … 2336 2233 break; 2337 2234 phasebiasSat->NumberOfPhaseBiases += 1; 2338 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1a_DP; 2339 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2340 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2341 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2342 } 2343 else if (pbSig.type == "5D") { 2344 int ii = phasebiasSat->NumberOfPhaseBiases; 2345 if (ii >= CLOCKORBIT_NUMBIAS) 2346 break; 2347 phasebiasSat->NumberOfPhaseBiases += 1; 2348 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2a_D; 2349 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2350 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2351 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2352 } 2353 else if (pbSig.type == "5P") { 2354 int ii = phasebiasSat->NumberOfPhaseBiases; 2355 if (ii >= CLOCKORBIT_NUMBIAS) 2356 break; 2357 phasebiasSat->NumberOfPhaseBiases += 1; 2358 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2a_P; 2359 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2360 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 2361 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 2362 } 2363 else if (pbSig.type == "5X") { 2364 int ii = phasebiasSat->NumberOfPhaseBiases; 2365 if (ii >= CLOCKORBIT_NUMBIAS) 2366 break; 2367 phasebiasSat->NumberOfPhaseBiases += 1; 2368 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B2a_DP; 2235 phasebiasSat->Biases[ii].Type = CODETYPE_BDS_B1C_DP; 2369 2236 phasebiasSat->Biases[ii].Bias = pbSig.bias; 2370 2237 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;
Note:
See TracChangeset
for help on using the changeset viewer.