Changeset 2249 in ntrip for trunk/BNC


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

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncpppclient.cpp

    r2247 r2249  
    3939 * -----------------------------------------------------------------------*/
    4040
     41#include <newmatio.h>
    4142#include <iomanip>
    4243
     
    332333    ee->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data());
    333334
     335    //// beg test
     336    ColumnVector xcTst(4);
     337    ColumnVector vvTst(3);
     338    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();
     343    //// end test
     344
    334345    if (CORR_REQUIRED) {
    335346      if (_corr.contains(prn)) {
    336347        t_corr* cc = _corr.value(prn);
     348
     349        //// 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();
     354        //// beg test
     355
    337356        if (ee->IOD() == cc->iod && (tt - cc->tt) < MAXAGE) {
    338357          corr = true;
Note: See TracChangeset for help on using the changeset viewer.