Class CommonGnssData
- java.lang.Object
-
- org.orekit.propagation.analytical.gnss.data.CommonGnssData
-
- Direct Known Subclasses:
AbstractAlmanac,AbstractNavigationMessage
public class CommonGnssData extends Object
Container for common GNSS data contained in almanac and navigation messages.- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description CommonGnssData(double mu, double angularVelocity, int weekNumber)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAf0()Getter for the the SV Clock Bias Correction Coefficient.doublegetAf1()Getter for the SV Clock Drift Correction Coefficient.doublegetAngularVelocity()Getter for the mean angular velocity of the Earth for the GNSS model.doublegetCycleDuration()Getter for the duration of the GNSS cycle in seconds.AbsoluteDategetDate()Getter for the ephemeris reference date.doublegetE()Getter for the eccentricity.doublegetI0()Getter for the inclination angle at reference time.doublegetM0()Getter for the mean anomaly at reference time.doublegetMu()Getter for the Earth's universal gravitational parameter.doublegetOmega0()Getter for the longitude of ascending node of orbit plane at weekly epoch.doublegetOmegaDot()Getter for the rate of right ascension.doublegetPa()Getter for the argument of perigee.intgetPRN()Getter for the PRN number of the satellite.doublegetSma()Getter for the semi-major axis.doublegetTime()Getter for the reference time of the GNSS orbit as a duration from week start.intgetWeek()Getter for the reference week of the GNSS orbit.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).voidsetDate(AbsoluteDate date)Setter for the reference epoch.voidsetE(double e)Setter the eccentricity.voidsetI0(double i0)Setter for the Inclination Angle at Reference Time (rad).voidsetM0(double m0)Setter for the Mean Anomaly at Reference Time (rad).voidsetOmega0(double omega0)Setter for the Longitude of Ascending Node of Orbit Plane at Weekly Epoch (rad).voidsetOmegaDot(double omegaDot)Setter for the rate of Rate of Right Ascension (rad/s).voidsetPa(double omega)Setter fir the Argument of Perigee (rad).voidsetPRN(int number)Setter for the PRN number of the satellite.voidsetSma(double sma)Setter for the semi-major axis.voidsetTime(double time)Setter for the reference time of the orbit as a duration from week start.voidsetWeek(int week)Setter for the reference week of the orbit.
-
-
-
Method Detail
-
getMu
public double getMu()
Getter for the Earth's universal gravitational parameter.- Returns:
- the Earth's universal gravitational parameter
-
getAngularVelocity
public double getAngularVelocity()
Getter for the mean angular velocity of the Earth for the GNSS model.- Returns:
- the mean angular velocity of the Earth for the GNSS model
-
getCycleDuration
public double getCycleDuration()
Getter for the duration of the GNSS cycle in seconds.- Returns:
- the duration of the GNSS cycle in seconds
-
getPRN
public int getPRN()
Getter for the PRN number of the satellite.- Returns:
- the PRN number of the satellite
-
setPRN
public void setPRN(int number)
Setter for the PRN number of the satellite.- Parameters:
number- the prn number ot set
-
getWeek
public int getWeek()
Getter for the reference week of the GNSS orbit.- Returns:
- the reference week of the GNSS orbit
-
setWeek
public void setWeek(int week)
Setter for the reference week of the orbit.- Parameters:
week- the week to set
-
getSma
public double getSma()
Getter for the semi-major axis.- Returns:
- the semi-major axis in meters
-
setSma
public void setSma(double sma)
Setter for the semi-major axis.- Parameters:
sma- the semi-major axis (m)
-
getTime
public double getTime()
Getter for the reference time of the GNSS orbit as a duration from week start.- Returns:
- the reference time in seconds
-
setTime
public void setTime(double time)
Setter for the reference time of the orbit as a duration from week start.- Parameters:
time- the time to set in seconds
-
getE
public double getE()
Getter for the eccentricity.- Returns:
- the eccentricity
-
setE
public void setE(double e)
Setter the eccentricity.- Parameters:
e- the eccentricity to set
-
getI0
public double getI0()
Getter for the inclination angle at reference time.- Returns:
- the inclination angle at reference time in radians
-
setI0
public void setI0(double i0)
Setter for the Inclination Angle at Reference Time (rad).- Parameters:
i0- the inclination to set
-
getOmega0
public double getOmega0()
Getter for the longitude of ascending node of orbit plane at weekly epoch.- Returns:
- the longitude of ascending node of orbit plane at weekly epoch in radians
-
setOmega0
public void setOmega0(double omega0)
Setter for the Longitude of Ascending Node of Orbit Plane at Weekly Epoch (rad).- Parameters:
omega0- the longitude of ascending node to set
-
getOmegaDot
public double getOmegaDot()
Getter for the rate of right ascension.- Returns:
- the rate of right ascension in rad/s
-
setOmegaDot
public void setOmegaDot(double omegaDot)
Setter for the rate of Rate of Right Ascension (rad/s).- Parameters:
omegaDot- the rate of right ascension to set
-
getPa
public double getPa()
Getter for the argument of perigee.- Returns:
- the argument of perigee in radians
-
setPa
public void setPa(double omega)
Setter fir the Argument of Perigee (rad).- Parameters:
omega- the argumet of perigee to set
-
getM0
public double getM0()
Getter for the mean anomaly at reference time.- Returns:
- the mean anomaly at reference time in radians
-
setM0
public void setM0(double m0)
Setter for the Mean Anomaly at Reference Time (rad).- Parameters:
m0- the mean anomaly to set
-
getAf0
public double getAf0()
Getter for the the SV Clock Bias Correction Coefficient.- Returns:
- the SV Clock Bias Correction Coefficient (s).
-
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()
Getter for the SV Clock Drift Correction Coefficient.- Returns:
- the SV Clock Drift Correction Coefficient (s/s).
-
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
-
getDate
public AbsoluteDate getDate()
Getter for the ephemeris reference date.- Returns:
- the ephemeris reference date
-
setDate
public void setDate(AbsoluteDate date)
Setter for the reference epoch.- Parameters:
date- the epoch to set
-
-