Changeset 11110 in ntrip for trunk/BNC/src/bncantex.h


Ignore:
Timestamp:
Oct 22, 2026, 11:10:34 AM (6 days ago)
Author:
stuerze
Message:

clock combination: some updates regarding attitude correction

File:
1 edited

Legend:

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

    r11104 r11110  
    5757  // Attitude model selection for satCoMcorrection().
    5858  enum e_attMode {
    59     ATT_COMPUTED = 0,  // full model: GLONASS yaw-fixed + GPS noon/midnight turn
     59    ATT_COMPUTED = 0,  // full model: GLONASS noon/shadow turns, GPS noon/midnight turns, Galileo/BDS orbit-normal mode
    6060    ATT_NOMINAL  = 1,  // simple nominal Sun-pointing only (no maneuver model)
    6161    ATT_EXTERNAL = 2,  // use caller-supplied externalYaw angle [rad]
    … …  
    8989
    9090 private:
    91   // Per-satellite GLONASS yaw state: freezes the yaw angle while the
    92   // satellite cannot follow the nominal Sun-pointing law (Dilssner 2011).
     91  // Per-satellite GLONASS yaw state: rate-limited yaw during noon turns and
     92  // in the Earth's shadow (Dilssner 2011).
    9393  class t_glonassYaw {
    9494   public:
    … …  
    9898      valid       = false;
    9999      fixed       = false;
     100      turnSign    = 1.0;
    100101    }
    101102    double yaw;
    102103    double lastCallMjd; // Mjd of the most recent call (any branch) for this PRN
    103104    bool   valid;
    104     bool   fixed;   // true while the yaw-fixed override is currently active
     105    bool   fixed;     // true during a noon/midnight turn or the catch-up after it
     106    double turnSign;  // direction of the turn (sign of the nominal yaw rate at its start)
    105107  };
    106108
    … …  
    115117      valid       = false;
    116118      inTurn      = false;
     119      turnSign    = 1.0;
    117120    }
    118121    double yaw;
    119122    double lastCallMjd;
    120123    bool   valid;
    121     bool   inTurn;  // true while in a constrained noon/midnight turn
     124    bool   inTurn;    // true while in a constrained noon/midnight turn
     125    double turnSign;  // direction of the turn (sign of the nominal yaw rate at its start)
    122126  };
    123127
Note: See TracChangeset for help on using the changeset viewer.