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.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AttitudeDetermination()
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addSensor(AttitudeDeterminationSensor sensor)
Add a sensor used.AttitudeElementsType
getAttitudeStates()
Get attitude states.AttitudeCovarianceType
getCovarianceType()
Get type of attitude error state.AttitudeEndpoints
getEndpoints()
Get the endpoints (i.e.RotationOrder
getEulerRotSeq()
Get the rotation order for Euler angles.String
getId()
Get identification number.AdMethodType
getMethod()
Get attitude determination method.int
getNbStates()
String
getPrevId()
Get identification of previous orbit determination.double
getRateProcessNoiseStdDev()
Get process noise standard deviation ifrateStates
isRateElementsType.ANGVEL
.RateElementsType
getRateStates()
Get attitude rate states.List<AttitudeDeterminationSensor>
getSensorsUsed()
Get sensors used.double
getSigmaU()
Get rate random walk ifrateStates
isRateElementsType.GYRO_BIAS
.double
getSigmaV()
Get angle random walk ifrateStates
isRateElementsType.GYRO_BIAS
.String
getSource()
Get source of attitude estimate.void
setAttitudeStates(AttitudeElementsType attitudeStates)
Set attitude states.void
setCovarianceType(AttitudeCovarianceType covarianceType)
Set type of attitude error state.void
setEulerRotSeq(RotationOrder eulerRotSeq)
Set the rotation order for Euler angles.void
setId(String id)
Set identification number.void
setMethod(AdMethodType method)
Set attitude determination method.void
setNbStates(int nbStates)
void
setPrevId(String prevId)
Set identification of previous orbit determination.void
setRateProcessNoiseStdDev(double rateProcessNoiseStdDev)
Set process noise standard deviation ifrateStates
isRateElementsType.ANGVEL
.void
setRateStates(RateElementsType rateStates)
Set attitude rate states.void
setSigmaU(double sigmaU)
Set rate random walk ifrateStates
isRateElementsType.GYRO_BIAS
.void
setSigmaV(double sigmaV)
Set angle random walk ifrateStates
isRateElementsType.GYRO_BIAS
.void
setSource(String source)
Set source of attitude estimate.void
validate(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
-
-
-
-
Method Detail
-
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 interfaceSection
- Overrides:
validate
in classCommentsContainer
- 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 ifrateStates
isRateElementsType.GYRO_BIAS
.- Returns:
- rate random walk if
rateStates
isRateElementsType.GYRO_BIAS
-
setSigmaU
public void setSigmaU(double sigmaU)
Set rate random walk ifrateStates
isRateElementsType.GYRO_BIAS
.- Parameters:
sigmaU
- rate random walk ifrateStates
isRateElementsType.GYRO_BIAS
-
getSigmaV
public double getSigmaV()
Get angle random walk ifrateStates
isRateElementsType.GYRO_BIAS
.- Returns:
- angle random walk if
rateStates
isRateElementsType.GYRO_BIAS
-
setSigmaV
public void setSigmaV(double sigmaV)
Set angle random walk ifrateStates
isRateElementsType.GYRO_BIAS
.- Parameters:
sigmaV
- angle random walk ifrateStates
isRateElementsType.GYRO_BIAS
-
getRateProcessNoiseStdDev
public double getRateProcessNoiseStdDev()
Get process noise standard deviation ifrateStates
isRateElementsType.ANGVEL
.- Returns:
- process noise standard deviation if
rateStates
isRateElementsType.ANGVEL
-
setRateProcessNoiseStdDev
public void setRateProcessNoiseStdDev(double rateProcessNoiseStdDev)
Set process noise standard deviation ifrateStates
isRateElementsType.ANGVEL
.- Parameters:
rateProcessNoiseStdDev
- process noise standard deviation ifrateStates
isRateElementsType.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
-
-