Class GLONASSAnalyticalPropagatorBuilder
It implements the classical builder pattern.
Caution: The Glonass analytical propagator can only be used with GLONASSAlmanac.
Using this propagator with a GLONASSFdmaNavigationMessage is prone to error.
- Since:
- 11.0
- Author:
- Bryan Cazabonne
-
Constructor Summary
ConstructorsConstructorDescriptionGLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt) Initializes the builder.GLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt, DataContext dataContext) Initializes the builder. -
Method Summary
Modifier and TypeMethodDescriptionattitudeProvider(AttitudeProvider userProvider) Sets the attitude provider.build()Finalizes the build.dataContext(DataContext context) Sets the data context used by the propagator.Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.Sets the Earth Centered Inertial frame used for propagation.mass(double userMass) Sets the mass.
-
Constructor Details
-
GLONASSAnalyticalPropagatorBuilder
Initializes the builder.The GLONASS orbital elements is the only requested parameter to build a GLONASSAnalyticalPropagator.
The attitude provider is set by default to be aligned with the EME2000 frame.
The mass is set by default to theDEFAULT_MASS.
The data context is by default to thedefault data context.
The ECI frame is set by default to theEME2000 framein the default data context.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOPin the default data context.This constructor uses the
default data context. Another data context can be set usingBuilder(final GLONASSOrbitalElements gpsOrbElt, final DataContext dataContext)- Parameters:
glonassOrbElt- the GLONASS orbital elements to be used by the GLONASS analytical propagator.- See Also:
-
GLONASSAnalyticalPropagatorBuilder
public GLONASSAnalyticalPropagatorBuilder(GLONASSOrbitalElements glonassOrbElt, DataContext dataContext) Initializes the builder.The GLONASS orbital elements is the only requested parameter to build a GLONASSAnalyticalPropagator.
The attitude provider is set by default to be aligned with the EME2000 frame.
The mass is set by default to theDEFAULT_MASS.
The ECI frame is set by default to theEME2000 frame.
The ECEF frame is set by default to theCIO/2010-based ITRF simple EOP.- Parameters:
glonassOrbElt- the GLONASS orbital elements to be used by the GLONASS propagator.dataContext- the data context to use for frames and time scales.- Since:
- 10.1
- See Also:
-
-
Method Details
-
attitudeProvider
Sets the attitude provider.- Parameters:
userProvider- the attitude provider- Returns:
- the updated builder
-
mass
Sets the mass.- Parameters:
userMass- the mass (in kg)- Returns:
- the updated builder
-
eci
Sets the Earth Centered Inertial frame used for propagation.- Parameters:
inertial- the ECI frame- Returns:
- the updated builder
-
ecef
Sets the Earth Centered Earth Fixed frame assimilated to the WGS84 ECEF.- Parameters:
bodyFixed- the ECEF frame- Returns:
- the updated builder
-
dataContext
Sets the data context used by the propagator. Does not update the ECI or ECEF frames which must be done separately usingeci(Frame)andecef(Frame).- Parameters:
context- used for propagation.- Returns:
- the updated builder.
-
build
Finalizes the build.- Returns:
- the built GLONASSPropagator
-