Class OrbitManeuverHistoryMetadata
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.odm.ocm.OrbitManeuverHistoryMetadata
- All Implemented Interfaces:
Section
Metadata for maneuver 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 Unit class provides useful
fromSi and
toSI methods in case the callers
already use CCSDS units instead of the API SI units. The general-purpose
Unit class (without an 's') and the
CCSDS-specific Units class
(with an 's') also provide some predefined units. These predefined units and the
fromSi and
toSI conversion methods are indeed
what the parsers and writers use for the conversions.
- Since:
- 11.0
- Author:
- Luc Maisonobe
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionOrbitManeuverHistoryMetadata(AbsoluteDate epochT0, CcsdsFrameMapper frameMapper) Simple constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet spacecraft body frame in whichgetDcBodyTrigger()is specified.Get direction inbody framefor triggering duty cycle.Get the start time of initial duty cycle-based maneuver execution.Get the end time of final duty cycle-based maneuver execution.intGet the maximum number of "ON" duty cycles.intGet the minimum number of "ON" duty cycles.doubleGet phase angle of pulse start.doubleGet phase angle of pulse stop.Get reference direction for triggering duty cycle.Get duty cycle thrust reference time.doubleGet duty cycle pulse "ON" duration.doubleGet duty cycle elapsed time between start of a pulse and start of next pulse.Get type of duty cycle.Get the end time of duty cycle-based maneuver window.Get the start time of duty cycle-based maneuver window.Get the mapping between a CCSDS frame and aFrame.Get the origin of gravitational assist.Get basis of this maneuver history data.Get identification number of the orbit determination or simulation upon which this maneuver is based.Get maneuver elements of information.Get identifier of the device used for this maneuver.Get the frame in which this maneuver is defined.Get epoch of themaneuver reference frame.getManID()Get maneuver identification number.Get start time of next maneuver.Get identification number of next maneuver.Get prediction source on which this maneuver is based.Get completion time of previous maneuver.Get identification number of previous maneuver.Get the purposes of the maneuver.Get reference frame of the maneuver.Get maneuver elements of information units.voidsetDcBodyFrame(SpacecraftBodyFrame dcBodyFrame) Set spacecraft body frame in whichgetDcBodyTrigger()is specified.voidsetDcBodyTrigger(Vector3D dcBodyTrigger) Set direction inbody framefor triggering duty cycle.voidsetDcExecStart(AbsoluteDate dcExecStart) Set the start time of initial duty cycle-based maneuver execution.voidsetDcExecStop(AbsoluteDate dcExecStop) Set the end time of final duty cycle-based maneuver execution.voidsetDcMaxCycles(int dcMaxCycles) Set the maximum number of "ON" duty cycles.voidsetDcMinCycles(int dcMinCycles) Set the minimum number of "ON" duty cycles.voidsetDcPhaseStartAngle(double dcPhaseStartAngle) Set phase angle of pulse start.voidsetDcPhaseStopAngle(double dcPhaseStopAngle) Set phase angle of pulse stop.voidsetDcRefDir(Vector3D dcRefDir) Set reference direction for triggering duty cycle.voidsetDcRefTime(AbsoluteDate dcRefTime) Set duty cycle thrust reference time.voidsetDcTimePulseDuration(double dcTimePulseDuration) Set duty cycle pulse "ON" duration.voidsetDcTimePulsePeriod(double dcTimePulsePeriod) Set duty cycle elapsed time between start of a pulse and start of next pulse.voidsetDcType(DutyCycleType dcType) Set type of duty cycle.voidsetDcWindowClose(AbsoluteDate dcWindowClose) Set the end time of duty cycle-based maneuver window.voidsetDcWindowOpen(AbsoluteDate dcWindowOpen) Set the start time of duty cycle-based maneuver window.voidsetGravitationalAssist(BodyFacade gravitationalAssist) Set the origin of gravitational assist.voidsetManBasis(ManBasis manBasis) Set basis of this maneuver history data.voidsetManBasisID(String manBasisID) Set identification number of the orbit determination or simulation upon which this maneuver is based.voidsetManComposition(List<ManeuverFieldType> manComposition) Set maneuver element of information.voidsetManDeviceID(String manDeviceID) Set identifier of the device used for this maneuver.voidsetManFrameEpoch(AbsoluteDate manFrameEpoch) Set epoch of themaneuver reference frame.voidSet maneuver identification number.voidsetManNextEpoch(AbsoluteDate manNextEpoch) Set start time of next maneuver.voidsetManNextID(String manNextID) Set identification number of next maneuver.voidsetManPredSource(String manPredSource) Set prediction source on which this maneuver is based.voidsetManPrevEpoch(AbsoluteDate manPrevEpoch) Set completion time of previous maneuver.voidsetManPrevID(String manPrevID) Set identification number of previous maneuver.voidsetManPurpose(List<String> manPurpose) Set the purposes of the maneuver.voidsetManReferenceFrame(FrameFacade manReferenceFrame) Set reference frame of the maneuver.voidsetManUnits(List<Unit> manUnits) Set maneuver element of information units.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
-
Field Details
-
DEFAULT_DC_TYPE
Default duty cycle type.- Since:
- 12.0
-
-
Constructor Details
-
OrbitManeuverHistoryMetadata
Simple constructor.- Parameters:
epochT0- T0 epoch from file metadataframeMapper- 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 classCommentsContainer- Parameters:
version- format version
-
getManID
Get maneuver identification number.- Returns:
- maneuver identification number
-
setManID
Set maneuver identification number.- Parameters:
manID- maneuver identification number
-
getManPrevID
Get identification number of previous maneuver.- Returns:
- identification number of previous maneuver
-
setManPrevID
Set identification number of previous maneuver.- Parameters:
manPrevID- identification number of previous maneuver
-
getManNextID
Get identification number of next maneuver.- Returns:
- identification number of next maneuver
-
setManNextID
Set identification number of next maneuver.- Parameters:
manNextID- identification number of next maneuver
-
getManBasis
Get basis of this maneuver history data.- Returns:
- basis of this maneuver history data
-
setManBasis
Set basis of this maneuver history data.- Parameters:
manBasis- basis of this maneuver history data
-
getManBasisID
Get identification number of the orbit determination or simulation upon which this maneuver is based.- Returns:
- identification number of the orbit determination or simulation upon which this maneuver is based
-
setManBasisID
Set identification number of the orbit determination or simulation upon which this maneuver is based.- Parameters:
manBasisID- identification number of the orbit determination or simulation upon which this maneuver is based
-
getManDeviceID
Get identifier of the device used for this maneuver.- Returns:
- identifier of the device used for this maneuver
-
setManDeviceID
Set identifier of the device used for this maneuver.- Parameters:
manDeviceID- identifier of the device used for this maneuver
-
getManPrevEpoch
Get completion time of previous maneuver.- Returns:
- completion time of previous maneuver
-
setManPrevEpoch
Set completion time of previous maneuver.- Parameters:
manPrevEpoch- completion time of previous maneuver
-
getManNextEpoch
Get start time of next maneuver.- Returns:
- start time of next maneuver
-
setManNextEpoch
Set start time of next maneuver.- Parameters:
manNextEpoch- start time of next maneuver
-
getManPurpose
Get the purposes of the maneuver.- Returns:
- purposes of the maneuver
-
setManPurpose
Set the purposes of the maneuver.- Parameters:
manPurpose- purposes of the maneuver
-
getManPredSource
Get prediction source on which this maneuver is based.- Returns:
- prediction source on which this maneuver is based
-
setManPredSource
Set prediction source on which this maneuver is based.- Parameters:
manPredSource- prediction source on which this maneuver is based
-
getManReferenceFrame
Get reference frame of the maneuver.- Returns:
- reference frame of the maneuver
-
setManReferenceFrame
Set reference frame of the maneuver.- Parameters:
manReferenceFrame- the reference frame to be set
-
getManFrameEpoch
Get epoch of themaneuver reference frame.- Returns:
- epoch of the
maneuver reference frame
-
setManFrameEpoch
Set epoch of themaneuver reference frame.- Parameters:
manFrameEpoch- epoch of themaneuver reference frame
-
getFrameMapper
Get the mapping between a CCSDS frame and aFrame.- Returns:
- the frame mapper.
- Since:
- 13.1.5
-
getManFrame
Get the frame in which this maneuver is defined. Note that only the orientation of the returned frame is significant, the position of the returned frame is irrelevant and should be ignored.- Returns:
- Orekit frame for this covariance history.
- Since:
- 13.1.5
- See Also:
-
getGravitationalAssist
Get the origin of gravitational assist.- Returns:
- the origin of gravitational assist.
-
setGravitationalAssist
Set the origin of gravitational assist.- Parameters:
gravitationalAssist- origin of gravitational assist to be set
-
getDcType
Get type of duty cycle.- Returns:
- type of duty cycle
-
setDcType
Set type of duty cycle.- Parameters:
dcType- type of duty cycle
-
getDcWindowOpen
Get the start time of duty cycle-based maneuver window.- Returns:
- start time of duty cycle-based maneuver window
-
setDcWindowOpen
Set the start time of duty cycle-based maneuver window.- Parameters:
dcWindowOpen- start time of duty cycle-based maneuver window
-
getDcWindowClose
Get the end time of duty cycle-based maneuver window.- Returns:
- end time of duty cycle-based maneuver window
-
setDcWindowClose
Set the end time of duty cycle-based maneuver window.- Parameters:
dcWindowClose- end time of duty cycle-based maneuver window
-
getDcMinCycles
public int getDcMinCycles()Get the minimum number of "ON" duty cycles.- Returns:
- minimum number of "ON" duty cycles (-1 if not set)
-
setDcMinCycles
public void setDcMinCycles(int dcMinCycles) Set the minimum number of "ON" duty cycles.- Parameters:
dcMinCycles- minimum number of "ON" duty cycles
-
getDcMaxCycles
public int getDcMaxCycles()Get the maximum number of "ON" duty cycles.- Returns:
- maximum number of "ON" duty cycles (-1 if not set)
-
setDcMaxCycles
public void setDcMaxCycles(int dcMaxCycles) Set the maximum number of "ON" duty cycles.- Parameters:
dcMaxCycles- maximum number of "ON" duty cycles
-
getDcExecStart
Get the start time of initial duty cycle-based maneuver execution.- Returns:
- start time of initial duty cycle-based maneuver execution
-
setDcExecStart
Set the start time of initial duty cycle-based maneuver execution.- Parameters:
dcExecStart- start time of initial duty cycle-based maneuver execution
-
getDcExecStop
Get the end time of final duty cycle-based maneuver execution.- Returns:
- end time of final duty cycle-based maneuver execution
-
setDcExecStop
Set the end time of final duty cycle-based maneuver execution.- Parameters:
dcExecStop- end time of final duty cycle-based maneuver execution
-
getDcRefTime
Get duty cycle thrust reference time.- Returns:
- duty cycle thrust reference time
-
setDcRefTime
Set duty cycle thrust reference time.- Parameters:
dcRefTime- duty cycle thrust reference time
-
getDcTimePulseDuration
public double getDcTimePulseDuration()Get duty cycle pulse "ON" duration.- Returns:
- duty cycle pulse "ON" duration
-
setDcTimePulseDuration
public void setDcTimePulseDuration(double dcTimePulseDuration) Set duty cycle pulse "ON" duration.- Parameters:
dcTimePulseDuration- duty cycle pulse "ON" duration
-
getDcTimePulsePeriod
public double getDcTimePulsePeriod()Get duty cycle elapsed time between start of a pulse and start of next pulse.- Returns:
- duty cycle elapsed time between start of a pulse and start of next pulse
-
setDcTimePulsePeriod
public void setDcTimePulsePeriod(double dcTimePulsePeriod) Set duty cycle elapsed time between start of a pulse and start of next pulse.- Parameters:
dcTimePulsePeriod- duty cycle elapsed time between start of a pulse and start of next pulse
-
getDcRefDir
Get reference direction for triggering duty cycle.- Returns:
- reference direction for triggering duty cycle
-
setDcRefDir
Set reference direction for triggering duty cycle.- Parameters:
dcRefDir- reference direction for triggering duty cycle
-
getDcBodyFrame
Get spacecraft body frame in whichgetDcBodyTrigger()is specified.- Returns:
- spacecraft body frame in which
getDcBodyTrigger()is specified
-
setDcBodyFrame
Set spacecraft body frame in whichgetDcBodyTrigger()is specified.- Parameters:
dcBodyFrame- spacecraft body frame in whichgetDcBodyTrigger()is specified
-
getDcBodyTrigger
Get direction inbody framefor triggering duty cycle.- Returns:
- direction in
body framefor triggering duty cycle
-
setDcBodyTrigger
Set direction inbody framefor triggering duty cycle.- Parameters:
dcBodyTrigger- direction inbody framefor triggering duty cycle
-
getDcPhaseStartAngle
public double getDcPhaseStartAngle()Get phase angle of pulse start.- Returns:
- phase angle of pulse start
-
setDcPhaseStartAngle
public void setDcPhaseStartAngle(double dcPhaseStartAngle) Set phase angle of pulse start.- Parameters:
dcPhaseStartAngle- phase angle of pulse start
-
getDcPhaseStopAngle
public double getDcPhaseStopAngle()Get phase angle of pulse stop.- Returns:
- phase angle of pulse stop
-
setDcPhaseStopAngle
public void setDcPhaseStopAngle(double dcPhaseStopAngle) Set phase angle of pulse stop.- Parameters:
dcPhaseStopAngle- phase angle of pulse stop
-
getManComposition
Get maneuver elements of information.- Returns:
- maneuver element of information
-
setManComposition
Set maneuver element of information.- Parameters:
manComposition- maneuver element of information
-
getManUnits
Get maneuver elements of information units.- Returns:
- maneuver element of information units
-
setManUnits
Set maneuver element of information units.- Parameters:
manUnits- maneuver element of information units
-