Changeset 2988 in ntrip for trunk/BNC/combination/bnccomb.cpp


Ignore:
Timestamp:
Feb 8, 2011, 5:08:02 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r2987 r2988  
    2323#include "bncsettings.h"
    2424#include "bncmodel.h"
     25#include "bncutils.h"
    2526
    2627using namespace std;
     
    344345  prevEph->position(newCorr->tt.gpsw(), newCorr->tt.gpssec(),
    345346                    oldXC.data(), oldVV.data());
     347
    346348  ColumnVector newXC(4);
    347349  ColumnVector newVV(3);
    348350  lastEph->position(newCorr->tt.gpsw(), newCorr->tt.gpssec(),
    349351                    newXC.data(), newVV.data());
     352
     353  ColumnVector dX = newXC.Rows(1,3) - oldXC.Rows(1,3);
     354  ColumnVector dRAO(3);
     355  XYZ_to_RSW(newXC.Rows(1,3), newVV, dX, dRAO);
    350356}
    351357
Note: See TracChangeset for help on using the changeset viewer.