Changeset 8790 in ntrip for trunk/BNC/src/bncutils.cpp
- Timestamp:
- Aug 13, 2019, 3:24:58 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r8782 r8790 815 815 type == t_eph::SBAS|| 816 816 type == t_eph::QZSS) { 817 818 817 if ((index >= 0) && (index <= 6)) { 819 818 if (index == 3) { 820 return ceil(10.0 * pow(2.0, (double(index) / 2.0) + 1.0)) / 10.0;819 return ceil(10.0 * pow(2.0, (double(index) / 2.0) + 1.0)) / 10.0; 821 820 } 822 821 else { … … 831 830 } 832 831 } 833 834 if (type == t_eph::Galileo) { 832 else if (type == t_eph::Galileo) { 835 833 836 834 if ((index >= 0) && (index <= 49)) { … … 848 846 else { 849 847 return -1.0; 848 } 849 } 850 else if (type == t_eph::IRNSS) { 851 if ((index >= 0) && (index <= 6)) { 852 if (index == 1) { 853 return 2.8; 854 } 855 else if (index == 3) { 856 return 5.7; 857 } 858 else if (index == 5) { 859 return 11.3; 860 } 861 else { 862 return pow(2, 1 + index / 2); 863 } 864 } 865 else if ((index > 6) && (index <= 15)) { 866 return pow(2, index - 1); 850 867 } 851 868 }
Note:
See TracChangeset
for help on using the changeset viewer.