Changeset 10955 in ntrip for trunk/BNC/src/combination/bnccomb.cpp
- Timestamp:
- Jul 3, 2026, 11:10:42 AM (15 hours ago)
- File:
-
- 1 edited
-
trunk/BNC/src/combination/bnccomb.cpp (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/combination/bnccomb.cpp
r10954 r10955 181 181 QStringList hlp = it.next().split(" "); 182 182 cmbAC* newAC = new cmbAC(); 183 newAC->mountPoint = hlp[0]; 184 newAC->name = hlp[1]; 185 newAC->weightFactor = hlp[2].toDouble(); 186 newAC->excludeSats = hlp[3].split(QRegExp("[ ,]"), Qt::SkipEmptyParts); 187 newAC->isAPC = bool(newAC->mountPoint.mid(0,4) == "SSRA"); 183 newAC->mountPoint = hlp[0]; 184 newAC->name = hlp[1]; 185 newAC->weightFactor = hlp[2].toDouble(); 186 newAC->excludeSats = hlp[3].split(QRegExp("[ ,]"), Qt::SkipEmptyParts); 187 newAC->isAPC = bool(newAC->mountPoint.mid(0,4) == "SSRA"); 188 newAC->attitudeSource = (hlp.size() > 4) ? hlp[4] : "Computed"; 188 189 QMapIterator<char, unsigned> itSys(_cmbSysPrn); 189 190 // init … … 859 860 dt -= (0.5 * ssrUpdateInt[pb._updateInt]); 860 861 } 861 _newCorr->_satYawAngle = pb._yaw + pb._yawRate * dt; 862 _newCorr->_satYawAngle = pb._yaw + pb._yawRate * dt; 863 _newCorr->_satYawAngleValid = true; 862 864 863 865 // _lambdaIF … … 1213 1215 if (corr->_prn.startsWith("R08")) { 1214 1216 emit newMessage(("bncComb: DIAG " + corr->_prn.mid(0,3) + " getCrd FAILED").toLatin1(), false); 1215 } 1216 */ 1217 } */ 1217 1218 delete corr; 1218 1219 it.remove(); … … 1222 1223 else if (corr->_prn.startsWith("R08")) { 1223 1224 emit newMessage(("bncComb: DIAG " + corr->_prn.mid(0,3) + " getCrd OK").toLatin1(), false); 1224 } 1225 1226 */ 1225 }*/ 1227 1226 // TEMPORARY DIAGNOSTIC: how far is this epoch from the GLONASS broadcast 1228 1227 // ephemeris reference time? t_ephGlo::position() numerically integrates … … 1251 1250 char sys = corr->_eph->prn().system(); 1252 1251 masterIsAPC = _masterIsAPC[sys]; 1253 if (_antex->satCoMcorrection(corr->_prn, Mjd, xc.Rows(1,3), vv, dx) != success) { 1252 1253 // Determine attitude mode from the master orbit AC for this system 1254 bncAntex::e_attMode attMode = bncAntex::ATT_COMPUTED; 1255 double extYaw = 0.0; 1256 const QString& masterName = _masterOrbitAC[sys]; 1257 for (const cmbAC* ac : _ACs) { 1258 if (ac->name == masterName) { 1259 if (ac->attitudeSource == "SSR" && corr->_satYawAngleValid) { 1260 attMode = bncAntex::ATT_EXTERNAL; 1261 extYaw = corr->_satYawAngle; 1262 } 1263 else if (ac->attitudeSource == "Nominal") { 1264 attMode = bncAntex::ATT_NOMINAL; 1265 } 1266 break; 1267 } 1268 } 1269 1270 if (_antex->satCoMcorrection(corr->_prn, Mjd, xc.Rows(1,3), vv, dx, 1271 attMode, extYaw) != success) { 1254 1272 dx = 0; 1255 1273 emit newMessage("bncComb: antenna not found " + corr->_prn.mid(0,3).toLatin1(), false); … … 1258 1276 if (!glonassYawLog.isEmpty()) { 1259 1277 emit newMessage(("bncComb: " + glonassYawLog.trimmed()).toLatin1(), false); 1278 } 1279 QString gpsYawLog = _antex->takeGpsYawLog(); 1280 if (!gpsYawLog.isEmpty()) { 1281 emit newMessage(("bncComb: " + gpsYawLog.trimmed()).toLatin1(), false); 1282 } 1283 QString onYawLog = _antex->takeOnYawLog(); 1284 if (!onYawLog.isEmpty()) { 1285 emit newMessage(("bncComb: " + onYawLog.trimmed()).toLatin1(), false); 1260 1286 } 1261 1287 }
Note:
See TracChangeset
for help on using the changeset viewer.
