Class Apm
java.lang.Object
org.orekit.files.ccsds.ndm.NdmConstituent<AdmHeader,Segment<AdmMetadata,ApmData>>
org.orekit.files.ccsds.ndm.adm.apm.Apm
This class stores all the information of the Attitude Parameter Message (APM) File parsed
by APMParser. It contains the header and the metadata and a the data lines.
- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApm(AdmHeader header, List<Segment<AdmMetadata, ApmData>> segments, IERSConventions conventions, DataContext dataContext) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAttitude(Frame frame, PVCoordinatesProvider pvProvider) Get the attitude.getData()Get the file data.Get the file metadata.Methods inherited from class org.orekit.files.ccsds.ndm.NdmConstituent
getConventions, getDataContext, getHeader, getSegments, setHeader, setSegments, validate
-
Field Details
-
ROOT
Root element for XML files.- See Also:
-
FORMAT_VERSION_KEY
Key for format version.- See Also:
-
-
Constructor Details
-
Apm
public Apm(AdmHeader header, List<Segment<AdmMetadata, ApmData>> segments, IERSConventions conventions, DataContext dataContext) Simple constructor.- Parameters:
header- file headersegments- file segmentsconventions- IERS conventionsdataContext- used for creating frames, time scales, etc.
-
-
Method Details
-
getMetadata
Get the file metadata.- Returns:
- file metadata
-
getData
Get the file data.- Returns:
- file data
-
getAttitude
Get the attitude.- Parameters:
frame- reference frame with respect to which attitude must be defined, (may be null if attitude is not orbit-relative and one wants attitude in the same frame as used in the attitude message)pvProvider- provider for spacecraft position and velocity (may be null if attitude is not orbit-relative)- Returns:
- attitude
-