Changeset 7013 in ntrip for trunk/BNC/src/combination


Ignore:
Timestamp:
Jul 5, 2015, 7:34:51 PM (9 years ago)
Author:
stuerze
Message:

some unit changes regarding ssr clock parameter s

File:
1 edited

Legend:

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

    r7012 r7013  
    712712    cmbCorr* corr = it.value();
    713713
     714    t_orbCorr orbCorr(corr->_orbCorr);
     715    orbCorr._staID = "INTERNAL";
     716    orbCorrections.push_back(orbCorr);
     717
     718    t_clkCorr clkCorr(corr->_clkCorr);
     719    clkCorr._staID      = "INTERNAL";
     720    clkCorr._dClk       = corr->_dClkResult;
     721    clkCorr._dotDClk    = 0.0;
     722    clkCorr._dotDotDClk = 0.0;
     723    clkCorrections.push_back(clkCorr);
     724
    714725    ColumnVector xc(4);
    715726    ColumnVector vv(3);
    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));
     727    corr->_eph->setClkCorr(dynamic_cast<const t_clkCorr*>(&clkCorr));
     728    corr->_eph->setOrbCorr(dynamic_cast<const t_orbCorr*>(&orbCorr));
    724729    corr->_eph->getCrd(_resTime, xc, vv, true);
    725730
     
    769774    corrLines << line;
    770775
    771     t_orbCorr orbCorr(corr->_orbCorr);
    772     orbCorr._staID = "INTERNAL";
    773     orbCorrections.push_back(orbCorr);
    774 
    775     t_clkCorr clkCorr(corr->_clkCorr);
    776     clkCorr._staID      = "INTERNAL";
    777     clkCorr._dClk       = corr->_dClkResult;
    778     clkCorr._dotDClk    = 0.0;
    779     clkCorr._dotDotDClk = 0.0;
    780     clkCorrections.push_back(clkCorr);
    781 
    782776    delete corr;
    783777  }
Note: See TracChangeset for help on using the changeset viewer.