Changeset 3048 in ntrip for trunk/BNC/combination


Ignore:
Timestamp:
Feb 25, 2011, 3:30:49 PM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3047 r3048  
    361361    // ----------
    362362    if (_sp3) {
    363       ColumnVector xx(4); xx = 0.0;
    364       _sp3->write(resTime.gpsw(), resTime.gpssec(), corr->prn, xx, _append);
     363      ColumnVector xc(4);
     364      ColumnVector vv(3);
     365      corr->eph->position(corr->tt.gpsw(), corr->tt.gpssec(),
     366                          xc.data(), vv.data());
     367
     368      xc(1) *= 1e3;  // x-crd
     369      xc(2) *= 1e3;  // y-crd
     370      xc(3) *= 1e3;  // z-crd
     371      xc(4) *= 1e-6; // clk
     372
     373      _sp3->write(resTime.gpsw(), resTime.gpssec(), corr->prn, xc, _append);
    365374    }
    366375
Note: See TracChangeset for help on using the changeset viewer.