Changeset 5838 in ntrip for trunk/BNC/src/PPP/pppThread.cpp


Ignore:
Timestamp:
Aug 6, 2014, 3:42:49 PM (10 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/PPP/pppThread.cpp

    r5836 r5838  
    278278      if      (messageType == COTYPE_GPSCOMBINED || messageType == COTYPE_GLONASSCOMBINED ||
    279279               messageType == COTYPE_GPSORBIT    || messageType == COTYPE_GLONASSORBIT    ) {
    280         orbCorr.push_back(new t_orbCorr());       
     280        t_orbCorr* cc = new t_orbCorr();
     281        orbCorr.push_back(cc);
     282        cc->_prn.set(corr.prn.toAscii().data());
     283        cc->_iod       = corr.iod;
     284        cc->_time      = corr.tRao;
     285        cc->_system    = 'R';
     286        cc->_xr[0]     = corr.rao[0];
     287        cc->_xr[1]     = corr.rao[1];
     288        cc->_xr[2]     = corr.rao[2];
     289        cc->_dotXr[0]  = corr.dotRao[0];
     290        cc->_dotXr[0]  = corr.dotRao[1];
     291        cc->_dotXr[0]  = corr.dotRao[2];
    281292      }
    282293      else if (messageType == COTYPE_GPSCOMBINED || messageType == COTYPE_GLONASSCOMBINED ||
    283294               messageType == COTYPE_GPSCLOCK    || messageType == COTYPE_GLONASSCLOCK    ) {
    284         clkCorr.push_back(new t_clkCorr());       
     295        t_clkCorr* cc = new t_clkCorr();
     296        clkCorr.push_back(cc);       
     297        cc->_prn.set(corr.prn.toAscii().data());
     298        cc->_iod         = corr.iod;
     299        cc->_time        = corr.tRao;
     300        cc->_dClk        = corr.dClk;
     301        cc->_dotDClk     = corr.dotDClk;
     302        cc->_dotDotDClk  = corr.dotDotDClk;
     303        cc->_clkPartial  = 0.0;
    285304      }
    286305    }
Note: See TracChangeset for help on using the changeset viewer.