Class AttitudeDetermination
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.adm.acm.AttitudeDetermination
- All Implemented Interfaces:
Section
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSensor(AttitudeDeterminationSensor sensor) Add a sensor used.Get attitude states.Get type of attitude error state.Get the endpoints (i.e. frames A, B and their relationship).Get the rotation order for Euler angles.getId()Get identification number.Get attitude determination method.intGet identification of previous orbit determination.doubleGet process noise standard deviation ifrateStatesisRateElementsType.ANGVEL.Get attitude rate states.Get sensors used.doubleGet rate random walk ifrateStatesisRateElementsType.GYRO_BIAS.doubleGet angle random walk ifrateStatesisRateElementsType.GYRO_BIAS.Get source of attitude estimate.voidsetAttitudeStates(AttitudeElementsType attitudeStates) Set attitude states.voidsetCovarianceType(AttitudeCovarianceType covarianceType) Set type of attitude error state.voidsetEulerRotSeq(RotationOrder eulerRotSeq) Set the rotation order for Euler angles.voidSet identification number.voidsetMethod(AdMethodType method) Set attitude determination method.voidsetNbStates(int nbStates) voidSet identification of previous orbit determination.voidsetRateProcessNoiseStdDev(double rateProcessNoiseStdDev) Set process noise standard deviation ifrateStatesisRateElementsType.ANGVEL.voidsetRateStates(RateElementsType rateStates) Set attitude rate states.voidsetSigmaU(double sigmaU) Set rate random walk ifrateStatesisRateElementsType.GYRO_BIAS.voidsetSigmaV(double sigmaV) Set angle random walk ifrateStatesisRateElementsType.GYRO_BIAS.voidSet source of attitude estimate.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
AttitudeDetermination
Simple constructor.- Parameters:
frameMapper- for creating aFrame.- 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:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- Parameters:
version- format version
-
getEndpoints
Get the endpoints (i.e. frames A, B and their relationship).- Returns:
- endpoints
-
getId
Get identification number.- Returns:
- identification number
-
setId
Set identification number.- Parameters:
id- identification number
-
getPrevId
Get identification of previous orbit determination.- Returns:
- identification of previous orbit determination
-
setPrevId
Set identification of previous orbit determination.- Parameters:
prevId- identification of previous orbit determination
-
getMethod
Get attitude determination method.- Returns:
- attitude determination method
-
setMethod
Set attitude determination method.- Parameters:
method- attitude determination method
-
getSource
Get source of attitude estimate.- Returns:
- source of attitude estimate
-
setSource
Set source of attitude estimate.- Parameters:
source- source of attitude estimate
-
getEulerRotSeq
Get the rotation order for Euler angles.- Returns:
- rotation order for Euler angles
-
setEulerRotSeq
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
Get attitude states.- Returns:
- attitude states
-
setAttitudeStates
Set attitude states.- Parameters:
attitudeStates- attitude states
-
getCovarianceType
Get type of attitude error state.- Returns:
- type of attitude error state
-
setCovarianceType
Set type of attitude error state.- Parameters:
covarianceType- type of attitude error state
-
getRateStates
Get attitude rate states.- Returns:
- attitude rate states
-
setRateStates
Set attitude rate states.- Parameters:
rateStates- attitude rate states
-
getSigmaU
public double getSigmaU()Get rate random walk ifrateStatesisRateElementsType.GYRO_BIAS.- Returns:
- rate random walk if
rateStatesisRateElementsType.GYRO_BIAS
-
setSigmaU
public void setSigmaU(double sigmaU) Set rate random walk ifrateStatesisRateElementsType.GYRO_BIAS.- Parameters:
sigmaU- rate random walk ifrateStatesisRateElementsType.GYRO_BIAS
-
getSigmaV
public double getSigmaV()Get angle random walk ifrateStatesisRateElementsType.GYRO_BIAS.- Returns:
- angle random walk if
rateStatesisRateElementsType.GYRO_BIAS
-
setSigmaV
public void setSigmaV(double sigmaV) Set angle random walk ifrateStatesisRateElementsType.GYRO_BIAS.- Parameters:
sigmaV- angle random walk ifrateStatesisRateElementsType.GYRO_BIAS
-
getRateProcessNoiseStdDev
public double getRateProcessNoiseStdDev()Get process noise standard deviation ifrateStatesisRateElementsType.ANGVEL.- Returns:
- process noise standard deviation if
rateStatesisRateElementsType.ANGVEL
-
setRateProcessNoiseStdDev
public void setRateProcessNoiseStdDev(double rateProcessNoiseStdDev) Set process noise standard deviation ifrateStatesisRateElementsType.ANGVEL.- Parameters:
rateProcessNoiseStdDev- process noise standard deviation ifrateStatesisRateElementsType.ANGVEL
-
getSensorsUsed
Get sensors used.- Returns:
- sensors used
-
addSensor
Add a sensor used.- Parameters:
sensor- sensor to add
-