Changeset 7012 in ntrip for trunk/BNC/src/combination
- Timestamp:
- Jul 3, 2015, 5:54:39 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r7008 r7012 382 382 // Check the Ephemeris 383 383 //-------------------- 384 constt_eph* ephLast = _ephUser.ephLast(prn);385 constt_eph* ephPrev = _ephUser.ephPrev(prn);384 t_eph* ephLast = _ephUser.ephLast(prn); 385 t_eph* ephPrev = _ephUser.ephPrev(prn); 386 386 if (ephLast == 0) { 387 387 emit newMessage("bncComb: eph not found " + prn.mid(0,3).toAscii(), true); … … 426 426 // Change the correction so that it refers to last received ephemeris 427 427 //////////////////////////////////////////////////////////////////////////// 428 void bncComb::switchToLastEph( constt_eph* lastEph, cmbCorr* corr) {428 void bncComb::switchToLastEph(t_eph* lastEph, cmbCorr* corr) { 429 429 430 430 if (corr->_eph == lastEph) { … … 714 714 ColumnVector xc(4); 715 715 ColumnVector vv(3); 716 corr->_eph->getCrd(_resTime, xc, vv, false); 717 716 t_orbCorr orbCorr2Use(corr->_orbCorr); 717 t_clkCorr clkCorr2Use(corr->_clkCorr); 718 clkCorr2Use._dClk = corr->_dClkResult * t_CST::c; 719 clkCorr2Use._dotDClk = 0.0; 720 clkCorr2Use._dotDotDClk = 0.0; 721 722 corr->_eph->setClkCorr(dynamic_cast<const t_clkCorr*>(&clkCorr2Use)); 723 corr->_eph->setOrbCorr(dynamic_cast<const t_orbCorr*>(&orbCorr2Use)); 724 corr->_eph->getCrd(_resTime, xc, vv, true); 725 718 726 // Correction Phase Center --> CoM 719 727 // ------------------------------- … … 726 734 } 727 735 } 728 729 outLines += corr->_prn ;736 737 outLines += corr->_prn.mid(0,3); 730 738 QString hlp; 731 739 hlp.sprintf(" APC 3 %15.4f %15.4f %15.4f" … … 733 741 " Vel 3 %15.4f %15.4f %15.4f" 734 742 " CoM 3 %15.4f %15.4f %15.4f\n", 735 xc(1), xc(2), xc(3), 736 xc(4) *t_CST::c,743 xc(1), xc(2), xc(3), 744 xc(4) * t_CST::c, 737 745 vv(1), vv(2), vv(3), 738 746 xc(1)-dx(1), xc(2)-dx(2), xc(3)-dx(3)); … … 748 756 " %10.5f INTERNAL", 749 757 messageType, updateInt, _resTime.gpsw(), _resTime.gpssec(), 750 corr->_prn. toAscii().data(),758 corr->_prn.mid(0,3).toAscii().data(), 751 759 corr->_iod, 752 760 corr->_dClkResult * t_CST::c, … … 1052 1060 QString prn = corr->_prn; 1053 1061 1054 constt_eph* ephLast = _ephUser.ephLast(prn);1055 constt_eph* ephPrev = _ephUser.ephPrev(prn);1062 t_eph* ephLast = _ephUser.ephLast(prn); 1063 t_eph* ephPrev = _ephUser.ephPrev(prn); 1056 1064 1057 1065 if (ephLast == 0) {
Note:
See TracChangeset
for help on using the changeset viewer.