Class Acm
- java.lang.Object
-
- org.orekit.files.ccsds.ndm.NdmConstituent<AdmHeader,Segment<AcmMetadata,AcmData>>
-
- org.orekit.files.ccsds.ndm.adm.acm.Acm
-
- All Implemented Interfaces:
AttitudeEphemerisFile<TimeStampedAngularCoordinates,AttitudeStateHistory>
public class Acm extends NdmConstituent<AdmHeader,Segment<AcmMetadata,AcmData>> implements AttitudeEphemerisFile<TimeStampedAngularCoordinates,AttitudeStateHistory>
This class gathers the informations present in the Attitude Comprehensive Message (ACM).- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.orekit.files.general.AttitudeEphemerisFile
AttitudeEphemerisFile.AttitudeEphemerisSegment<C extends TimeStampedAngularCoordinates>, AttitudeEphemerisFile.SatelliteAttitudeEphemeris<C extends TimeStampedAngularCoordinates,S extends AttitudeEphemerisFile.AttitudeEphemerisSegment<C>>
-
-
Field Summary
Fields Modifier and Type Field Description static String
ATT_LINE
Attitude line element for XML messages.static String
COV_LINE
Covariance line element for XML messages.static String
FORMAT_VERSION_KEY
Key for format version.static String
ROOT
Root element for XML messages.static String
UNKNOWN_OBJECT
Default name for unknown object.
-
Constructor Summary
Constructors Constructor Description Acm(AdmHeader header, List<Segment<AcmMetadata,AcmData>> segments, IERSConventions conventions, DataContext dataContext)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AcmData
getData()
Get the data from the singlesegment
.AcmMetadata
getMetadata()
Get the metadata from the singlesegment
.Map<String,AcmSatelliteEphemeris>
getSatellites()
Get the loaded ephemeris for each satellite in the file.-
Methods inherited from class org.orekit.files.ccsds.ndm.NdmConstituent
getConventions, getDataContext, getHeader, getSegments, setHeader, setSegments, validate
-
-
-
-
Field Detail
-
ROOT
public static final String ROOT
Root element for XML messages.- See Also:
- Constant Field Values
-
FORMAT_VERSION_KEY
public static final String FORMAT_VERSION_KEY
Key for format version.- See Also:
- Constant Field Values
-
ATT_LINE
public static final String ATT_LINE
Attitude line element for XML messages.- See Also:
- Constant Field Values
-
COV_LINE
public static final String COV_LINE
Covariance line element for XML messages.- See Also:
- Constant Field Values
-
UNKNOWN_OBJECT
public static final String UNKNOWN_OBJECT
Default name for unknown object.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Acm
public Acm(AdmHeader header, List<Segment<AcmMetadata,AcmData>> segments, IERSConventions conventions, DataContext dataContext)
Simple constructor.- Parameters:
header
- file headersegments
- ile segmentsconventions
- IERS conventionsdataContext
- used for creating frames, time scales, etc.
-
-
Method Detail
-
getMetadata
public AcmMetadata getMetadata()
Get the metadata from the singlesegment
.- Returns:
- metadata from the single
segment
-
getData
public AcmData getData()
Get the data from the singlesegment
.- Returns:
- data from the single
segment
-
getSatellites
public Map<String,AcmSatelliteEphemeris> getSatellites()
Get the loaded ephemeris for each satellite in the file.- Specified by:
getSatellites
in interfaceAttitudeEphemerisFile<TimeStampedAngularCoordinates,AttitudeStateHistory>
- Returns:
- a map from the satellite's ID to the information about that satellite contained in the file.
-
-