Class CommonGnssData<O extends CommonGnssData<O>>
- java.lang.Object
-
- org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
-
- org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements<O>
-
- org.orekit.propagation.analytical.gnss.data.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 Summary
Fields Modifier and Type Field Description static StringAF0Name for zero-th order clock correction parameter.static StringAF1Name for first order clock correction parameter.static StringAF2Name for second order clock correction parameter.-
Fields inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements
ARGUMENT_OF_PERIGEE, ECCENTRICITY, INCLINATION, MEAN_ANOMALY, NODE_LONGITUDE, SEMI_MAJOR_AXIS
-
Fields inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
A_DOT, A_DOT_INDEX, CIC_INDEX, CIS_INDEX, CRC_INDEX, CRS_INDEX, CUC_INDEX, CUS_INDEX, DELTA_N0, DELTA_N0_DOT, DELTA_N0_DOT_INDEX, DELTA_N0_INDEX, I_DOT_INDEX, INCLINATION_COSINE, INCLINATION_RATE, INCLINATION_SINE, LATITUDE_COSINE, LATITUDE_SINE, LONGITUDE_RATE, OMEGA_DOT_INDEX, RADIUS_COSINE, RADIUS_SINE, SIZE, TIME, TIME_INDEX
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedCommonGnssData(double mu, double angularVelocity, int weeksInCycle, TimeScales timeScales, SatelliteSystem system)Constructor.protectedCommonGnssData(FieldCommonGnssData<T,A> original)Constructor from field instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAf0()Gets the Zeroth Order Clock Correction.doublegetAf1()Gets the First Order Clock Correction.doublegetAf2()Gets the Second Order Clock Correction.doublegetTGD()Get the estimated group delay differential TGD for L1-L2 correction.doublegetToc()Get the time of clock.voidsetAf0(double af0)Setter for the SV Clock Bias Correction Coefficient (s).voidsetAf1(double af1)Setter for the SV Clock Drift Correction Coefficient (s/s).voidsetAf2(double af2)Setter for the Drift Rate Correction Coefficient (s/s²).voidsetTGD(double groupDelayDifferential)Set the estimated group delay differential TGD for L1-L2 correction.voidsetToc(double toc)Set the time of clock.-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElements
getDate, getE, getEDriver, getI0, getI0Driver, getM0, getM0Driver, getMeanMotion0, getMu, getOmega0, getOmega0Driver, getPa, getPaDriver, getSma, getSmaDriver, setE, setGnssDate, setI0, setM0, setOmega0, setPa, setSma, toField
-
Methods inherited from class org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
copyNonKeplerian, copySelectionSettings, createDriver, getADot, getADotDriver, getAngularVelocity, getCic, getCicDriver, getCis, getCisDriver, getCrc, getCrcDriver, getCrs, getCrsDriver, getCuc, getCucDriver, getCus, getCusDriver, getCycleDuration, getDeltaN0, getDeltaN0Dot, getDeltaN0DotDriver, getDeltaN0Driver, getIDot, getIDotDriver, getOmegaDot, getOmegaDotDriver, getParametersDrivers, getPRN, getSystem, getTime, getTimeDriver, getTimeScales, getWeek, getWeeksInCycle, isCivilianMessage, setADot, setCic, setCis, setCrc, setCrs, setCuc, setCus, setDeltaN0, setDeltaN0Dot, setIDot, setOmegaDot, setPRN, setTime, setWeek
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Methods inherited from interface org.orekit.time.TimeStamped
durationFrom, getDate
-
-
-
-
Field Detail
-
AF0
public static final String AF0
Name for zero-th order clock correction parameter.- Since:
- 13.0
- See Also:
- Constant Field Values
-
AF1
public static final String AF1
Name for first order clock correction parameter.- Since:
- 13.0
- See Also:
- Constant Field Values
-
AF2
public static final String AF2
Name for second order clock correction parameter.- Since:
- 13.0
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CommonGnssData
protected CommonGnssData(double mu, double angularVelocity, int weeksInCycle, TimeScales timeScales, SatelliteSystem system)Constructor.- Parameters:
mu- Earth's universal gravitational parameterangularVelocity- mean angular velocity of the Earth for the GNSS modelweeksInCycle- number of weeks in the GNSS cycletimeScales- known time scalessystem- 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 elementsA- type of the orbital elements (non-field version)- Parameters:
original- regular field instance
-
-
Method Detail
-
getAf0
public double getAf0()
Gets the Zeroth Order Clock Correction.- Specified by:
getAf0in interfaceGNSSClockElements- Returns:
- the Zeroth Order Clock Correction (s)
- See Also:
GNSSClockElements.getAf1(),GNSSClockElements.getAf2()
-
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:
getAf1in interfaceGNSSClockElements- Returns:
- the First Order Clock Correction (s/s)
- See Also:
GNSSClockElements.getAf0(),GNSSClockElements.getAf2()
-
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:
getAf2in interfaceGNSSClockElements- Returns:
- the Second Order Clock Correction (s/s²)
- See Also:
GNSSClockElements.getAf0(),GNSSClockElements.getAf1()
-
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:
getTGDin interfaceGNSSClockElements- Returns:
- the estimated group delay differential TGD for L1-L2 correction (s)
-
setToc
public void setToc(double toc)
Set the time of clock.
-
getToc
public double getToc()
Get the time of clock.- Specified by:
getTocin interfaceGNSSClockElements- Returns:
- the time of clock (s)
- See Also:
GNSSClockElements.getAf0(),GNSSClockElements.getAf1(),GNSSClockElements.getAf2()
-
-