Changeset 2247 in ntrip


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

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2246 r2247  
    647647        }
    648648     
    649         cout.setf(ios::fixed);
    650         cout << "iObs = " << iObs << " " << prn.toAscii().data() << " "
    651              << setprecision(3) << rhoCmp << " "
    652              << setprecision(3) << satData->P3 << " "
    653              << setprecision(3) << satData->L3 << " "
    654              << ll(iObs) << endl;
     649        ostringstream str;
     650        str.setf(ios::fixed);
     651        str << "iObs = " << iObs << " " << prn.toAscii().data() << " "
     652            << setprecision(3) << rhoCmp << " "
     653            << setprecision(3) << satData->P3 << " "
     654            << setprecision(3) << satData->L3 << " "
     655            << ll(iObs) << endl;
     656        _log += str.str().c_str();
    655657      }
    656658    }
     
    669671    //// beg test
    670672    {
    671       cout.setf(ios::fixed);
     673      ostringstream str;
     674      str.setf(ios::fixed);
    672675      ColumnVector vv_code(epoData->sizeGPS());
    673676      ColumnVector vv_phase(epoData->sizeGPS());
     
    682685      }
    683686
    684       cout << "residuals code  " << setprecision(3) << vv_code.t();
    685       cout << "residuals phase " << setprecision(3) << vv_phase.t();
    686       cout << "residuals glo   " << setprecision(3) << vv_glo.t();
     687      str << "residuals code  " << setprecision(3) << vv_code.t();
     688      str << "residuals phase " << setprecision(3) << vv_phase.t();
     689      str << "residuals glo   " << setprecision(3) << vv_glo.t();
     690     _log += str.str().c_str();
    687691    }
    688692    //// end test
  • trunk/BNC/bncpppclient.cpp

    r2244 r2247  
    332332    ee->position(tt.gpsw(), tt.gpssec(), xc.data(), vv.data());
    333333
    334     if (prn[0] == 'G' && CORR_REQUIRED) {
     334    if (CORR_REQUIRED) {
    335335      if (_corr.contains(prn)) {
    336336        t_corr* cc = _corr.value(prn);
Note: See TracChangeset for help on using the changeset viewer.