- Timestamp:
- Aug 15, 2014, 11:13:48 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/PPP/pppSatObs.cpp
r5918 r5935 88 88 // Select two pseudoranges and two phase observations 89 89 // -------------------------------------------------- 90 const string preferredAttrib = "CWP ";90 const string preferredAttrib = "CWP?"; 91 91 for (unsigned iPref = 0; iPref < preferredAttrib.length(); iPref++) { 92 string obsType1 = "1?"; obsType1[1] = preferredAttrib[iPref]; 92 string obsType1 = (preferredAttrib[iPref] == '?') ? string("1") : string("1") + preferredAttrib[iPref]; 93 string obsType2 = (preferredAttrib[iPref] == '?') ? string("2") : string("2") + preferredAttrib[iPref]; 93 94 if (_validObs1 == 0) { 94 95 for (unsigned ii = 0; ii < _allObs.size(); ii++) { … … 100 101 } 101 102 if (dualFreq) { 102 string obsType2 = "2?"; obsType2[1] = preferredAttrib[iPref];103 103 if (_validObs2 == 0) { 104 104 for (unsigned ii = 0; ii < _allObs.size(); ii++) {
Note:
See TracChangeset
for help on using the changeset viewer.