Class CRD.AnglesMeasurement

java.lang.Object
org.orekit.files.ilrs.CRD.AnglesMeasurement
All Implemented Interfaces:
TimeStamped
Enclosing class:
CRD

public static class CRD.AnglesMeasurement extends Object implements TimeStamped
Pointing angles record.
  • Constructor Details

    • AnglesMeasurement

      public AnglesMeasurement(AbsoluteDate date, double azimuth, double elevation, int directionFlag, int originIndicator, boolean refractionCorrected, double azimuthRate, double elevationRate)
      Constructor.
      Parameters:
      date - data epoch
      azimuth - azimuth angle in radians
      elevation - elevation angle in radians
      directionFlag - direction flag
      originIndicator - angle origin indicator
      refractionCorrected - flag to indicate if the refraction is corrected
      azimuthRate - azimuth rate in radians per second (equal to Double.NaN if unknown)
      elevationRate - elevation rate in radians per second (equal to Double.NaN if unknown)
  • Method Details

    • getAzimuth

      public double getAzimuth()
      Get the azimuth angle.
      Returns:
      the azimuth angle in radians
    • getElevation

      public double getElevation()
      Get the elevation angle.
      Returns:
      the elevation angle in radians
    • getDirectionFlag

      public int getDirectionFlag()
      Get the direction flag (0 = transmit & receive ; 1 = transmit ; 2 = receive).
      Returns:
      the direction flag
    • getOriginIndicator

      public int getOriginIndicator()
      Get the angle origin indicator.

      0 = unknown; 1 = computed; 2 = commanded (from predictions); 3 = measured (from encoders)

      Returns:
      the angle origin indicator
    • isRefractionCorrected

      public boolean isRefractionCorrected()
      Get the flag indicating if the refraction is corrected.
      Returns:
      true if refraction is corrected
    • getAzimuthRate

      public double getAzimuthRate()
      Get the azimuth rate.

      Is equal to Double.NaN if the value is unknown.

      Returns:
      the azimuth rate in radians per second
    • getElevationRate

      public double getElevationRate()
      Get the elevation rate.

      Is equal to Double.NaN if the value is unknown.

      Returns:
      the elevation rate in radians per second
    • getDate

      public AbsoluteDate getDate()
      Get the date.
      Specified by:
      getDate in interface TimeStamped
      Returns:
      date attached to the object
    • toCrdString

      @DefaultDataContext public String toCrdString()
      Get a string representation of the instance in the CRD format.
      Returns:
      a string representation of the instance, in the CRD format.
      Since:
      12.0
    • toString

      @DefaultDataContext public String toString()
      Overrides:
      toString in class Object