Changeset 4803 in ntrip


Ignore:
Timestamp:
Nov 22, 2012, 10:17:58 AM (10 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC/src/upload
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r4754 r4803  
    528528      xyz(3) += xx(8);
    529529    }
    530    
     530
     531    double dc = 0.0;   
    531532    if (_crdTrafo != "IGS08") {
    532       crdTrafo(GPSweek12, xyz);
     533      crdTrafo(GPSweek12, xyz, dc);
    533534    }
    534535   
     
    537538    if (ii == 1) {
    538539      XYZ_to_RSW(xB.Rows(1,3), vv, dx, rsw);
    539       dClk = (xx(4) + xx(5) - xB(4)) * 299792458.0;
     540      dClk = (xx(4) + xx(5) - xB(4) + dc) * t_CST::c;
    540541    }
    541542    else {
     
    570571// Transform Coordinates
    571572////////////////////////////////////////////////////////////////////////////
    572 void bncRtnetUploadCaster::crdTrafo(int GPSWeek, ColumnVector& xyz) {
     573void bncRtnetUploadCaster::crdTrafo(int GPSWeek, ColumnVector& xyz,
     574                                    double& dc) {
     575
     576  // Clock Correction
     577  // ----------------
     578  dc = 0.0; // TODO
    573579
    574580  // Current epoch minus 2000.0 in years
  • trunk/BNC/src/upload/bncrtnetuploadcaster.h

    r4176 r4803  
    3434                        struct ClockOrbit::SatData* sd,
    3535                        QString& outLine);
    36   void crdTrafo(int GPSWeek, ColumnVector& xyz);
     36  void crdTrafo(int GPSWeek, ColumnVector& xyz, double& dc);
    3737
    3838  bncEphUser*    _ephUser;
Note: See TracChangeset for help on using the changeset viewer.