Class AemMetadata
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.section.Metadata
org.orekit.files.ccsds.ndm.adm.AdmMetadata
org.orekit.files.ccsds.ndm.adm.aem.AemMetadata
- All Implemented Interfaces:
Section
This class gathers the meta-data present in the Attitude Data Message (ADM).
- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
Constructor Summary
ConstructorsConstructorDescriptionAemMetadata(int defaultInterpolationDegree, CcsdsFrameMapper frameMapper) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the format of the data lines in the message.Get the endpoints (i.e. frames A, B and their relationship).Get the rotation order of Euler angles.Get frame in which angular velocities are specified.intGet the interpolation degree.Get the interpolation method to be used.intGet the number of samples to use in interpolation.getStart()Get the start date of this ephemeris segment.Get start of total time span covered by attitude data.getStop()Get the end date of this ephemeris segment.Get end of total time span covered by attitude data.Get start of useable time span covered by attitude data.Get end of useable time span covered by ephemerides data.isFirst()Get the flag for the placement of the quaternion QC in the attitude data.booleanCheck if rates are specified in spacecraft body frame.booleanCheck if rates are specified inframe A.voidsetAngvelFrame(FrameFacade angvelFrame) Set frame in which angular velocities are specified.voidsetAttitudeType(AttitudeType type) Set the format of the data lines in the message.voidsetEulerRotSeq(RotationOrder eulerRotSeq) Set the rotation order for Euler angles.voidsetInterpolationDegree(int interpolationDegree) Set the interpolation degree.voidsetInterpolationMethod(String interpolationMethod) Set the interpolation method to be used.voidsetIsFirst(boolean isFirst) Set the flag for the placement of the quaternion QC in the attitude data.voidsetRateFrameIsA(boolean rateFrameIsA) Set the frame in which rates are specified.voidsetStartTime(AbsoluteDate startTime) Set start of total time span covered by attitude data.voidsetStopTime(AbsoluteDate stopTime) Set end of total time span covered by attitude data.voidsetUseableStartTime(AbsoluteDate useableStartTime) Set start of useable time span covered by attitude data.voidsetUseableStopTime(AbsoluteDate useableStopTime) Set end of useable time span covered by ephemerides data.voidvalidate(double version) Check is all mandatory entries have been initialized.Methods inherited from class org.orekit.files.ccsds.ndm.adm.AdmMetadata
getCenter, getHasCreatableBody, getLaunchNumber, getLaunchPiece, getLaunchYear, getObjectID, getObjectName, setCenter, setObjectID, setObjectNameMethods inherited from class org.orekit.files.ccsds.section.Metadata
getFrameMapper, getLaunchNumber, getLaunchPiece, getLaunchYear, getTimeSystem, setTimeSystemMethods inherited from class org.orekit.files.ccsds.section.CommentsContainer
acceptComments, addComment, checkAllowed, checkNotNaN, checkNotNegative, checkNotNull, getComments, refuseFurtherComments, setComments
-
Constructor Details
-
AemMetadata
Simple constructor.- Parameters:
defaultInterpolationDegree- default interpolation degreeframeMapper- 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 classAdmMetadata- Parameters:
version- format version
-
getEndpoints
Get the endpoints (i.e. frames A, B and their relationship).- Returns:
- endpoints
-
rateFrameIsA
public boolean rateFrameIsA()Check if rates are specified inframe A.- Returns:
- true if rates are specified in
frame A
-
setRateFrameIsA
public void setRateFrameIsA(boolean rateFrameIsA) Set the frame in which rates are specified.- Parameters:
rateFrameIsA- if true, rates are specified inframe A
-
setAngvelFrame
Set frame in which angular velocities are specified.- Parameters:
angvelFrame- frame in which angular velocities are specified- Since:
- 12.0
-
getFrameAngvelFrame
Get frame in which angular velocities are specified.- Returns:
- frame in which angular velocities are specified
- Since:
- 12.0
-
isSpacecraftBodyRate
public boolean isSpacecraftBodyRate()Check if rates are specified in spacecraft body frame.Mandatory entriesmust have been initialized properly to non-null values before this method is called, otherwiseNullPointerExceptionwill be thrown.- Returns:
- true if rates are specified in spacecraft body frame
-
getAttitudeType
Get the format of the data lines in the message.- Returns:
- the format of the data lines in the message
-
setAttitudeType
Set the format of the data lines in the message.- Parameters:
type- format to be set
-
isFirst
Get the flag for the placement of the quaternion QC in the attitude data.- Returns:
- true if QC is the first element in the attitude data, false if not initialized
-
setIsFirst
public void setIsFirst(boolean isFirst) Set the flag for the placement of the quaternion QC in the attitude data.- Parameters:
isFirst- true if QC is the first element in the attitude data
-
getEulerRotSeq
Get the rotation order of Euler angles.- Returns:
- rotation order
-
setEulerRotSeq
Set the rotation order for Euler angles.- Parameters:
eulerRotSeq- order to be set
-
getStartTime
Get start of total time span covered by attitude data.- Returns:
- the start time
-
setStartTime
Set start of total time span covered by attitude data.- Parameters:
startTime- the time to be set
-
getStopTime
Get end of total time span covered by attitude data.- Returns:
- the stop time
-
setStopTime
Set end of total time span covered by attitude data.- Parameters:
stopTime- the time to be set
-
getUseableStartTime
Get start of useable time span covered by attitude data.- Returns:
- the useable start time
-
setUseableStartTime
Set start of useable time span covered by attitude data.- Parameters:
useableStartTime- the time to be set
-
getUseableStopTime
Get end of useable time span covered by ephemerides data.- Returns:
- the useable stop time
-
setUseableStopTime
Set end of useable time span covered by ephemerides data.- Parameters:
useableStopTime- the time to be set
-
getStart
Get the start date of this ephemeris segment.- Returns:
- ephemeris segment start date.
-
getStop
Get the end date of this ephemeris segment.- Returns:
- ephemeris segment end date.
-
getInterpolationMethod
Get the interpolation method to be used.- Returns:
- the interpolation method
-
setInterpolationMethod
Set the interpolation method to be used.- Parameters:
interpolationMethod- the interpolation method to be set
-
getInterpolationDegree
public int getInterpolationDegree()Get the interpolation degree.- Returns:
- the interpolation degree
-
setInterpolationDegree
public void setInterpolationDegree(int interpolationDegree) Set the interpolation degree.- Parameters:
interpolationDegree- the interpolation degree to be set
-
getInterpolationSamples
public int getInterpolationSamples()Get the number of samples to use in interpolation.- Returns:
- the number of points to use for interpolation.
-