Class CommonGnssData<O extends CommonGnssData<O>>

Type Parameters:
O - type of the orbital elements
All Implemented Interfaces:
GNSSClockElements, TimeStamped, ParameterDriversProvider
Direct Known Subclasses:
AbstractAlmanac

public abstract class CommonGnssData<O extends CommonGnssData<O>> extends GNSSOrbitalElements<O> implements GNSSClockElements
Container for common GNSS data contained in almanac and navigation messages.
Since:
11.0
Author:
Bryan Cazabonne
  • Field Details

  • Constructor Details

    • CommonGnssData

      protected CommonGnssData(double mu, double angularVelocity, int weeksInCycle, TimeScales timeScales, SatelliteSystem system)
      Constructor.
      Parameters:
      mu - Earth's universal gravitational parameter
      angularVelocity - mean angular velocity of the Earth for the GNSS model
      weeksInCycle - number of weeks in the GNSS cycle
      timeScales - known time scales
      system - satellite system to consider for interpreting week number (may be different from real system, for example in Rinex nav, weeks are always according to GPS)
    • CommonGnssData

      protected CommonGnssData(FieldCommonGnssData<T,A> original)
      Constructor from field instance.
      Type Parameters:
      T - type of the field elements
      A - type of the orbital elements (non-field version)
      Parameters:
      original - regular field instance
  • Method Details

    • getAf0

      public double getAf0()
      Gets the Zeroth Order Clock Correction.
      Specified by:
      getAf0 in interface GNSSClockElements
      Returns:
      the Zeroth Order Clock Correction (s)
      See Also:
    • setAf0

      public void setAf0(double af0)
      Setter for the SV Clock Bias Correction Coefficient (s).
      Parameters:
      af0 - the SV Clock Bias Correction Coefficient to set
    • getAf1

      public double getAf1()
      Gets the First Order Clock Correction.
      Specified by:
      getAf1 in interface GNSSClockElements
      Returns:
      the First Order Clock Correction (s/s)
      See Also:
    • setAf1

      public void setAf1(double af1)
      Setter for the SV Clock Drift Correction Coefficient (s/s).
      Parameters:
      af1 - the SV Clock Drift Correction Coefficient to set
    • getAf2

      public double getAf2()
      Gets the Second Order Clock Correction.
      Specified by:
      getAf2 in interface GNSSClockElements
      Returns:
      the Second Order Clock Correction (s/s²)
      See Also:
    • setAf2

      public void setAf2(double af2)
      Setter for the Drift Rate Correction Coefficient (s/s²).
      Parameters:
      af2 - the Drift Rate Correction Coefficient to set
    • setTGD

      public void setTGD(double groupDelayDifferential)
      Set the estimated group delay differential TGD for L1-L2 correction.
      Parameters:
      groupDelayDifferential - the estimated group delay differential TGD for L1-L2 correction (s)
    • getTGD

      public double getTGD()
      Get the estimated group delay differential TGD for L1-L2 correction.
      Specified by:
      getTGD in interface GNSSClockElements
      Returns:
      the estimated group delay differential TGD for L1-L2 correction (s)
    • setToc

      public void setToc(double toc)
      Set the time of clock.
      Parameters:
      toc - the time of clock (s)
      See Also:
    • getToc

      public double getToc()
      Get the time of clock.
      Specified by:
      getToc in interface GNSSClockElements
      Returns:
      the time of clock (s)
      See Also: