Package org.orekit.gnss.attitude
Class GPSBlockIIR
- java.lang.Object
-
- org.orekit.gnss.attitude.AbstractGNSSAttitudeProvider
-
- org.orekit.gnss.attitude.GPSBlockIIR
-
- All Implemented Interfaces:
Serializable
,AttitudeProvider
,GNSSAttitudeProvider
public class GPSBlockIIR extends AbstractGNSSAttitudeProvider
Attitude providers for GPS block IIF 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
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static double
DEFAULT_YAW_RATE
Default yaw rates for all spacecrafts in radians per seconds.
-
Constructor Summary
Constructors Constructor Description GPSBlockIIR(double yawRate, AbsoluteDate validityStart, AbsoluteDate validityEnd, ExtendedPVCoordinatesProvider sun, Frame inertialFrame)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected TimeStampedAngularCoordinates
correctedYaw(org.orekit.gnss.attitude.GNSSAttitudeContext context)
Select the /** Compute GNSS attitude with midnight/noon yaw turn correction.protected <T extends org.hipparchus.RealFieldElement<T>>
TimeStampedFieldAngularCoordinates<T>correctedYaw(org.orekit.gnss.attitude.GNSSFieldAttitudeContext<T> context)
Compute GNSS attitude with midnight/noon yaw turn correction.-
Methods inherited from class org.orekit.gnss.attitude.AbstractGNSSAttitudeProvider
getAttitude, getAttitude, validityEnd, validityStart
-
-
-
-
Constructor Detail
-
GPSBlockIIR
public GPSBlockIIR(double yawRate, AbsoluteDate validityStart, AbsoluteDate validityEnd, ExtendedPVCoordinatesProvider 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 Detail
-
correctedYaw
protected TimeStampedAngularCoordinates correctedYaw(org.orekit.gnss.attitude.GNSSAttitudeContext context)
Select the /** Compute GNSS attitude with midnight/noon yaw turn correction.- Specified by:
correctedYaw
in classAbstractGNSSAttitudeProvider
- Parameters:
context
- context data for attitude computation- Returns:
- corrected yaw, using inertial frame as the reference
-
correctedYaw
protected <T extends org.hipparchus.RealFieldElement<T>> TimeStampedFieldAngularCoordinates<T> correctedYaw(org.orekit.gnss.attitude.GNSSFieldAttitudeContext<T> context)
Compute GNSS attitude with midnight/noon yaw turn correction.- Specified by:
correctedYaw
in classAbstractGNSSAttitudeProvider
- Type Parameters:
T
- type of the field elements- Parameters:
context
- context data for attitude computation- Returns:
- corrected yaw, using inertial frame as the reference
-
-