Changeset 1698 in ntrip for trunk/BNS/bns.cpp


Ignore:
Timestamp:
Mar 4, 2009, 11:15:46 AM (15 years ago)
Author:
mervart
Message:

* empty log message *

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNS/bns.cpp

    r1682 r1698  
    7575  // -------------------------------------------
    7676  for (int ic = 1; ic <= 2; ic++) {
    77 
    7877    QString mountpoint  = settings.value(QString("mountpoint_%1").arg(ic)).toString();
    7978    QString outFileName = settings.value(QString("outFile_%1").arg(ic)).toString();
    8079    if (!mountpoint.isEmpty() || !outFileName.isEmpty()) {
    81       QString refSys      = settings.value(QString("refSys_%1").arg(ic)).toString();
    82 
    83       _caster.push_back(new t_bnscaster(mountpoint, outFileName, refSys, ic));
     80      _caster.push_back(new t_bnscaster(mountpoint, outFileName, ic));
    8481      connect(_caster.back(), SIGNAL(error(const QByteArray)),
    8582              this, SLOT(slotError(const QByteArray)));
     
    373370            prns << prn;
    374371            if ( _ephList.contains(prn) ) {
    375               in >> xx(1) >> xx(2) >> xx(3) >> xx(4);
     372              in >> xx(1) >> xx(2) >> xx(3) >> xx(4) >> xx(5);
    376373              xx(1) *= 1e3;
    377374              xx(2) *= 1e3;
     
    379376              xx(4) *= 1e-6;
    380377
    381     //// in >> xx(1) >> xx(2) >> xx(3) >> xx(4) >> xx(5); xx(4) *= 1e-6;
    382     ////
    383     //// beg test (zero clock correction for Gerhard Wuebbena)
    384     ////            xx(4) -= xx(5) / 299792458.0;
    385     //// end test
    386     ////
    387     //// Falls Clocks aus den Broadcast Ephemeris gewuenscht:
    388     //// (2nd order relativistic effect taken out for
    389     //// compatibility with IGS products?)
    390     ////
    391     //// if ( Qt::CheckState(settings.value("beClocks1 oder beClocks2").toInt()) == Qt::Checked) {
    392     ////  .....
    393     //// }
     378              // Clocks without corrections
     379              // --------------------------
     380              if ( _caster.at(ic)->beClocks() ) {
     381                xx(4) -= xx(5) / 299792458.0;
     382              }
    394383     
    395384              t_ephPair* pair = _ephList[prn];
Note: See TracChangeset for help on using the changeset viewer.