Class AttitudeManeuver
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.adm.acm.AttitudeManeuver
-
- All Implemented Interfaces:
Section
public class AttitudeManeuver extends CommentsContainer
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
Unitclass provides usefulfromSiandtoSImethods in case the callers already use CCSDS units instead of the API SI units. The general-purposeUnitclass (without an 's') and the CCSDS-specificUnitsclass (with an 's') also provide some predefined units. These predefined units and thefromSiandtoSIconversion methods are indeed what the parsers and writers use for the conversions.- Since:
- 12.0
- Author:
- Luc Maisonobe
-
-
Constructor Summary
Constructors Constructor Description AttitudeManeuver()Build an uninitialized maneuver.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetActuatorUsed()Get the actuator used.doublegetBeginTime()Get start time of actual maneuver, relative to t₀.doublegetDuration()Get duration.doublegetEndTime()Get end time of actual maneuver, relative to t₀.StringgetID()Get maneuver identification number.StringgetManPurpose()Get purpose of maneuver.StringgetPrevID()Get identification number of previous maneuver.RotationgetTargetAttitude()Get target attitude (if purpose is attitude adjustment).Vector3DgetTargetMomentum()Get target momentum (if purpose is momentum desaturation).FrameFacadegetTargetMomFrame()Get reference frame forgetTargetMomentum().doublegetTargetSpinRate()Get 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₀.voidsetID(String manId)Set maneuver identification number.voidsetManPurpose(String manPurpose)Set purpose of maneuver.voidsetPrevID(String prevID)Set 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
-
-
-
-
Method Detail
-
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
public String getID()
Get maneuver identification number.- Returns:
- maneuver identification number
-
setID
public void setID(String manId)
Set maneuver identification number.- Parameters:
manId- maneuver identification number
-
getPrevID
public String getPrevID()
Get identification number of previous maneuver.- Returns:
- identification number of previous maneuver
-
setPrevID
public void setPrevID(String prevID)
Set identification number of previous maneuver.- Parameters:
prevID- identification number of previous maneuver
-
getManPurpose
public String getManPurpose()
Get purpose of maneuver.- Returns:
- purpose of maneuver
-
setManPurpose
public void setManPurpose(String manPurpose)
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
public String getActuatorUsed()
Get the actuator used.- Returns:
- actuator used
-
setActuatorUsed
public void setActuatorUsed(String actuatorUsed)
Set actuator used.- Parameters:
actuatorUsed- actuator used
-
getTargetMomentum
public Vector3D getTargetMomentum()
Get target momentum (if purpose is momentum desaturation).- Returns:
- target momentum
-
setTargetMomentum
public void setTargetMomentum(Vector3D targetMomentum)
Set target momentum (if purpose is momentum desaturation).- Parameters:
targetMomentum- target momentum
-
getTargetMomFrame
public FrameFacade getTargetMomFrame()
Get reference frame forgetTargetMomentum().- Returns:
- reference frame for
getTargetMomentum()
-
setTargetMomFrame
public void setTargetMomFrame(FrameFacade targetMomFrame)
Set reference frame forgetTargetMomentum().- Parameters:
targetMomFrame- reference frame forgetTargetMomentum()
-
getTargetAttitude
public Rotation getTargetAttitude()
Get target attitude (if purpose is attitude adjustment).- Returns:
- target attitude
-
setTargetAttitude
public void setTargetAttitude(Rotation targetAttitude)
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
-
-