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.- 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 String
getActuatorUsed()
Get the actuator used.double
getBeginTime()
Get start time of actual maneuver, relative to t₀.double
getDuration()
Get duration.double
getEndTime()
Get end time of actual maneuver, relative to t₀.String
getID()
Get maneuver identification number.String
getManPurpose()
Get purpose of maneuver.String
getPrevID()
Get identification number of previous maneuver.Rotation
getTargetAttitude()
Get target attitude (if purpose is attitude adjustment).Vector3D
getTargetMomentum()
Get target momentum (if purpose is momentum desaturation).FrameFacade
getTargetMomFrame()
Get reference frame forgetTargetMomentum()
.double
getTargetSpinRate()
Get target spin rate (if purpose is spin rate adjustment).void
setActuatorUsed(String actuatorUsed)
Set actuator used.void
setBeginTime(double beginTime)
Set start time of actual maneuver, relative to t₀.void
setDuration(double duration)
Set duration.void
setEndTime(double endTime)
Set end time of actual maneuver, relative to t₀.void
setID(String manId)
Set maneuver identification number.void
setManPurpose(String manPurpose)
Set purpose of maneuver.void
setPrevID(String prevID)
Set identification number of previous maneuver.void
setTargetAttitude(Rotation targetAttitude)
Set target attitude (if purpose is attitude adjustment).void
setTargetMomentum(Vector3D targetMomentum)
Set target momentum (if purpose is momentum desaturation).void
setTargetMomFrame(FrameFacade targetMomFrame)
Set reference frame forgetTargetMomentum()
.void
setTargetSpinRate(double targetSpinRate)
Set target spin rate (if purpose is spin rate adjustment).void
validate(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
-
-
-
-
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:
validate
in interfaceSection
- Overrides:
validate
in 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
-
-