Changeset 11079 in ntrip for trunk/BNC/src/bncantex.cpp


Ignore:
Timestamp:
Oct 8, 2026, 11:47:35 AM (38 hours ago)
Author:
stuerze
Message:

combi can be based on CoM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/bncantex.cpp

    r11066 r11079  
    778778                                 const ColumnVector& xSat,
    779779                                 const ColumnVector& vSat, ColumnVector& dx,
    780                                  e_attMode mode, double externalYaw) {
     780                                 e_attMode mode, double externalYaw,
     781                                 const QString& stateKey) {
     782
     783  // separate yaw model states per caller (stateKey), each called in time order
     784  QString yawKey = stateKey.isEmpty() ? prn : stateKey + ":" + prn;
    781785
    782786  t_frequency::type frqType = t_frequency::dummy;
    … …  
    836840
    837841      if (mode == ATT_COMPUTED && prn[0] == 'R' && vSat.size() == 3) {
    838         psiEff = glonassYawAngle(prn, Mjd, xSat, vSat, xSun);
     842        psiEff = glonassYawAngle(yawKey, Mjd, xSat, vSat, xSun);
    839843        useVelocityFrame = true;
    840844      }
    841845      else if (mode == ATT_COMPUTED && prn[0] == 'G' && vSat.size() == 3
    842846               && !map->blockType.isEmpty()) {
    843         psiEff = gpsYawAngle(prn, map->blockType, Mjd, xSat, vSat, xSun);
     847        psiEff = gpsYawAngle(yawKey, map->blockType, Mjd, xSat, vSat, xSun);
    844848        useVelocityFrame = true;
    845849      }
    846850      else if (mode == ATT_COMPUTED && prn[0] == 'E' && vSat.size() == 3
    847851               && !map->blockType.isEmpty()) {
    848         psiEff = galileoYawAngle(prn, map->blockType, Mjd, xSat, vSat, xSun);
     852        psiEff = galileoYawAngle(yawKey, map->blockType, Mjd, xSat, vSat, xSun);
    849853        useVelocityFrame = true;
    850854      }
    851855      else if (mode == ATT_COMPUTED && prn[0] == 'C' && vSat.size() == 3
    852856               && !map->blockType.isEmpty()) {
    853         psiEff = bdsYawAngle(prn, map->blockType, Mjd, xSat, vSat, xSun);
     857        psiEff = bdsYawAngle(yawKey, map->blockType, Mjd, xSat, vSat, xSun);
    854858        useVelocityFrame = true;
    855859      }
Note: See TracChangeset for help on using the changeset viewer.