Changeset 8904 in ntrip
- Timestamp:
- Mar 18, 2020, 11:11:28 AM (5 years ago)
- Location:
- trunk/BNC/src/upload
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/upload/bncephuploadcaster.cpp
r8352 r8904 91 91 int size = 0; 92 92 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")) { 95 94 if (timeDiff <= 4*3600) { 96 95 size = t_ephEncoder::RTCM3(*ephGPS, Array); 97 96 } 98 97 } 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")) { 101 99 if (timeDiff <= 4*3600) { 102 100 size = t_ephEncoder::RTCM3(*ephGPS, Array); … … 109 107 } 110 108 else if (ephGal && (system == "ALL" || system == "Galileo")) { 111 if (timeDiff <= 4*3600) {109 if (timeDiff <= 2*3600) { 112 110 size = t_ephEncoder::RTCM3(*ephGal, Array); 113 111 } 114 112 } 115 113 else if (ephSBAS && (system == "ALL" || system == "SBAS")) { 116 if (timeDiff <= 600) {114 if (timeDiff <= 1*3600) { 117 115 size = t_ephEncoder::RTCM3(*ephSBAS, Array); 118 116 } … … 121 119 if (timeDiff <= 6*3600) { 122 120 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); 123 126 } 124 127 } -
trunk/BNC/src/upload/bncrtnetuploadcaster.cpp
r8844 r8904 270 270 } 271 271 272 lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', 272 lines = _rtnetStreamBuffer.left(iEpoEnd).split('\n', 273 273 QString::SkipEmptyParts); 274 274 _rtnetStreamBuffer = _rtnetStreamBuffer.mid(iEpoEnd + 3); … … 1926 1926 phasebiasSat->Biases[ii].SignalsWideLaneIntegerIndicator = pbSig.wlIndicator; 1927 1927 phasebiasSat->Biases[ii].SignalDiscontinuityCounter = pbSig.discontinuityCounter; 1928 } 1928 } 1929 1929 else if (pbSig.type == "2S") { 1930 1930 int ii = phasebiasSat->NumberOfPhaseBiases; … … 2601 2601 // Clock correction proportional to topocentric distance to satellites 2602 2602 // ------------------------------------------------------------------- 2603 double rho = (xyz - meanSta). norm_Frobenius();2603 double rho = (xyz - meanSta).NormFrobenius(); 2604 2604 dc = rho * (sc - 1.0) / sc / t_CST::c; 2605 2605 -
trunk/BNC/src/upload/bncuploadcaster.cpp
r8770 r8904 143 143 144 144 _outSocket = new QTcpSocket(); 145 _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to preve t the usage of system entries145 _outSocket->setProxy(QNetworkProxy::NoProxy); // Ntrip1: to prevent the usage of system entries 146 146 _outSocket->connectToHost(_outHost, _outPort); 147 147
Note:
See TracChangeset
for help on using the changeset viewer.