Changeset 3055 in ntrip for trunk/BNC/combination


Ignore:
Timestamp:
Feb 25, 2011, 4:55:53 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3054 r3055  
    2727#include "bnssp3.h"
    2828#include "bncantex.h"
     29#include "bnctides.h"
    2930
    3031using namespace std;
     
    389390      // -------------------------------
    390391      if (_antex) {
    391         ColumnVector neu(3);
    392         if (_antex->offset(corr->prn, neu) == success) {
    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);
     392        ColumnVector dx(3); dx = 0.0;
     393        double Mjd = resTime.mjd() + resTime.daysec()/86400.0;
     394        if (_antex->satCoMcorrection(corr->prn, Mjd, xc.Rows(1,3), dx) == success) {
     395          xc(1) -= dx(1);
     396          xc(2) -= dx(2);
     397          xc(3) -= dx(3);
    398398        }
    399399        else {
Note: See TracChangeset for help on using the changeset viewer.