Class FieldGnssOrbitalElements<T extends CalculusFieldElement<T>,O extends GNSSOrbitalElements<O>>
java.lang.Object
org.orekit.propagation.analytical.gnss.data.GNSSOrbitalElementsDriversProvider
org.orekit.propagation.analytical.gnss.data.FieldGnssOrbitalElements<T,O>
- Type Parameters:
T- type of the field elementsO- type of the orbital elements (non-field version)
- All Implemented Interfaces:
FieldTimeStamped<T>,ParameterDriversProvider
- Direct Known Subclasses:
FieldCommonGnssData
public abstract class FieldGnssOrbitalElements<T extends CalculusFieldElement<T>,O extends GNSSOrbitalElements<O>>
extends GNSSOrbitalElementsDriversProvider
implements FieldTimeStamped<T>
This class provides the minimal set of orbital elements needed by the
FieldGnssPropagator.- Since:
- 13.0
- Author:
- Luc Maisonobe
-
Field Summary
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
ConstructorsModifierConstructorDescriptionprotectedFieldGnssOrbitalElements(Function<V, T> converter, FieldGnssOrbitalElements<V, O> original) Constructor from different field instance.protectedFieldGnssOrbitalElements(Field<T> field, O original) Constructor from non-field instance.protectedFieldGnssOrbitalElements(T mu, double angularVelocity, int weeksInCycle, TimeScales timeScales, SatelliteSystem system) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionabstract <U extends CalculusFieldElement<U>,G extends FieldGnssOrbitalElements<U, O>>
GchangeField(Function<T, U> converter) Create another field version of the instance.getDate()Get date.getE()Get eccentricity.getI0()Get the inclination angle at reference time.getM0()Get mean anomaly at reference time.Get the computed mean motion n₀.getMu()Get the Earth's universal gravitational parameter.Get longitude of ascending node of orbit plane at weekly epoch.getPa()Get argument of perigee.getSma()Get semi-major axis.voidSet eccentricity.protected voidsetGnssDate(GNSSDate gnssDate) Set GNSS date.voidSet inclination angle at reference time.voidSet mean anomaly at reference time.voidSet longitude of ascending node of orbit plane at weekly epoch.voidSet argument of perigee.voidSet semi-major axis.abstract OCreate a non-field version of the instance.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, setWeekMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.time.FieldTimeStamped
durationFrom, durationFromMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Constructor Details
-
FieldGnssOrbitalElements
protected FieldGnssOrbitalElements(T mu, double angularVelocity, int weeksInCycle, TimeScales timeScales, SatelliteSystem system) Simple 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)
-
FieldGnssOrbitalElements
Constructor from non-field instance.- Parameters:
field- field to which elements belongoriginal- regular non-field instance
-
FieldGnssOrbitalElements
Constructor from different field instance.- Type Parameters:
V- type of the old field elements- Parameters:
converter- for field elementsoriginal- regular non-field instance
-
-
Method Details
-
toNonField
Create a non-field version of the instance.- Returns:
- non-field version of the instance
-
changeField
public abstract <U extends CalculusFieldElement<U>,G extends FieldGnssOrbitalElements<U, G changeFieldO>> (Function<T, U> converter) Create another field version of the instance.- Type Parameters:
U- type of the new field elementsG- type of the orbital elements (field version)- Parameters:
converter- for field elements- Returns:
- field version of the instance
-
setGnssDate
Set GNSS date.- Specified by:
setGnssDatein classGNSSOrbitalElementsDriversProvider- Parameters:
gnssDate- GNSS date
-
getDate
Get date.- Specified by:
getDatein interfaceFieldTimeStamped<T extends CalculusFieldElement<T>>- Returns:
- date
-
getMu
Get the Earth's universal gravitational parameter.- Returns:
- the Earth's universal gravitational parameter
-
getSma
Get semi-major axis.- Returns:
- semi-major axis (m)
-
setSma
Set semi-major axis.- Parameters:
sma- demi-major axis (m)
-
getMeanMotion0
Get the computed mean motion n₀.- Returns:
- the computed mean motion n₀ (rad/s)
- Since:
- 13.0
-
getE
Get eccentricity.- Returns:
- eccentricity
-
setE
Set eccentricity.- Parameters:
e- eccentricity
-
getI0
Get the inclination angle at reference time.- Returns:
- inclination angle at reference time (rad)
-
setI0
Set inclination angle at reference time.- Parameters:
i0- inclination angle at reference time (rad)
-
getOmega0
Get longitude of ascending node of orbit plane at weekly epoch.- Returns:
- longitude of ascending node of orbit plane at weekly epoch (rad)
-
setOmega0
Set longitude of ascending node of orbit plane at weekly epoch.- Parameters:
omega0- longitude of ascending node of orbit plane at weekly epoch (rad)
-
getPa
Get argument of perigee.- Returns:
- argument of perigee (rad)
-
setPa
Set argument of perigee.- Parameters:
pa- argument of perigee (rad)
-
getM0
Get mean anomaly at reference time.- Returns:
- mean anomaly at reference time (rad)
-
setM0
Set mean anomaly at reference time.- Parameters:
m0- mean anomaly at reference time (rad)
-