Changeset 2250 in ntrip


Ignore:
Timestamp:
Jan 12, 2010, 10:59:34 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2249 r2250  
    337337    ColumnVector vvTst(3);
    338338    bncTime ttTst(tt.gpsw(), floor(tt.gpssec()+0.5));
    339     ee->position(ttTst.gpsw(), ttTst.gpssec(), xcTst.data(), vvTst.data());
    340     cout.setf(ios::fixed);
    341     cout << "A: " << ttTst.timestr() << " " << prn.toAscii().data() << " "
    342          << xcTst.t();
     339    if (prn[0] == 'R') {
     340      ee->position(ttTst.gpsw(), ttTst.gpssec(), xcTst.data(), vvTst.data());
     341      cout.setf(ios::fixed);
     342      cout << "A: " << ttTst.timestr() << " " << prn.toAscii().data() << " "
     343           << xcTst.t();
     344    }
    343345    //// end test
    344346
     
    348350
    349351        //// beg test
    350         applyCorr(cc, xcTst, vvTst);
    351         cout << "B: " << ttTst.timestr() << " "
    352              << ee->IOD() << "  " <<  cc->iod << "  " << (tt - cc->tt) << " "
    353              << prn.toAscii().data() << " " << xcTst.t();
     352        if (prn[0] == 'R') {
     353          applyCorr(cc, xcTst, vvTst);
     354          cout << "B: " << ttTst.timestr() << " "
     355               << ee->IOD() << "  " <<  cc->iod << "  " << (tt - cc->tt) << " "
     356               << prn.toAscii().data() << " " << xcTst.t();
     357        }
    354358        //// beg test
    355359
Note: See TracChangeset for help on using the changeset viewer.