Interface FieldManeuverTriggersResetter<T extends CalculusFieldElement<T>>

  • Type Parameters:
    T - type of the field elements

    public interface FieldManeuverTriggersResetter<T extends CalculusFieldElement<T>>
    Resetter for maneuver triggers.
    Since:
    11.1
    Author:
    Luc Maisonobe
    See Also:
    AbstractManeuverTriggers
    • Method Detail

      • init

        default void init​(FieldSpacecraftState<T> initialState,
                          FieldAbsoluteDate<T> target)
        Initialization method called at propagation start.

        The default implementation does nothing.

        Parameters:
        initialState - initial spacecraft state (at the start of propagation).
        target - date of propagation. Not equal to initialState.getDate().
      • maneuverTriggered

        void maneuverTriggered​(FieldSpacecraftState<T> state,
                               boolean start)
        Observe a maneuver trigger.

        The start parameter corresponds to physical flow of time from past to future, not to propagation direction which can be backward. This means that during forward propagations, the first call will have start set to true and the second call will have start set to false, whereas in backward propagation, the first call will have start set to false and the second call will have start set to true.

        Parameters:
        state - spacecraft state at trigger date (before applying the maneuver)
        start - if true, the trigger is the start of the maneuver
      • resetState

        FieldSpacecraftState<T> resetState​(FieldSpacecraftState<T> state)
        Reset state as a maneuver triggers.
        Parameters:
        state - spacecraft state at trigger date
        Returns:
        reset state taking into account maneuver start/stop