Changeset 3217 in ntrip


Ignore:
Timestamp:
Mar 31, 2011, 9:53:27 AM (14 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

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

    r3216 r3217  
    620620        ostringstream outLine; outLine.setf(std::ios::fixed);
    621621
    622         outLine << " COMB";
     622        int messageType = COTYPE_GPSCOMBINED;
     623        int updateInterval = 0;
     624        outLine << messageType    << " "
     625                << updateInterval << " "
     626                << time12.gpsw()  << " "
     627                << setprecision(8) << time12.gpssec() << " "
     628                << corr->prn.toAscii().data() << " "
     629                << corr->iod << " "
     630                << corr->dClk * t_CST::c << " "
     631                << corr->rao[0] << " " << corr->rao[1] << " " << corr->rao[2] << " "
     632                << corr->dotDClk * t_CST::c << " "
     633                << corr->dotRao[0] << " " << corr->dotRao[1] << " " << corr->dotRao[2] << " "
     634                << corr->dotDotDClk * t_CST::c << " "
     635                << corr->dotDotRao[0] << " " << corr->dotDotRao[1] << " " << corr->dotDotRao[2] << " "
     636                << " COMB";
    623637        corrLines << QString(outLine.str().c_str());
    624638      }
Note: See TracChangeset for help on using the changeset viewer.