Package org.orekit.attitudes
Interface AttitudeProviderModifier
- All Superinterfaces:
AttitudeProvider,AttitudeRotationModel,EventDetectorsProvider,ParameterDriversProvider
- All Known Implementing Classes:
GroundPointingAttitudeModifier,SpinStabilized,YawCompensation,YawSteering
This interface represents an attitude provider that modifies/wraps another underlying provider.
- Since:
- 5.1
- Author:
- Luc Maisonobe
-
Field Summary
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY -
Method Summary
Modifier and TypeMethodDescriptiondefault <T extends CalculusFieldElement<T>>
FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) Compute the attitude corresponding to an orbital state.default AttitudegetAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) Compute the attitude corresponding to an orbital state.default Stream<EventDetector> getEventDetectors(List<ParameterDriver> parameterDrivers) Get the discrete events related to the model from a list ofParameterDriverdefault <T extends CalculusFieldElement<T>>
Stream<FieldEventDetector<T>> getFieldEventDetectors(Field<T> field, List<ParameterDriver> parameterDrivers) Get the discrete events related to the model from a list ofParameterDriverstatic AttitudeProviderModifiergetFrozenAttitudeProvider(AttitudeProvider attitudeProvider) Wrap the input provider with a new one always returning attitudes with zero rotation rate and acceleration.default List<ParameterDriver> Get the drivers for parameters.Get the underlying attitude provider.Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitudeRotation, getAttitudeRotation, getAttitudeRotation, getAttitudeRotation, getEventDetectors, getFieldEventDetectorsMethods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getFieldDateDetectorMethods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
Method Details
-
getUnderlyingAttitudeProvider
AttitudeProvider getUnderlyingAttitudeProvider()Get the underlying attitude provider.- Returns:
- underlying attitude 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
default <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
-
getEventDetectors
Get the discrete events related to the model from a list ofParameterDriverDate detectors are used to cleanly stop the propagator and reset the state derivatives at transition dates (if any) of the parameter drivers.
This method is not intended to be called several times, only once by a propagator, as it has the side effect of rebuilding the events detectors when called.
- Specified by:
getEventDetectorsin interfaceEventDetectorsProvider- Parameters:
parameterDrivers- list of parameter drivers- Returns:
- stream of event detectors
-
getFieldEventDetectors
default <T extends CalculusFieldElement<T>> Stream<FieldEventDetector<T>> getFieldEventDetectors(Field<T> field, List<ParameterDriver> parameterDrivers) Get the discrete events related to the model from a list ofParameterDriverDate detectors are used to cleanly stop the propagator and reset the state derivatives at transition dates (if any) of the parameter drivers.
This method is not intended to be called several times, only once by a propagator, as it has the side effect of rebuilding the events detectors when called.
- Specified by:
getFieldEventDetectorsin interfaceEventDetectorsProvider- Type Parameters:
T- extends CalculusFieldElement<T>- Parameters:
field- field to which the state belongsparameterDrivers- list of parameter drivers- Returns:
- stream of event detectors
-
getParametersDrivers
Get the drivers for parameters.- Specified by:
getParametersDriversin interfaceAttitudeProvider- Specified by:
getParametersDriversin interfaceParameterDriversProvider- Returns:
- drivers for parameters
-
getFrozenAttitudeProvider
Wrap the input provider with a new one always returning attitudes with zero rotation rate and acceleration. It is not physically sound, but remains useful for performance when a full, physical attitude with time derivatives is not needed.- Parameters:
attitudeProvider- provider to wrap- Returns:
- wrapping provider
- Since:
- 12.1
-