Changeset 4778 in ntrip for trunk


Ignore:
Timestamp:
Oct 26, 2012, 6:35:15 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/RTRover/bncrtrover.cpp

    r4777 r4778  
    242242////////////////////////////////////////////////////////////////////////////
    243243void copyObs(const t_obs& obsBnc, rtrover_satObs& satObs) {
     244  bncTime obsTime(obsBnc.GPSWeek, obsBnc.GPSWeeks);
    244245  satObs._satellite._system = obsBnc.satSys;
    245246  satObs._satellite._number = obsBnc.satNum;
     247  satObs._time._mjd  = obsTime.mjd();
     248  satObs._time._sec  = obsTime.daysec();
     249  satObs._slotNumber = obsBnc.slotNum;
    246250  QMap<QByteArray, rtrover_obs> allObs;
    247251  for (int iEntry = 0; iEntry < GNSSENTRY_NUMBER; ++iEntry) {
     
    251255        QByteArray codeType = rnxStr.mid(1);
    252256        if (!allObs.contains(codeType)) {
    253           allObs[codeType]._rnxType[0] = codeType[0];
    254           allObs[codeType]._rnxType[1] = codeType[1];
    255           allObs[codeType]._code       = 0.0;
    256           allObs[codeType]._phase      = 0.0;
    257           allObs[codeType]._doppler    = 0.0;
    258           allObs[codeType]._snr        = 0.0;
     257          allObs[codeType]._rnxType[0]  = codeType[0];
     258          allObs[codeType]._rnxType[1]  = codeType[1];
     259          allObs[codeType]._code        = 0.0;
     260          allObs[codeType]._phase       = 0.0;
     261          allObs[codeType]._doppler     = 0.0;
     262          allObs[codeType]._snr         = 0.0;
     263          allObs[codeType]._slip        = false;
     264          allObs[codeType]._slipCounter = -1;
    259265        }
    260266        if      (rnxStr[0] == 'C') {
     
    322328    dt = _epochs.back()->_time - _epochs.front()->_time;
    323329  }
    324   cout << "dt = " << dt << endl;
    325330  if (dt < WAITTIME) {
    326331    return;
     
    333338
    334339  int numSatRover = frontEpoData->_obsRover.size();
    335   cout << "numSatRover = " << numSatRover << endl;
    336340  rtrover_satObs satObsRover[numSatRover];
    337341  for (int ii = 0; ii < numSatRover; ii++) {
     
    343347  int numSatBase = frontEpoData->_obsBase.size();
    344348  rtrover_satObs satObsBase[numSatBase];
    345   cout << "numSatBase = " << numSatBase << endl;
    346349  for (int ii = 0; ii < numSatBase; ii++) {
    347350    const t_obs& obsBnc = frontEpoData->_obsBase[ii];
Note: See TracChangeset for help on using the changeset viewer.