Class AttitudeManeuver
java.lang.Object
org.orekit.files.ccsds.section.CommentsContainer
org.orekit.files.ccsds.ndm.adm.acm.AttitudeManeuver
- All Implemented Interfaces:
Section
Maneuver entry.
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:
- 12.0
- Author:
- Luc Maisonobe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the actuator used.doubleGet start time of actual maneuver, relative to t₀.doubleGet duration.doubleGet end time of actual maneuver, relative to t₀.getID()Get maneuver identification number.Get purpose of maneuver.Get identification number of previous maneuver.Get target attitude (if purpose is attitude adjustment).Get target momentum (if purpose is momentum desaturation).Get reference frame forgetTargetMomentum().doubleGet target spin rate (if purpose is spin rate adjustment).voidsetActuatorUsed(String actuatorUsed) Set actuator used.voidsetBeginTime(double beginTime) Set start time of actual maneuver, relative to t₀.voidsetDuration(double duration) Set duration.voidsetEndTime(double endTime) Set end time of actual maneuver, relative to t₀.voidSet maneuver identification number.voidsetManPurpose(String manPurpose) Set purpose of maneuver.voidSet identification number of previous maneuver.voidsetTargetAttitude(Rotation targetAttitude) Set target attitude (if purpose is attitude adjustment).voidsetTargetMomentum(Vector3D targetMomentum) Set target momentum (if purpose is momentum desaturation).voidsetTargetMomFrame(FrameFacade targetMomFrame) Set reference frame forgetTargetMomentum().voidsetTargetSpinRate(double targetSpinRate) Set target spin rate (if purpose is spin rate adjustment).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
-
Constructor Details
-
AttitudeManeuver
public AttitudeManeuver()Build an uninitialized maneuver.
-
-
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
-
getID
Get maneuver identification number.- Returns:
- maneuver identification number
-
setID
Set maneuver identification number.- Parameters:
manId- maneuver identification number
-
getPrevID
Get identification number of previous maneuver.- Returns:
- identification number of previous maneuver
-
setPrevID
Set identification number of previous maneuver.- Parameters:
prevID- identification number of previous maneuver
-
getManPurpose
Get purpose of maneuver.- Returns:
- purpose of maneuver
-
setManPurpose
Set purpose of maneuver.- Parameters:
manPurpose- purpose of maneuver
-
getBeginTime
public double getBeginTime()Get start time of actual maneuver, relative to t₀.- Returns:
- start time of actual maneuver, relative to t₀
-
setBeginTime
public void setBeginTime(double beginTime) Set start time of actual maneuver, relative to t₀.- Parameters:
beginTime- start time of actual maneuver, relative to t₀
-
getEndTime
public double getEndTime()Get end time of actual maneuver, relative to t₀.- Returns:
- end time of actual maneuver, relative to t₀
-
setEndTime
public void setEndTime(double endTime) Set end time of actual maneuver, relative to t₀.- Parameters:
endTime- end time of actual maneuver, relative to t₀
-
getDuration
public double getDuration()Get duration.- Returns:
- duration
-
setDuration
public void setDuration(double duration) Set duration.- Parameters:
duration- duration
-
getActuatorUsed
Get the actuator used.- Returns:
- actuator used
-
setActuatorUsed
Set actuator used.- Parameters:
actuatorUsed- actuator used
-
getTargetMomentum
Get target momentum (if purpose is momentum desaturation).- Returns:
- target momentum
-
setTargetMomentum
Set target momentum (if purpose is momentum desaturation).- Parameters:
targetMomentum- target momentum
-
getTargetMomFrame
Get reference frame forgetTargetMomentum().- Returns:
- reference frame for
getTargetMomentum()
-
setTargetMomFrame
Set reference frame forgetTargetMomentum().- Parameters:
targetMomFrame- reference frame forgetTargetMomentum()
-
getTargetAttitude
Get target attitude (if purpose is attitude adjustment).- Returns:
- target attitude
-
setTargetAttitude
Set target attitude (if purpose is attitude adjustment).- Parameters:
targetAttitude- target attitude
-
getTargetSpinRate
public double getTargetSpinRate()Get target spin rate (if purpose is spin rate adjustment).- Returns:
- target spin rate
-
setTargetSpinRate
public void setTargetSpinRate(double targetSpinRate) Set target spin rate (if purpose is spin rate adjustment).- Parameters:
targetSpinRate- target spin rate
-