Changeset 2248 in ntrip


Ignore:
Timestamp:
Jan 12, 2010, 5:42:10 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2247 r2248  
    546546t_irc bncModel::update(t_epoData* epoData) {
    547547
    548   _log = "Precise Point Positioning";
     548  _log.clear(); 
    549549
    550550  _time = epoData->tt;
     
    649649        ostringstream str;
    650650        str.setf(ios::fixed);
    651         str << "iObs = " << iObs << " " << prn.toAscii().data() << " "
     651        str << "\niObs = " << iObs << " " << prn.toAscii().data() << " "
    652652            << setprecision(3) << rhoCmp << " "
    653653            << setprecision(3) << satData->P3 << " "
     
    685685      }
    686686
    687       str << "residuals code  " << setprecision(3) << vv_code.t();
    688       str << "residuals phase " << setprecision(3) << vv_phase.t();
    689       str << "residuals glo   " << setprecision(3) << vv_glo.t();
     687      str << "\nresiduals code  " << setprecision(3) << vv_code.t();
     688      str <<  "residuals phase " << setprecision(3) << vv_phase.t();
     689      str <<  "residuals glo   " << setprecision(3) << vv_glo.t();
    690690     _log += str.str().c_str();
    691691    }
     
    839839  }
    840840
    841   if      (vvMaxCodeGPS > MAXRES_CODE_GPS) {
     841  if (vvMaxPhaseGlo > MAXRES_PHASE_GLO) {
     842    QString    prn     = itMaxPhaseGlo.key();
     843    t_satData* satData = itMaxPhaseGlo.value();
     844    delete satData;
     845    itMaxPhaseGlo.remove();
     846    _QQ = QQsav;
     847
     848    _log += "\nOutlier Phase " + prn.toAscii() + " "
     849          + QByteArray::number(vvMaxPhaseGlo, 'f', 3);
     850
     851    return 1;
     852  }
     853
     854  else if (vvMaxCodeGPS > MAXRES_CODE_GPS) {
    842855    QString    prn     = itMaxCodeGPS.key();
    843856    t_satData* satData = itMaxCodeGPS.value();
     
    863876    return 1;
    864877  }
    865   else if (vvMaxPhaseGlo > MAXRES_PHASE_GLO) {
    866     QString    prn     = itMaxPhaseGlo.key();
    867     t_satData* satData = itMaxPhaseGlo.value();
    868     delete satData;
    869     itMaxPhaseGlo.remove();
    870     _QQ = QQsav;
    871 
    872     _log += "\nOutlier Phase " + prn.toAscii() + " "
    873           + QByteArray::number(vvMaxPhaseGlo, 'f', 3);
    874 
    875     return 1;
    876   }
    877878
    878879  return 0;
Note: See TracChangeset for help on using the changeset viewer.