Changeset 3411 in ntrip


Ignore:
Timestamp:
Sep 2, 2011, 9:50:20 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r3410 r3411  
    5959const double   MINELE                = 10.0 * M_PI / 180.0;
    6060const double   MAXRES_CODE           = 10.0;
    61 const double   MAXRES_PHASE          = 0.02;
     61const double   MAXRES_PHASE_GPS      = 0.02;
     62const double   MAXRES_PHASE_GLONASS  = 0.04;
    6263const double   GLONASS_WEIGHT_FACTOR = 5.0;
    6364
     
    912913  findMaxRes(vv, satData, prn, maxRes);
    913914
    914   if      (iPhase == 1 && maxRes > MAXRES_PHASE) {
     915  if      (iPhase == 1 &&
     916           maxRes > (prn[0] == 'G' ? MAXRES_PHASE_GPS : MAXRES_PHASE_GLONASS)) {
    915917    _log += "Outlier Phase " + prn + " "
    916918          + QByteArray::number(maxRes, 'f', 3) + "\n";
Note: See TracChangeset for help on using the changeset viewer.