Changeset 10948 in ntrip
- Timestamp:
- Jun 25, 2026, 3:40:10 PM (4 weeks ago)
- Location:
- trunk/BNC/src
- Files:
-
- 3 edited
-
bncantex.cpp (modified) (1 diff)
-
bncantex.h (modified) (2 diffs)
-
combination/bnccomb.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/bncantex.cpp
r10947 r10948 409 409 if (psiRate > MAX_YAW_RATE) { 410 410 if (!st.valid || (Mjd - st.lastMjd) > MAX_FREEZE_AGE) { 411 if (st.valid) { // i.e. it was the staleness bound, not cold-start 412 _glonassYawLog += QString().asprintf( 413 "%s glonassYaw STALE-RESET Mjd=%.6f beta=%6.3f mu=%7.2f rate=%6.3f" 414 " old=%7.2f new=%7.2f age=%.1fmin\n", 415 prn.toLatin1().data(), Mjd, beta*180.0/M_PI, mu*180.0/M_PI, 416 psiRate*180.0/M_PI, st.yaw*180.0/M_PI, psiNom*180.0/M_PI, 417 (Mjd-st.lastMjd)*1440.0); 418 } 411 419 st.yaw = psiNom; // no prior history, or it is too old to trust 412 420 st.lastMjd = Mjd; 413 421 st.valid = true; 414 422 } 423 if (!st.fixed) { 424 _glonassYawLog += QString().asprintf( 425 "%s glonassYaw FIXED-ENTER Mjd=%.6f beta=%6.3f mu=%7.2f rate=%6.3f yaw=%7.2f\n", 426 prn.toLatin1().data(), Mjd, beta*180.0/M_PI, mu*180.0/M_PI, 427 psiRate*180.0/M_PI, st.yaw*180.0/M_PI); 428 st.fixed = true; 429 } 415 430 psiEff = st.yaw; // hold the frozen yaw angle 416 431 } 417 432 else { 433 if (st.fixed) { 434 _glonassYawLog += QString().asprintf( 435 "%s glonassYaw FIXED-EXIT Mjd=%.6f beta=%6.3f mu=%7.2f rate=%6.3f" 436 " frozen=%7.2f nominal=%7.2f\n", 437 prn.toLatin1().data(), Mjd, beta*180.0/M_PI, mu*180.0/M_PI, 438 psiRate*180.0/M_PI, st.yaw*180.0/M_PI, psiNom*180.0/M_PI); 439 st.fixed = false; 440 } 418 441 st.yaw = psiNom; 419 442 st.lastMjd = Mjd; -
trunk/BNC/src/bncantex.h
r10947 r10948 50 50 ColumnVector& dx); 51 51 52 // Drains and returns the diagnostic log accumulated by the GLONASS 53 // yaw-fixed model (mode transitions, with beta/mu/rate at the time). 54 // Empty most of the time; only non-empty right after a transition. 55 QString takeGlonassYawLog() { 56 QString s = _glonassYawLog; 57 _glonassYawLog.clear(); 58 return s; 59 } 60 52 61 private: 53 62 // Per-satellite GLONASS yaw state, used to freeze the yaw angle while … … 60 69 lastMjd = 0.0; 61 70 valid = false; 71 fixed = false; 62 72 } 63 73 double yaw; 64 74 double lastMjd; // Mjd of the last epoch the nominal law was trusted 65 75 bool valid; 76 bool fixed; // true while the yaw-fixed override is currently active 66 77 }; 78 79 QString _glonassYawLog; 67 80 68 81 double glonassYawAngle(const QString& prn, double Mjd, const ColumnVector& xSat, -
trunk/BNC/src/combination/bnccomb.cpp
r10946 r10948 1209 1209 _log += "antenna not found " + corr->_prn.mid(0,3).toLatin1() + '\n'; 1210 1210 } 1211 _log += _antex->takeGlonassYawLog().toLatin1(); 1211 1212 } 1212 1213 if (masterIsAPC) {
Note:
See TracChangeset
for help on using the changeset viewer.
