Class AttitudeStateHistoryMetadata
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.adm.acm.AttitudeStateHistoryMetadata
-
- All Implemented Interfaces:
Section
public class AttitudeStateHistoryMetadata extends CommentsContainer
Metadata for attitude state history.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
Unitclass provides usefulfromSiandtoSImethods in case the callers already use CCSDS units instead of the API SI units. The general-purposeUnitclass (without an 's') and the CCSDS-specificUnitsclass (with an 's') also provide some predefined units. These predefined units and thefromSiandtoSIconversion methods are indeed what the parsers and writers use for the conversions.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AttitudeStateHistoryMetadata()Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAttBasis()Get basis of this attitude state time history data.StringgetAttBasisID()Get identification number of the orbit determination or simulation upon which this attitude is based.StringgetAttID()Get attitude identification number.AttitudeElementsTypegetAttitudeType()Get attitude element set type.StringgetAttPrevID()Get identification number of previous attitude.AttitudeEndpointsgetEndpoints()Get the endpoints (i.e. frames A, B and their relationship).RotationOrdergetEulerRotSeq()Get the rotation order for Euler angles.intgetNbStates()Get the number of data states included (attitude components plus rates components).RateElementsTypegetRateType()Get attitude rate element set type.voidsetAttBasis(String attBasis)Set basis of this attitude state time history data.voidsetAttBasisID(String attBasisID)Set identification number of the orbit determination or simulation upon which this attitude is based.voidsetAttID(String attID)Set attitude identification number.voidsetAttitudeType(AttitudeElementsType attitudeType)Set attitude element set type.voidsetAttPrevID(String attPrevID)Set identification number of previous attitude.voidsetEulerRotSeq(RotationOrder eulerRotSeq)Set the rotation order for Euler angles.voidsetNbStates(int nbStates)Set the number of data states included (attitude components plus rates components).voidsetRateType(RateElementsType rateType)Set attitude rate element set type.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
-
-
-
-
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:
validatein interfaceSection- Overrides:
validatein classCommentsContainer- Parameters:
version- format version
-
getEndpoints
public AttitudeEndpoints getEndpoints()
Get the endpoints (i.e. frames A, B and their relationship).- Returns:
- endpoints
-
getAttID
public String getAttID()
Get attitude identification number.- Returns:
- attitude identification number
-
setAttID
public void setAttID(String attID)
Set attitude identification number.- Parameters:
attID- attitude identification number
-
getAttPrevID
public String getAttPrevID()
Get identification number of previous attitude.- Returns:
- identification number of previous attitude
-
setAttPrevID
public void setAttPrevID(String attPrevID)
Set identification number of previous attitude.- Parameters:
attPrevID- identification number of previous attitude
-
getAttBasis
public String getAttBasis()
Get basis of this attitude state time history data.- Returns:
- basis of this attitude state time history data
-
setAttBasis
public void setAttBasis(String attBasis)
Set basis of this attitude state time history data.- Parameters:
attBasis- basis of this attitude state time history data
-
getAttBasisID
public String getAttBasisID()
Get identification number of the orbit determination or simulation upon which this attitude is based.- Returns:
- identification number of the orbit determination or simulation upon which this attitude is based
-
setAttBasisID
public void setAttBasisID(String attBasisID)
Set identification number of the orbit determination or simulation upon which this attitude is based.- Parameters:
attBasisID- identification number of the orbit determination or simulation upon which this attitude is based
-
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()
Get the number of data states included (attitude components plus rates components).- Returns:
- number of data states included (attitude components plus rates components)
-
setNbStates
public void setNbStates(int nbStates)
Set the number of data states included (attitude components plus rates components).- Parameters:
nbStates- number of data states included (attitude components plus rates components)
-
getAttitudeType
public AttitudeElementsType getAttitudeType()
Get attitude element set type.- Returns:
- attitude element set type
-
setAttitudeType
public void setAttitudeType(AttitudeElementsType attitudeType)
Set attitude element set type.- Parameters:
attitudeType- attitude element set type
-
getRateType
public RateElementsType getRateType()
Get attitude rate element set type.- Returns:
- attitude rate element set type
-
setRateType
public void setRateType(RateElementsType rateType)
Set attitude rate element set type.- Parameters:
rateType- attitude rate element set type
-
-