Changeset 3674 in ntrip


Ignore:
Timestamp:
Feb 12, 2012, 10:26:58 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpostprocess.cpp

    r3671 r3674  
    9797  cout << "corrFile: " << _opt->corrFileName.toAscii().data() << endl;
    9898
     99  // Read Ephemerides
     100  // ----------------
    99101  t_eph* eph = 0;
    100102  while (_rnxNavFile->getNextEph(eph) == success) {
     
    104106  }
    105107
     108  // Read Observations
     109  // -----------------
     110  while (_rnxObsFile->getEpoch() == success) {
     111
     112  }
     113
     114  ///// beg test
    106115  int MAXI = 5;
    107116  for (int ii = 1; ii < MAXI; ii++) {
     
    110119    sleep(1);
    111120  }
     121  //// end test
    112122
    113123  emit finished();
  • trunk/BNC/rnxobsfile.cpp

    r3673 r3674  
    166166    int numSat;
    167167    readInt(line, 29, 3, numSat);
     168 
     169    int pos = 32;
     170    for (int iSat = 0; iSat < numSat; iSat++) {
     171      if (iSat > 0 && iSat % 12 == 0) {
     172        line = _stream->readLine();
     173        pos = 32;
     174      }
     175      QString prn = line.mid(pos, 3);
     176      cout << "prn = " << prn.toAscii().data() << endl;
     177      pos += 3;
     178    }
     179
     180    //// beg test
     181    return failure;
     182    //// end test
    168183  }
     184
    169185  return success;
    170186}
Note: See TracChangeset for help on using the changeset viewer.