Package org.orekit.gnss.attitude
Class GenericGNSS
- java.lang.Object
-
- org.orekit.gnss.attitude.GenericGNSS
-
- All Implemented Interfaces:
AttitudeProvider
,GNSSAttitudeProvider
,EventDetectorsProvider
public class GenericGNSS extends Object
Attitude providers for navigation satellites for which no specialized model is known.- Since:
- 9.2
- Author:
- Luc Maisonobe
-
-
Field Summary
-
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY
-
-
Constructor Summary
Constructors Constructor Description GenericGNSS(AbsoluteDate validityStart, AbsoluteDate validityEnd, ExtendedPositionProvider 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 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.Attitude
getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude corresponding to an orbital state.protected Frame
getInertialFrame()
Get inertial frame where velocity are computed.protected ExtendedPositionProvider
getSun()
Get provider for Sun position.AbsoluteDate
validityEnd()
Get end of validity for this provider.AbsoluteDate
validityStart()
Get start of validity for this provider.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitudeRotation, getAttitudeRotation, getEventDetectors, getFieldEventDetectors
-
Methods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getEventDetectors, getFieldEventDetectors
-
-
-
-
Constructor Detail
-
GenericGNSS
public GenericGNSS(AbsoluteDate validityStart, AbsoluteDate validityEnd, ExtendedPositionProvider sun, Frame inertialFrame)
Simple constructor.- Parameters:
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.- 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
public AbsoluteDate validityStart()
Get start of validity for this provider.- Specified by:
validityStart
in interfaceGNSSAttitudeProvider
- Returns:
- start of validity for this provider
-
validityEnd
public AbsoluteDate validityEnd()
Get end of validity for this provider.- Specified by:
validityEnd
in interfaceGNSSAttitudeProvider
- Returns:
- end of validity for this provider
-
getAttitude
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitude
in 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:
getAttitude
in 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
protected ExtendedPositionProvider getSun()
Get provider for Sun position.- Returns:
- provider for Sun position
- Since:
- 12.0
-
getInertialFrame
protected Frame getInertialFrame()
Get inertial frame where velocity are computed.- Returns:
- inertial frame where velocity are computed
-
-