Changeset 8616 in ntrip for branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
- Timestamp:
- Feb 28, 2019, 2:45:02 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/BNC_2.12/src/RTCM3/RTCM3Decoder.cpp
r8475 r8616 149 149 } 150 150 GETBITS(i, 7); 151 frqObs->_lockTime = lti2sec(type,i); 152 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid); 151 153 frqObs->_slipCounter = i; 152 154 if (type == 1002 || type == 1004) { … … 193 195 } 194 196 GETBITS(i, 7); 197 frqObs->_lockTime = lti2sec(type,i); 198 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid); 195 199 frqObs->_slipCounter = i; 196 200 if (type == 1004) { … … 714 718 + (rrmod[numsat]) * LIGHTSPEED / 1000.0 / cd.wl; 715 719 frqObs->_phaseValid = true; 720 frqObs->_lockTime = lti2sec(type,ll[count]); 721 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0); 716 722 frqObs->_slipCounter = ll[count]; 717 723 } … … 728 734 + rrmod[numsat] * LIGHTSPEED / 1000.0 / cd.wl; 729 735 frqObs->_phaseValid = true; 736 frqObs->_lockTime = lti2sec(type,ll[count]); 737 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0); 730 738 frqObs->_slipCounter = ll[count]; 731 739 } … … 743 751 / cd.wl; 744 752 frqObs->_phaseValid = true; 753 frqObs->_lockTime = lti2sec(type,ll[count]); 754 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0); 745 755 frqObs->_slipCounter = ll[count]; 746 756 } … … 761 771 / cd.wl; 762 772 frqObs->_phaseValid = true; 773 frqObs->_lockTime = lti2sec(type,ll[count]); 774 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0); 763 775 frqObs->_slipCounter = ll[count]; 764 776 } … … 784 796 / cd.wl; 785 797 frqObs->_phaseValid = true; 798 frqObs->_lockTime = lti2sec(type,ll[count]); 799 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0); 786 800 frqObs->_slipCounter = ll[count]; 787 801 } … … 802 816 / cd.wl; 803 817 frqObs->_phaseValid = true; 818 frqObs->_lockTime = lti2sec(type,ll[count]); 819 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0); 804 820 frqObs->_slipCounter = ll[count]; 805 821 } … … 890 906 } 891 907 GETBITS(i, 7); 908 frqObs->_lockTime = lti2sec(type,i); 909 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid); 892 910 frqObs->_slipCounter = i; 893 911 if (type == 1010 || type == 1012) { … … 934 952 } 935 953 GETBITS(i, 7); 954 frqObs->_lockTime = lti2sec(type,i); 955 frqObs->_lockTimeValid = (frqObs->_lockTime >= 0.0 && frqObs->_phaseValid); 936 956 frqObs->_slipCounter = i; 937 957 if (type == 1012) {
Note:
See TracChangeset
for help on using the changeset viewer.