Package org.orekit.gnss.attitude
Class Galileo
java.lang.Object
org.orekit.gnss.attitude.Galileo
- All Implemented Interfaces:
AttitudeProvider,AttitudeRotationModel,GNSSAttitudeProvider,EventDetectorsProvider,ParameterDriversProvider
Attitude providers for Galileo navigation satellites.
This class is based on the May 2017 version of J. Kouba eclips.f subroutine available at IGS Analysis Center Coordinator site. The eclips.f code itself is not used ; its hard-coded data are used and its low level models are used, but the structure of the code and the API have been completely rewritten.
- Since:
- 9.2
- Author:
- J. Kouba original fortran routine, Luc Maisonobe Java translation
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final doubleDefault yaw rates for all spacecrafts in radians per seconds.Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY -
Constructor Summary
ConstructorsConstructorDescriptionGalileo(double yawRate, AbsoluteDate validityStart, AbsoluteDate validityEnd, ExtendedPositionProvider sun, Frame inertialFrame) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected TimeStampedAngularCoordinatescorrectedYaw(org.orekit.gnss.attitude.GNSSAttitudeContext context) Select the /** Compute GNSS attitude with midnight/noon yaw turn correction.protected <T extends CalculusFieldElement<T>>
TimeStampedFieldAngularCoordinates<T> correctedYaw(org.orekit.gnss.attitude.GNSSFieldAttitudeContext<T> context) Compute GNSS attitude with midnight/noon yaw turn correction.<T extends CalculusFieldElement<T>>
FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) Compute the attitude corresponding to an orbital state.getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) Compute the attitude corresponding to an orbital state.protected FrameGet inertial frame where velocity are computed.protected ExtendedPositionProvidergetSun()Get provider for Sun position.Get end of validity for this provider.Get start of validity for this provider.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitudeRotation, getAttitudeRotation, getAttitudeRotation, getAttitudeRotation, getEventDetectors, getFieldEventDetectors, getParametersDriversMethods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectorsMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Field Details
-
DEFAULT_YAW_RATE
public static final double DEFAULT_YAW_RATEDefault yaw rates for all spacecrafts in radians per seconds.
-
-
Constructor Details
-
Galileo
public Galileo(double yawRate, AbsoluteDate validityStart, AbsoluteDate validityEnd, ExtendedPositionProvider sun, Frame inertialFrame) Simple constructor.- Parameters:
yawRate- yaw rate to use in radians per seconds (typicallyDEFAULT_YAW_RATE)validityStart- start of validity for this providervalidityEnd- end of validity for this providersun- provider for Sun positioninertialFrame- inertial frame where velocity are computed
-
-
Method Details
-
correctedYaw
protected TimeStampedAngularCoordinates correctedYaw(org.orekit.gnss.attitude.GNSSAttitudeContext context) Select the /** Compute GNSS attitude with midnight/noon yaw turn correction.- Parameters:
context- context data for attitude computation- Returns:
- corrected yaw, using inertial frame as the reference
-
correctedYaw
protected <T extends CalculusFieldElement<T>> TimeStampedFieldAngularCoordinates<T> correctedYaw(org.orekit.gnss.attitude.GNSSFieldAttitudeContext<T> context) Compute GNSS attitude with midnight/noon yaw turn correction.- Type Parameters:
T- type of the field elements- Parameters:
context- context data for attitude computation- Returns:
- corrected yaw, using inertial frame as the reference
-
validityStart
Get start of validity for this provider.- Specified by:
validityStartin interfaceGNSSAttitudeProvider- Returns:
- start of validity for this provider
-
validityEnd
Get end of validity for this provider.- Specified by:
validityEndin interfaceGNSSAttitudeProvider- Returns:
- end of validity for this provider
-
getAttitude
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitudein interfaceAttitudeProvider- Parameters:
pvProv- local position-velocity provider around current datedate- current dateframe- reference frame from which attitude is computed- Returns:
- attitude on the specified date and position-velocity state
-
getAttitude
public <T extends CalculusFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) Compute the attitude corresponding to an orbital state.- Specified by:
getAttitudein interfaceAttitudeProvider- Type Parameters:
T- type of the field elements- Parameters:
pvProv- local position-velocity provider around current datedate- current dateframe- reference frame from which attitude is computed- Returns:
- attitude on the specified date and position-velocity state
-
getSun
Get provider for Sun position.- Returns:
- provider for Sun position
- Since:
- 12.0
-
getInertialFrame
Get inertial frame where velocity are computed.- Returns:
- inertial frame where velocity are computed
-