Changeset 3501 in ntrip


Ignore:
Timestamp:
Nov 15, 2011, 11:05:20 AM (10 years ago)
Author:
weber
Message:

Check for missing ephmeris

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/combination/bnccomb.cpp

    r3499 r3501  
    327327      newCorr->eph = lastEph;
    328328    }
    329     else if (prevEph && prevEph->IOD() == newCorr->iod) {
     329    else if (lastEph && prevEph && prevEph->IOD() == newCorr->iod) {
    330330      newCorr->eph = prevEph;
    331331      switchToLastEph(lastEph, newCorr);
     
    10021002  const double MAX_DISPLACEMENT = 0.20;
    10031003
     1004  //// beg test
     1005  QMutableVectorIterator<cmbCorr*> im(corrs());
     1006  while (im.hasNext()) {
     1007    cmbCorr* corr = im.next();
     1008    if (!corr->eph) {
     1009      out << "checkOrbit: missing eph " << corr->prn << endl;
     1010      im.remove();
     1011    }
     1012  }
     1013  //// end test
     1014
    10041015  while (true) {
    10051016
Note: See TracChangeset for help on using the changeset viewer.