Changeset 2067 in ntrip


Ignore:
Timestamp:
Dec 1, 2009, 2:56:32 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2066 r2067  
    199199  double ee =  hh / 100.0 * exp(-37.2465 + 0.213166*TT - 0.000256908*TT*TT);
    200200
    201   cout << "Ele: " << 180.0 * Ele / M_PI << " " << height << " "
    202        << pp << " " << TT << " " << hh << " " << ee << endl;
    203 
    204201  double h_km = height / 1000.0;
    205202 
     
    264261  // -----------------
    265262  ColumnVector vv = _AA * _dx - _ll;
    266 
    267   cout << setprecision(3) << vv.t();
    268   cout.flush();
    269263
    270264  // Set Solution Vector
  • trunk/BNC/bncpppclient.cpp

    r2062 r2067  
    215215                              ColumnVector& xc, ColumnVector& vv, bool& corr) {
    216216
    217   const double MAXAGE = 120.0;
     217  const bool   CORR_REQUIRED = true;
     218  const double MAXAGE        = 120.0;
    218219
    219220  corr = false;
     
    228229        corr = true;
    229230        applyCorr(cc, xc, vv);
     231      }
     232    }
     233    else {
     234      if (CORR_REQUIRED) {
     235        return failure;
    230236      }
    231237    }
Note: See TracChangeset for help on using the changeset viewer.