Class AttitudeDetermination

java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.adm.acm.AttitudeDetermination
All Implemented Interfaces:
Section

public class AttitudeDetermination extends CommentsContainer
Attitude determination data.

Beware that the Orekit getters and setters all rely on SI units. The parsers and writers take care of converting these SI units into CCSDS mandatory units. The Unit class provides useful fromSi and toSI methods in case the callers already use CCSDS units instead of the API SI units. The general-purpose Unit class (without an 's') and the CCSDS-specific Units class (with an 's') also provide some predefined units. These predefined units and the fromSi and toSI conversion methods are indeed what the parsers and writers use for the conversions.

Since:
12.0
Author:
Luc Maisonobe
  • Constructor Details

    • AttitudeDetermination

      public AttitudeDetermination(CcsdsFrameMapper frameMapper)
      Simple constructor.
      Parameters:
      frameMapper - for creating a Frame.
      Since:
      13.1.5
  • Method Details

    • validate

      public void validate(double version)
      Check is all mandatory entries have been initialized.

      This method should throw an exception if some mandatory entries are missing or not compatible with version number.

      Specified by:
      validate in interface Section
      Overrides:
      validate in class CommentsContainer
      Parameters:
      version - format version
    • getEndpoints

      public AttitudeEndpoints getEndpoints()
      Get the endpoints (i.e. frames A, B and their relationship).
      Returns:
      endpoints
    • getId

      public String getId()
      Get identification number.
      Returns:
      identification number
    • setId

      public void setId(String id)
      Set identification number.
      Parameters:
      id - identification number
    • getPrevId

      public String getPrevId()
      Get identification of previous orbit determination.
      Returns:
      identification of previous orbit determination
    • setPrevId

      public void setPrevId(String prevId)
      Set identification of previous orbit determination.
      Parameters:
      prevId - identification of previous orbit determination
    • getMethod

      public AdMethodType getMethod()
      Get attitude determination method.
      Returns:
      attitude determination method
    • setMethod

      public void setMethod(AdMethodType method)
      Set attitude determination method.
      Parameters:
      method - attitude determination method
    • getSource

      public String getSource()
      Get source of attitude estimate.
      Returns:
      source of attitude estimate
    • setSource

      public void setSource(String source)
      Set source of attitude estimate.
      Parameters:
      source - source of attitude estimate
    • getEulerRotSeq

      public RotationOrder getEulerRotSeq()
      Get the rotation order for Euler angles.
      Returns:
      rotation order for Euler angles
    • setEulerRotSeq

      public void setEulerRotSeq(RotationOrder eulerRotSeq)
      Set the rotation order for Euler angles.
      Parameters:
      eulerRotSeq - rotation order for Euler angles
    • getNbStates

      public int getNbStates()
      Returns:
      number of states
    • setNbStates

      public void setNbStates(int nbStates)
      Parameters:
      nbStates - number of states
    • getAttitudeStates

      public AttitudeElementsType getAttitudeStates()
      Get attitude states.
      Returns:
      attitude states
    • setAttitudeStates

      public void setAttitudeStates(AttitudeElementsType attitudeStates)
      Set attitude states.
      Parameters:
      attitudeStates - attitude states
    • getCovarianceType

      public AttitudeCovarianceType getCovarianceType()
      Get type of attitude error state.
      Returns:
      type of attitude error state
    • setCovarianceType

      public void setCovarianceType(AttitudeCovarianceType covarianceType)
      Set type of attitude error state.
      Parameters:
      covarianceType - type of attitude error state
    • getRateStates

      public RateElementsType getRateStates()
      Get attitude rate states.
      Returns:
      attitude rate states
    • setRateStates

      public void setRateStates(RateElementsType rateStates)
      Set attitude rate states.
      Parameters:
      rateStates - attitude rate states
    • getSigmaU

      public double getSigmaU()
      Get rate random walk if rateStates is RateElementsType.GYRO_BIAS.
      Returns:
      rate random walk if rateStates is RateElementsType.GYRO_BIAS
    • setSigmaU

      public void setSigmaU(double sigmaU)
      Set rate random walk if rateStates is RateElementsType.GYRO_BIAS.
      Parameters:
      sigmaU - rate random walk if rateStates is RateElementsType.GYRO_BIAS
    • getSigmaV

      public double getSigmaV()
      Get angle random walk if rateStates is RateElementsType.GYRO_BIAS.
      Returns:
      angle random walk if rateStates is RateElementsType.GYRO_BIAS
    • setSigmaV

      public void setSigmaV(double sigmaV)
      Set angle random walk if rateStates is RateElementsType.GYRO_BIAS.
      Parameters:
      sigmaV - angle random walk if rateStates is RateElementsType.GYRO_BIAS
    • getRateProcessNoiseStdDev

      public double getRateProcessNoiseStdDev()
      Get process noise standard deviation if rateStates is RateElementsType.ANGVEL.
      Returns:
      process noise standard deviation if rateStates is RateElementsType.ANGVEL
    • setRateProcessNoiseStdDev

      public void setRateProcessNoiseStdDev(double rateProcessNoiseStdDev)
      Set process noise standard deviation if rateStates is RateElementsType.ANGVEL.
      Parameters:
      rateProcessNoiseStdDev - process noise standard deviation if rateStates is RateElementsType.ANGVEL
    • getSensorsUsed

      public List<AttitudeDeterminationSensor> getSensorsUsed()
      Get sensors used.
      Returns:
      sensors used
    • addSensor

      public void addSensor(AttitudeDeterminationSensor sensor)
      Add a sensor used.
      Parameters:
      sensor - sensor to add