Changeset 3190 in ntrip


Ignore:
Timestamp:
Mar 29, 2011, 9:40:20 PM (13 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/upload/bncuploadcaster.cpp

    r3189 r3190  
    291291 
    292292    QTextStream in(lines[ii].toAscii());
     293
    293294    in >> prn;
     295    if (prn[0] == 'P') {
     296      prn.remove(0,1);
     297    }
     298
    294299    if ( ephMap.contains(prn) ) {
    295300      in >> xx(1) >> xx(2) >> xx(3) >> xx(4) >> xx(5)
     
    336341        QString outLine;
    337342        processSatellite(ep, epoTime.gpsw(), epoTime.gpssec(), prn, xx, sd, outLine);
     343        cout << "outLine: " << outLine.toAscii().data() << endl;
    338344        if (_outFile) {
    339345          _outFile->write(epoTime.gpsw(), epoTime.gpssec(), outLine);
     
    386392 
    387393    int len = MakeClockOrbit(&co, COTYPE_AUTO, 0, obuffer, sizeof(obuffer));
     394    cout << "write clock " << len << endl;
    388395    if (len > 0) {
    389396      this->write(obuffer, len);
     
    395402    char obuffer[CLOCKORBIT_BUFFERSIZE];
    396403    int len = MakeBias(&bias, BTYPE_AUTO, 0, obuffer, sizeof(obuffer));
     404    cout << "write bias " << len << endl;
    397405    if (len > 0) {
    398406      this->write(obuffer, len);
Note: See TracChangeset for help on using the changeset viewer.