Changeset 6109 in ntrip for trunk/BNC/src/RTCM


Ignore:
Timestamp:
Sep 8, 2014, 3:49:16 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTCM/rtcm_utils.cpp

    r2492 r6109  
    3636  // --------------
    3737  rho = 0.0;
    38   eph->position(GPSWeek, GPSWeeks, xSat, ySat, zSat, clkSat);
     38  ColumnVector xc(4);
     39  ColumnVector vv(3);
     40  eph->getCrd(bncTime(GPSWeek, GPSWeeks), xc, vv, false);
     41  xSat   = xc(1);
     42  ySat   = xc(2);
     43  zSat   = xc(3);
     44  clkSat = xc(4);
    3945
    4046  ////cout << "----- cmpRho -----\n";
     
    7783    }
    7884     
    79     eph->position(GPSWeek_tot, GPSWeeks_tot, xSat, ySat, zSat, clkSat);
     85    eph->getCrd(bncTime(GPSWeek_tot, GPSWeeks_tot), xc, vv, false);
     86    xSat   = xc(1);
     87    ySat   = xc(2);
     88    zSat   = xc(3);
     89    clkSat = xc(4);
    8090
    8191    dx = xRec - xSat;
Note: See TracChangeset for help on using the changeset viewer.