Changeset 6109 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Sep 8, 2014, 3:49:16 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r5867 r6109 412 412 ColumnVector oldXC(4); 413 413 ColumnVector oldVV(3); 414 corr->eph->position(corr->tRao.gpsw(), corr->tRao.gpssec(), 415 oldXC.data(), oldVV.data()); 414 corr->eph->getCrd(corr->tRao, oldXC, oldVV, false); 416 415 417 416 ColumnVector newXC(4); 418 417 ColumnVector newVV(3); 419 lastEph->position(corr->tRao.gpsw(), corr->tRao.gpssec(), 420 newXC.data(), newVV.data()); 418 lastEph->getCrd(corr->tRao, newXC, newVV, false); 421 419 422 420 ColumnVector dX = newXC.Rows(1,3) - oldXC.Rows(1,3); … … 640 638 const t_eph* eph = corr->eph; 641 639 if (eph) { 642 double xx, yy, zz, cc; 643 eph->position(_resTime.gpsw(), _resTime.gpssec(), xx, yy, zz, cc); 640 ColumnVector xc(4); 641 ColumnVector vv(3); 642 eph->getCrd(_resTime, xc, vv, false); 644 643 645 644 out << _resTime.datestr().c_str() << " " … … 648 647 out << "Full Clock " << corr->prn << " " << corr->iod << " "; 649 648 out.setFieldWidth(14); 650 out << ( cc+ corr->dClk) * t_CST::c << endl;649 out << (xc(4) + corr->dClk) * t_CST::c << endl; 651 650 out.setFieldWidth(0); 652 651 } … … 679 678 ColumnVector xc(4); 680 679 ColumnVector vv(3); 681 corr->eph->position(_resTime.gpsw(), _resTime.gpssec(), 682 xc.data(), vv.data()); 680 corr->eph->getCrd(_resTime, xc, vv, false); 683 681 684 682 // Correction Phase Center --> CoM
Note:
See TracChangeset
for help on using the changeset viewer.