Changeset 3054 in ntrip


Ignore:
Timestamp:
Feb 25, 2011, 4:29:38 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3053 r3054  
    381381                          xc.data(), vv.data());
    382382      bncPPPclient::applyCorr(resTime, corr, xc, vv);
     383
     384      // Relativistic Correction
     385      // -----------------------
    383386      xc(4) += 2.0 * DotProduct(xc.Rows(1,3),vv) / t_CST::c / t_CST::c;
     387
     388      // Correction Phase Center --> CoM
     389      // -------------------------------
    384390      if (_antex) {
    385391        ColumnVector neu(3);
    386392        if (_antex->offset(corr->prn, neu) == success) {
    387 
     393          ColumnVector dx;
     394          RSW_to_XYZ(xc.Rows(1,3), vv, neu, dx);
     395          xc(1) += dx(1);
     396          xc(2) += dx(2);
     397          xc(3) += dx(3);
    388398        }
    389399        else {
Note: See TracChangeset for help on using the changeset viewer.