Changeset 2271 in ntrip


Ignore:
Timestamp:
Jan 19, 2010, 4:58:43 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2267 r2271  
    154154    _estTropo = true;
    155155  }
     156  _oldAprTrop = 0.0;
    156157
    157158  _xcBanc.ReSize(4);  _xcBanc  = 0.0;
     
    307308      iGlo.remove();
    308309    }
     310  }
     311
     312  // Tropospheric Delay
     313  // ------------------
     314  if (_estTropo) {
     315    double newAprTrop = delay_saast(M_PI/2.0);
     316    if (_oldAprTrop != 0.0) {
     317      for (int ii = 0; ii < _params.size(); ++ii) {
     318        bncParam* pp = _params[ii];
     319        if (pp->type == bncParam::TROPO) {
     320          pp->xx += _oldAprTrop - newAprTrop;
     321        }
     322      }
     323    }
     324    _oldAprTrop = newAprTrop;
    309325  }
    310326
  • trunk/BNC/bncmodel.h

    r2265 r2271  
    101101  QTextStream*       _nmeaStream;
    102102  bool               _useGlonass;
     103  double             _oldAprTrop;
    103104};
    104105
Note: See TracChangeset for help on using the changeset viewer.