Changeset 6800 in ntrip for trunk/BNC/src
- Timestamp:
- Apr 28, 2015, 10:15:12 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncutils.cpp
r6799 r6800 743 743 744 744 if (type == t_eph::Galileo) { 745 //TODO: implement conversion 745 746 if (accuracy <= 0.49) { 747 return int(ceil(accuracy * 100.0)); 748 } 749 else if (accuracy <= 0.98) { 750 return int(50.0 + (((accuracy * 100.0) - 50) / 2.0)); 751 } 752 else if (accuracy <= 2.0) { 753 return int(75.0 + ((accuracy - 1.0) / 0.04)); 754 } 755 else if (accuracy <= 6.0) { 756 return int(100.0 + ((accuracy - 2.0) / 0.16)); 757 } 758 else { 759 return 255; 760 } 746 761 } 747 762
Note:
See TracChangeset
for help on using the changeset viewer.