Changeset 8904 in ntrip


Ignore:
Timestamp:
Mar 18, 2020, 11:11:28 AM (4 years ago)
Author:
stuerze
Message:

minor changes

Location:
trunk/BNC/src/upload
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/upload/bncephuploadcaster.cpp

    r8352 r8904  
    9191        int size = 0;
    9292
    93         if (ephGPS && ephGPS->type() == t_eph::GPS &&
    94             (system == "ALL" || system == "GPS")) {
     93        if      (ephGPS && ephGPS->type() == t_eph::GPS  &&  (system == "ALL" || system == "GPS")) {
    9594          if (timeDiff <= 4*3600) {
    9695            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    9796          }
    9897        }
    99         else if (ephGPS && ephGPS->type() == t_eph::QZSS &&
    100             (system == "ALL" || system == "QZSS")) {
     98        else if (ephGPS && ephGPS->type() == t_eph::QZSS && (system == "ALL" || system == "QZSS")) {
    10199          if (timeDiff <= 4*3600) {
    102100            size = t_ephEncoder::RTCM3(*ephGPS, Array);
     
    109107        }
    110108        else if (ephGal && (system == "ALL" || system == "Galileo")) {
    111           if (timeDiff <= 4*3600) {
     109          if (timeDiff <= 2*3600) {
    112110            size = t_ephEncoder::RTCM3(*ephGal, Array);
    113111          }
    114112        }
    115113        else if (ephSBAS && (system == "ALL" || system == "SBAS")) {
    116           if (timeDiff <= 600) {
     114          if (timeDiff <= 1*3600) {
    117115            size = t_ephEncoder::RTCM3(*ephSBAS, Array);
    118116          }
     
    121119          if (timeDiff <= 6*3600) {
    122120            size = t_ephEncoder::RTCM3(*ephBDS, Array);
     121          }
     122        }
     123        else if (ephGPS && ephGPS->type() == t_eph::IRNSS && (system == "ALL" || system == "IRNSS")) {
     124          if (timeDiff <= 24*3600) {
     125            size = t_ephEncoder::RTCM3(*ephGPS, Array);
    123126          }
    124127        }
  • trunk/BNC/src/upload/bncrtnetuploadcaster.cpp

    r8844 r8904  
    270270  }
    271271
    272   lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', 
     272  lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n',
    273273      QString::SkipEmptyParts);
    274274  _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3);
     
    19261926              phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator;
    19271927              phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter;
    1928             }           
     1928            }
    19291929            else if (pbSig.type == "2S") {
    19301930              int ii = phasebiasSat->NumberOfPhaseBiases;
     
    26012601  // Clock correction proportional to topocentric distance to satellites
    26022602  // -------------------------------------------------------------------
    2603   double rho = (xyz - meanSta).norm_Frobenius();
     2603  double rho = (xyz - meanSta).NormFrobenius();
    26042604  dc = rho * (sc - 1.0) / sc / t_CST::c;
    26052605
  • trunk/BNC/src/upload/bncuploadcaster.cpp

    r8770 r8904  
    143143
    144144  _outSocket = new QTcpSocket();
    145   _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevet the usage of system entries
     145  _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevent the usage of system entries
    146146  _outSocket->connectToHost(_outHost, _outPort);
    147147
Note: See TracChangeset for help on using the changeset viewer.