Class TransitionScanningLaw


public class TransitionScanningLaw extends AnalyticalAttitudeDataServer
  • Field Details

    • ramp

      protected Duration ramp
    • acc

      protected double acc
    • om0

      protected double om0
    • om1

      protected double om1
    • om2

      protected double om2
    • om3

      protected double om3
    • om4

      protected double om4
    • eps

      protected double eps
      Relative tolerance for exceeding the ramp
  • Constructor Details

    • TransitionScanningLaw

      public TransitionScanningLaw(Duration ramp)
      The constructor is the only way to set the duration of the ramp
      Parameters:
      ramp -
  • Method Details

    • getMode

      public Epsl.Mode getMode()
      Return the Epsl.Mode (preceding or following)
      Returns:
      The mode
    • setMode

      public TransitionScanningLaw setMode(Epsl.Mode mode)
      Preferred method to set the Epsl.Mode (it can also be set using setNuRef)
      Parameters:
      mode - EPSL preceding or following
      Returns:
      This object with the right mode set
    • getRampDuration

      public Duration getRampDuration()
      Return the duration of the ramp
    • initialize

      public void initialize()
      Initialization mainly calculates the acceleration required for the specified ramp
    • getAttitudeNative

      public IAttitude getAttitudeNative(long time)
      Description copied from class: BaseAttitudeDataServer
      Evaluate the attitude in the native time system of the server
      Specified by:
      getAttitudeNative in class BaseAttitudeDataServer<IAttitude>
      Parameters:
      time - - the time elapsed since the epoch of J2010 in ns (TCB)
      Returns:
      attitude for the given time
      See Also: