Changeset 7940 in ntrip for trunk/BNC/src
- Timestamp:
- May 31, 2016, 10:18:54 AM (8 years ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/RTCM3/RTCM3coDecoder.cpp
r7850 r7940 714 714 case CODETYPEGALILEO_E1_B: return "1B"; 715 715 case CODETYPEGALILEO_E1_C: return "1C"; 716 case CODETYPEGALILEO_E1_BC: return "1X"; 717 case CODETYPEGALILEO_E1_ABC: return "1Z"; 716 718 case CODETYPEGALILEO_E5A_I: return "5I"; 717 719 case CODETYPEGALILEO_E5A_Q: return "5Q"; 720 case CODETYPEGALILEO_E5A_IQ: return "5X"; 718 721 case CODETYPEGALILEO_E5B_I: return "7I"; 719 722 case CODETYPEGALILEO_E5B_Q: return "7Q"; 723 case CODETYPEGALILEO_E5B_IQ: return "7X"; 720 724 case CODETYPEGALILEO_E5_I: return "8I"; 721 725 case CODETYPEGALILEO_E5_Q: return "8Q"; 726 case CODETYPEGALILEO_E5_IQ: return "8X"; 722 727 case CODETYPEGALILEO_E6_A: return "6A"; 723 728 case CODETYPEGALILEO_E6_B: return "6B"; 724 729 case CODETYPEGALILEO_E6_C: return "6C"; 730 case CODETYPEGALILEO_E6_BC: return "6X"; 731 case CODETYPEGALILEO_E6_ABC: return "6Z"; 725 732 default: return ""; 726 733 } … … 732 739 case CODETYPEQZSS_L1C_P: return "1L"; 733 740 case CODETYPEQZSS_L1C_DP: return "1X"; 734 case CODETYPEQZSS_L2 _CM: return "2S";735 case CODETYPEQZSS_L2 _CL: return "2L";736 case CODETYPEQZSS_L2 _CML: return "2X";741 case CODETYPEQZSS_L2C_M: return "2S"; 742 case CODETYPEQZSS_L2C_L: return "2L"; 743 case CODETYPEQZSS_L2C_ML: return "2X"; 737 744 case CODETYPEQZSS_L5_I: return "5I"; 738 745 case CODETYPEQZSS_L5_Q: return "5Q"; -
trunk/BNC/src/RTCM3/clock_and_orbit/clock_orbit_rtcm.h
r7903 r7940 167 167 CODETYPEGALILEO_E1_B = 1, 168 168 CODETYPEGALILEO_E1_C = 2, 169 CODETYPEGALILEO_E1_BC = 3, 170 CODETYPEGALILEO_E1_ABC = 4, 169 171 CODETYPEGALILEO_E5A_I = 5, 170 172 CODETYPEGALILEO_E5A_Q = 6, 173 CODETYPEGALILEO_E5A_IQ = 7, 171 174 CODETYPEGALILEO_E5B_I = 8, 172 175 CODETYPEGALILEO_E5B_Q = 9, 176 CODETYPEGALILEO_E5B_IQ = 10, 173 177 CODETYPEGALILEO_E5_I = 11, 174 178 CODETYPEGALILEO_E5_Q = 12, 179 CODETYPEGALILEO_E5_IQ = 13, 175 180 CODETYPEGALILEO_E6_A = 14, 176 181 CODETYPEGALILEO_E6_B = 15, 177 182 CODETYPEGALILEO_E6_C = 16, 183 CODETYPEGALILEO_E6_BC = 17, 184 CODETYPEGALILEO_E6_ABC = 18, 178 185 179 186 CODETYPEQZSS_L1_CA = 0, 180 187 CODETYPEQZSS_L1C_D = 1, 181 188 CODETYPEQZSS_L1C_P = 2, 182 CODETYPEQZSS_L2 _CM = 3,183 CODETYPEQZSS_L2 _CL = 4,184 CODETYPEQZSS_L2 _CML = 5,189 CODETYPEQZSS_L2C_M = 3, 190 CODETYPEQZSS_L2C_L = 4, 191 CODETYPEQZSS_L2C_ML = 5, 185 192 CODETYPEQZSS_L5_I = 6, 186 193 CODETYPEQZSS_L5_Q = 7, -
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r7781 r7940 765 765 biasSat->Biases[ii].Bias = it.value(); 766 766 } 767 else if (it.key() == "1X") { 768 int ii = biasSat->NumberOfCodeBiases; 769 if (ii >= CLOCKORBIT_NUMBIAS) 770 break; 771 biasSat->NumberOfCodeBiases += 1; 772 biasSat->Biases[ii].Type = CODETYPEGALILEO_E1_BC; 773 biasSat->Biases[ii].Bias = it.value(); 774 } 775 else if (it.key() == "1Z") { 776 int ii = biasSat->NumberOfCodeBiases; 777 if (ii >= CLOCKORBIT_NUMBIAS) 778 break; 779 biasSat->NumberOfCodeBiases += 1; 780 biasSat->Biases[ii].Type = CODETYPEGALILEO_E1_ABC; 781 biasSat->Biases[ii].Bias = it.value(); 782 } 767 783 else if (it.key() == "5I") { 768 784 int ii = biasSat->NumberOfCodeBiases; … … 781 797 biasSat->Biases[ii].Bias = it.value(); 782 798 } 799 else if (it.key() == "5X") { 800 int ii = biasSat->NumberOfCodeBiases; 801 if (ii >= CLOCKORBIT_NUMBIAS) 802 break; 803 biasSat->NumberOfCodeBiases += 1; 804 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5A_IQ; 805 biasSat->Biases[ii].Bias = it.value(); 806 } 783 807 else if (it.key() == "7I") { 784 808 int ii = biasSat->NumberOfCodeBiases; … … 797 821 biasSat->Biases[ii].Bias = it.value(); 798 822 } 823 else if (it.key() == "7X") { 824 int ii = biasSat->NumberOfCodeBiases; 825 if (ii >= CLOCKORBIT_NUMBIAS) 826 break; 827 biasSat->NumberOfCodeBiases += 1; 828 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5B_IQ; 829 biasSat->Biases[ii].Bias = it.value(); 830 } 799 831 else if (it.key() == "8I") { 800 832 int ii = biasSat->NumberOfCodeBiases; … … 813 845 biasSat->Biases[ii].Bias = it.value(); 814 846 } 847 else if (it.key() == "8X") { 848 int ii = biasSat->NumberOfCodeBiases; 849 if (ii >= CLOCKORBIT_NUMBIAS) 850 break; 851 biasSat->NumberOfCodeBiases += 1; 852 biasSat->Biases[ii].Type = CODETYPEGALILEO_E5_IQ; 853 biasSat->Biases[ii].Bias = it.value(); 854 } 815 855 else if (it.key() == "6A") { 816 856 int ii = biasSat->NumberOfCodeBiases; … … 835 875 biasSat->NumberOfCodeBiases += 1; 836 876 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_C; 877 biasSat->Biases[ii].Bias = it.value(); 878 } 879 else if (it.key() == "6X") { 880 int ii = biasSat->NumberOfCodeBiases; 881 if (ii >= CLOCKORBIT_NUMBIAS) 882 break; 883 biasSat->NumberOfCodeBiases += 1; 884 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_BC; 885 biasSat->Biases[ii].Bias = it.value(); 886 } 887 else if (it.key() == "6Z") { 888 int ii = biasSat->NumberOfCodeBiases; 889 if (ii >= CLOCKORBIT_NUMBIAS) 890 break; 891 biasSat->NumberOfCodeBiases += 1; 892 biasSat->Biases[ii].Type = CODETYPEGALILEO_E6_ABC; 837 893 biasSat->Biases[ii].Bias = it.value(); 838 894 } … … 880 936 break; 881 937 biasSat->NumberOfCodeBiases += 1; 882 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CM;938 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 883 939 biasSat->Biases[ii].Bias = it.value(); 884 940 } … … 888 944 break; 889 945 biasSat->NumberOfCodeBiases += 1; 890 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CL;946 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 891 947 biasSat->Biases[ii].Bias = it.value(); 892 948 } … … 896 952 break; 897 953 biasSat->NumberOfCodeBiases += 1; 898 biasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CML;954 biasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 899 955 biasSat->Biases[ii].Bias = it.value(); 900 956 } … … 1390 1446 pbSig.discCount; 1391 1447 } 1448 else if (pbSig.type == "1X") { 1449 int ii = phasebiasSat->NumberOfPhaseBiases; 1450 if (ii >= CLOCKORBIT_NUMBIAS) 1451 break; 1452 phasebiasSat->NumberOfPhaseBiases += 1; 1453 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E1_BC; 1454 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1455 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1456 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1457 pbSig.wlInd; 1458 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1459 pbSig.discCount; 1460 } 1461 else if (pbSig.type == "1Z") { 1462 int ii = phasebiasSat->NumberOfPhaseBiases; 1463 if (ii >= CLOCKORBIT_NUMBIAS) 1464 break; 1465 phasebiasSat->NumberOfPhaseBiases += 1; 1466 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E1_ABC; 1467 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1468 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1469 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1470 pbSig.wlInd; 1471 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1472 pbSig.discCount; 1473 } 1392 1474 else if (pbSig.type == "5I") { 1393 1475 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1416 1498 pbSig.discCount; 1417 1499 } 1500 else if (pbSig.type == "5X") { 1501 int ii = phasebiasSat->NumberOfPhaseBiases; 1502 if (ii >= CLOCKORBIT_NUMBIAS) 1503 break; 1504 phasebiasSat->NumberOfPhaseBiases += 1; 1505 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5A_IQ; 1506 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1507 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1508 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1509 pbSig.wlInd; 1510 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1511 pbSig.discCount; 1512 } 1418 1513 else if (pbSig.type == "7I") { 1419 1514 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1442 1537 pbSig.discCount; 1443 1538 } 1539 else if (pbSig.type == "7X") { 1540 int ii = phasebiasSat->NumberOfPhaseBiases; 1541 if (ii >= CLOCKORBIT_NUMBIAS) 1542 break; 1543 phasebiasSat->NumberOfPhaseBiases += 1; 1544 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5B_IQ; 1545 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1546 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1547 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1548 pbSig.wlInd; 1549 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1550 pbSig.discCount; 1551 } 1444 1552 else if (pbSig.type == "8I") { 1445 1553 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1468 1576 pbSig.discCount; 1469 1577 } 1578 else if (pbSig.type == "8X") { 1579 int ii = phasebiasSat->NumberOfPhaseBiases; 1580 if (ii >= CLOCKORBIT_NUMBIAS) 1581 break; 1582 phasebiasSat->NumberOfPhaseBiases += 1; 1583 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E5_IQ; 1584 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1585 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1586 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1587 pbSig.wlInd; 1588 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1589 pbSig.discCount; 1590 } 1470 1591 else if (pbSig.type == "6A") { 1471 1592 int ii = phasebiasSat->NumberOfPhaseBiases; … … 1500 1621 phasebiasSat->NumberOfPhaseBiases += 1; 1501 1622 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_C; 1623 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1624 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1625 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1626 pbSig.wlInd; 1627 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1628 pbSig.discCount; 1629 } 1630 else if (pbSig.type == "6X") { 1631 int ii = phasebiasSat->NumberOfPhaseBiases; 1632 if (ii >= CLOCKORBIT_NUMBIAS) 1633 break; 1634 phasebiasSat->NumberOfPhaseBiases += 1; 1635 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_BC; 1636 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1637 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; 1638 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = 1639 pbSig.wlInd; 1640 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = 1641 pbSig.discCount; 1642 } 1643 else if (pbSig.type == "6Z") { 1644 int ii = phasebiasSat->NumberOfPhaseBiases; 1645 if (ii >= CLOCKORBIT_NUMBIAS) 1646 break; 1647 phasebiasSat->NumberOfPhaseBiases += 1; 1648 phasebiasSat->Biases[ii].Type = CODETYPEGALILEO_E6_ABC; 1502 1649 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1503 1650 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1570 1717 break; 1571 1718 phasebiasSat->NumberOfPhaseBiases += 1; 1572 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CM;1719 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_M; 1573 1720 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1574 1721 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1583 1730 break; 1584 1731 phasebiasSat->NumberOfPhaseBiases += 1; 1585 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CL;1732 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_L; 1586 1733 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1587 1734 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd; … … 1596 1743 break; 1597 1744 phasebiasSat->NumberOfPhaseBiases += 1; 1598 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2 _CML;1745 phasebiasSat->Biases[ii].Type = CODETYPEQZSS_L2C_ML; 1599 1746 phasebiasSat->Biases[ii].Bias = pbSig.bias; 1600 1747 phasebiasSat->Biases[ii].SignalIntegerIndicator = pbSig.intInd;
Note:
See TracChangeset
for help on using the changeset viewer.