Changeset 3491 in ntrip for trunk/BNC


Ignore:
Timestamp:
Nov 1, 2011, 10:24:47 AM (12 years ago)
Author:
mervart
Message:
 
Location:
trunk/BNC
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/bncephuser.cpp

    r3246 r3491  
    215215    dClkSet = true;
    216216  }
     217  else if ( messageType == COTYPE_GPSHR    ||
     218            messageType == COTYPE_GLONASSHR ) {
     219    if (!dClkSet) {
     220      return failure;
     221    }
     222    else {
     223      int dummyIOD;
     224      double diff_dClk = 0.0;
     225      in >> dummyIOD >> diff_dClk;
     226      dClk += diff_dClk / t_CST::c;
     227    }
     228  }
    217229
    218230  return success;
  • trunk/BNC/bncephuser.h

    r3247 r3491  
    5252             msgType == COTYPE_GPSCLOCK        ||
    5353             msgType == COTYPE_GLONASSORBIT    ||
    54              msgType == COTYPE_GLONASSCLOCK );
     54             msgType == COTYPE_GLONASSCLOCK    ||
     55             msgType == COTYPE_GPSHR           ||
     56             msgType == COTYPE_GLONASSHR );
    5557  }
    5658
  • trunk/BNC/bncpppclient.cpp

    r3408 r3491  
    284284  // Remove All Corrections
    285285  // ----------------------
    286   QMapIterator<QString, t_corr*> ic(_corr);
    287   while (ic.hasNext()) {
    288     ic.next();
    289     delete ic.value();
    290   }
    291   _corr.clear();
     286  //  QMapIterator<QString, t_corr*> ic(_corr);
     287  //  while (ic.hasNext()) {
     288  //    ic.next();
     289  //    delete ic.value();
     290  //  }
     291  //  _corr.clear();
    292292
    293293  QListIterator<QString> it(corrList);
Note: See TracChangeset for help on using the changeset viewer.