Changeset 3274 in ntrip
- Timestamp:
- Apr 13, 2011, 3:24:40 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/combination/bnccomb.cpp
r3262 r3274 214 214 } 215 215 216 // Check Modulo Time 217 // ----------------- 218 const int moduloTime = 10; 219 if (int(newCorr->tt.gpssec()) % moduloTime != 0.0) { 220 delete newCorr; 221 return; 222 } 223 216 224 // Reject delayed corrections 217 225 // -------------------------- … … 244 252 // Process all older Epochs (if there are any) 245 253 // ------------------------------------------- 246 const double waitTime = 5.0; // wait 5 sec254 const double waitTime = moduloTime/2.0; 247 255 _processedBeforeTime = newCorr->tt - waitTime; 248 256 … … 266 274 if (epochsToProcess.size()) { 267 275 processEpochs(epochsToProcess); 268 }269 270 // Check Modulo Time271 // -----------------272 const int moduloTime = 10;273 if (int(newCorr->tt.gpssec()) % moduloTime != 0.0) {274 delete newCorr;275 return;276 276 } 277 277 … … 349 349 350 350 out << "Combination:" << endl 351 << "------------------------------" << endl; 351 << "------------------------------" << endl 352 << "Processed Epochs: " << endl; 352 353 353 354 // Predict Parameters Values, Add White Noise … … 380 381 QListIterator<cmbEpoch*> itEpo(epochs); 381 382 while (itEpo.hasNext()) { 382 cmbEpoch* epo = itEpo.next(); 383 cmbEpoch* epo = itEpo.next(); 384 bncTime epoTime = epo->time; 385 out << epoTime.datestr().c_str() << " " << epoTime.timestr().c_str() << endl; 386 383 387 QMutableMapIterator<QString, t_corr*> itCorr(epo->corr); 384 388 while (itCorr.hasNext()) {
Note:
See TracChangeset
for help on using the changeset viewer.