Interface ImpulseProvider

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface ImpulseProvider
    Interface providing velocity increment vectors to impulsive maneuvers.
    Since:
    13.0
    Author:
    Romain Serra
    See Also:
    ImpulseManeuver
    • Method Detail

      • getImpulse

        Vector3D getImpulse​(SpacecraftState state,
                            boolean isForward,
                            AttitudeProvider attitudeOverride)
        Method returning the impulse to be applied.
        Parameters:
        state - state before the maneuver is applied if isForward is true, after otherwise
        isForward - flag on propagation direction
        attitudeOverride - maneuver attitude override, can be null
        Returns:
        impulse in satellite's frame
      • of

        static ImpulseProvider of​(Vector3D forwardImpulse)
        Get a provider returning a given vector for forward propagation and its opposite for backward.
        Parameters:
        forwardImpulse - forward impulse vector
        Returns:
        constant provider