- Timestamp:
- Jan 21, 2010, 1:37:10 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncpppclient.cpp
r2274 r2275 135 135 } 136 136 137 ////// beg test138 //cout << satData->prn.toAscii().data();139 //if (bb) {140 // cout.setf(ios::fixed);141 // cout << setprecision(3) << bb->c1 << " "142 // << setprecision(3) << bb->p1 << " "143 // << setprecision(3) << bb->c2 << " "144 // << setprecision(3) << bb->p2 << endl;145 //}146 //else {147 // cout << " no bias\n";148 //}149 //// end test150 151 137 // Set Code Observations 152 138 // --------------------- 153 139 if (obs->P1) { 154 satData->P1 = obs->P1 ;140 satData->P1 = obs->P1 + (bb ? bb->p1 : 0.0); 155 141 satData->codeTypeF1 = t_satData::P_CODE; 156 142 } 157 143 else if (obs->C1) { 158 satData->P1 = obs->C1 ;144 satData->P1 = obs->C1 + (bb ? bb->c1 : 0.0); 159 145 satData->codeTypeF1 = t_satData::C_CODE; 160 146 } … … 165 151 166 152 if (obs->P2) { 167 satData->P2 = obs->P2 ;153 satData->P2 = obs->P2 + (bb ? bb->p2 : 0.0); 168 154 satData->codeTypeF2 = t_satData::P_CODE; 169 155 } 170 156 else if (obs->C2) { 171 satData->P2 = obs->C2 ;157 satData->P2 = obs->C2 + (bb ? bb->c2 : 0.0); 172 158 satData->codeTypeF2 = t_satData::C_CODE; 173 159 }
Note:
See TracChangeset
for help on using the changeset viewer.