Changeset 9130 in ntrip


Ignore:
Timestamp:
Sep 22, 2020, 1:01:48 PM (4 years ago)
Author:
stuerze
Message:

minor changes

Location:
branches/BNC_2.12/src/upload
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.cpp

    r9127 r9130  
    5656
    5757  _ssrFormat = ssrFormat;
    58  
     58
    5959  _ssrCorr = 0;
    6060  if      (_ssrFormat == "IGS-SSR") {
     
    474474      QList<phaseBiasSignal> phaseBiasList;
    475475      phaseBiasesSat pbSat;
    476       bool phaseBiasInformationDecoded = false;
     476      _phaseBiasInformationDecoded = false;
    477477
    478478      while (true) {
     
    533533        }
    534534        else if (key == "YawAngle") {
    535           phaseBiasInformationDecoded = true;
     535          _phaseBiasInformationDecoded = true;
    536536          in >> numVal >> pbSat.yawAngle;
    537537          if      (pbSat.yawAngle < 0.0) {
     
    543543        }
    544544        else if (key == "YawRate") {
     545          _phaseBiasInformationDecoded = true;
    545546          in >> numVal >> pbSat.yawRate;
    546547        }
    547548        else if (key == "PhaseBias") {
    548           phaseBiasInformationDecoded = true;
     549          _phaseBiasInformationDecoded = true;
    549550          in >> numVal;
    550551          for (int ii = 0; ii < numVal; ii++) {
     
    705706      }
    706707
    707       if (phasebiasSat && phaseBiasInformationDecoded) {
     708      if (phasebiasSat && _phaseBiasInformationDecoded) {
    708709        phasebias.DispersiveBiasConsistencyIndicator = dispersiveBiasConsistenyIndicator;
    709710        phasebias.MWConsistencyIndicator = mwConsistencyIndicator;
     
    893894  // ------------
    894895  QByteArray hlpBufferPhaseBias;
    895   if (phasebias.NumberOfSat[CLOCKORBIT_SATGPS] > 0
     896  if ((phasebias.NumberOfSat[CLOCKORBIT_SATGPS] > 0
    896897      || phasebias.NumberOfSat[CLOCKORBIT_SATGLONASS] > 0
    897898      || phasebias.NumberOfSat[CLOCKORBIT_SATGALILEO] > 0
    898899      || phasebias.NumberOfSat[CLOCKORBIT_SATQZSS] > 0
    899900      || phasebias.NumberOfSat[CLOCKORBIT_SATSBAS] > 0
    900       || phasebias.NumberOfSat[CLOCKORBIT_SATBDS] > 0) {
     901      || phasebias.NumberOfSat[CLOCKORBIT_SATBDS] > 0)
     902      && (_phaseBiasInformationDecoded)) {
    901903    char obuffer[CLOCKORBIT_BUFFERSIZE];
    902904    int len = _ssrCorr->MakePhaseBias(&phasebias, _ssrCorr->PBTYPE_AUTO, 0, obuffer,
  • branches/BNC_2.12/src/upload/bncrtnetuploadcaster.h

    r9036 r9130  
    5050  QString        _ssrFormat;
    5151  bool           _CoM;
     52  bool           _phaseBiasInformationDecoded;
    5253  int            _PID;
    5354  int            _SID;
Note: See TracChangeset for help on using the changeset viewer.