Interface AttitudeProviderModifier

    • Method Detail

      • getUnderlyingAttitudeProvider

        AttitudeProvider getUnderlyingAttitudeProvider()
        Get the underlying attitude provider.
        Returns:
        underlying attitude provider
      • getEventDetectors

        default Stream<EventDetector> getEventDetectors​(List<ParameterDriver> parameterDrivers)
        Get the discrete events related to the model from a list of ParameterDriver

        Date 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:
        getEventDetectors in interface EventDetectorsProvider
        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 of ParameterDriver

        Date 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:
        getFieldEventDetectors in interface EventDetectorsProvider
        Type Parameters:
        T - extends CalculusFieldElement<T>
        Parameters:
        field - field to which the state belongs
        parameterDrivers - list of parameter drivers
        Returns:
        stream of event detectors
      • getFrozenAttitudeProvider

        static AttitudeProviderModifier getFrozenAttitudeProvider​(AttitudeProvider attitudeProvider)
        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