Changeset 2061 in ntrip


Ignore:
Timestamp:
Dec 1, 2009, 1:27:38 PM (14 years ago)
Author:
mervart
Message:

* empty log message *

Location:
trunk/BNC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncmodel.cpp

    r2060 r2061  
    157157  double tropDelay = 0.0;
    158158
    159   return satData->rho + _xcBanc(4) + tropDelay;
     159  return satData->rho + _xcBanc(4) - satData->clk + tropDelay;
    160160}
    161161
     
    166166  unsigned nPar = _params.size();
    167167  unsigned nObs = epoData->size();
    168 
    169   cout << "update " << nPar << " " << nObs << endl;
    170168
    171169  _AA.ReSize(nObs, nPar);  // variance-covariance matrix
     
    179177    QString    prn     = itObs.key();
    180178    t_satData* satData = itObs.value();
    181     _ll(iObs) = cmpValueP3(satData);
     179    _ll(iObs) = satData->P3 - cmpValueP3(satData);
    182180
    183181    unsigned iPar = 0;
     
    190188  }
    191189
    192   cout << _AA << endl;
    193   cout.flush();
    194 
    195190  _QQ.ReSize(nPar);
    196191  _QQ << _AA.t() * _AA;
  • trunk/BNC/bncpppclient.cpp

    r2060 r2061  
    319319  ostringstream str;
    320320  str.setf(ios::fixed);
    321   str << "    PPP " << _staID.data() << " "
     321  str << "    BANC " << _staID.data() << " "
    322322      << _epoData->tt.timestr(1) << " " << _epoData->size() << " "
    323323      << setw(14) << setprecision(3) << _model->xcBanc()(1) << "  "
    324324      << setw(14) << setprecision(3) << _model->xcBanc()(2) << "  "
    325       << setw(14) << setprecision(3) << _model->xcBanc()(3);
     325      << setw(14) << setprecision(3) << _model->xcBanc()(3) << endl;
     326
     327  str << "    PPP " << _staID.data() << " "
     328      << _epoData->tt.timestr(1) << " " << _epoData->size() << " "
     329      << setw(14) << setprecision(3) << _model->xx()(1) << "  "
     330      << setw(14) << setprecision(3) << _model->xx()(2) << "  "
     331      << setw(14) << setprecision(3) << _model->xx()(3);
    326332
    327333  emit newMessage(QString(str.str().c_str()).toAscii(), true);
Note: See TracChangeset for help on using the changeset viewer.