Class SpinStabilized
- java.lang.Object
-
- org.orekit.files.ccsds.section.CommentsContainer
-
- org.orekit.files.ccsds.ndm.adm.apm.SpinStabilized
-
- All Implemented Interfaces:
Section
public class SpinStabilized extends CommentsContainer
Container for Attitude Parameter Message data lines.- Since:
- 10.2
- Author:
- Bryan Cazabonne
-
-
Constructor Summary
Constructors Constructor Description SpinStabilized()
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttitudeEndoints
getEndpoints()
Get the endpoints (i.e.double
getNutation()
Get the nutation angle of spin axis (rad).double
getNutationPeriod()
Get the body nutation period of the spin axis (s).double
getNutationPhase()
Get the inertial nutation phase (rad).double
getSpinAlpha()
Get the right ascension of spin axis vector (rad).double
getSpinAngle()
Get the phase of the satellite about the spin axis (rad).double
getSpinAngleVel()
Get the angular velocity of satellite around spin axis (rad/s).double
getSpinDelta()
Get the declination of the spin axis vector (rad).void
setNutation(double nutation)
Set the nutation angle of spin axis (rad).void
setNutationPeriod(double period)
Set the body nutation period of the spin axis (s).void
setNutationPhase(double nutationPhase)
Set the inertial nutation phase (rad).void
setSpinAlpha(double spinAlpha)
Set the right ascension of spin axis vector (rad).void
setSpinAngle(double spinAngle)
Set the phase of the satellite about the spin axis (rad).void
setSpinAngleVel(double spinAngleVel)
Set the angular velocity of satellite around spin axis (rad/s).void
setSpinDelta(double spinDelta)
Set the declination of the spin axis vector (rad).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
-
getEndpoints
public AttitudeEndoints getEndpoints()
Get the endpoints (i.e. frames A, B and their relationship).- Returns:
- endpoints
-
getSpinAlpha
public double getSpinAlpha()
Get the right ascension of spin axis vector (rad).- Returns:
- the right ascension of spin axis vector
-
setSpinAlpha
public void setSpinAlpha(double spinAlpha)
Set the right ascension of spin axis vector (rad).- Parameters:
spinAlpha
- value to be set
-
getSpinDelta
public double getSpinDelta()
Get the declination of the spin axis vector (rad).- Returns:
- the declination of the spin axis vector (rad).
-
setSpinDelta
public void setSpinDelta(double spinDelta)
Set the declination of the spin axis vector (rad).- Parameters:
spinDelta
- value to be set
-
getSpinAngle
public double getSpinAngle()
Get the phase of the satellite about the spin axis (rad).- Returns:
- the phase of the satellite about the spin axis
-
setSpinAngle
public void setSpinAngle(double spinAngle)
Set the phase of the satellite about the spin axis (rad).- Parameters:
spinAngle
- value to be set
-
getSpinAngleVel
public double getSpinAngleVel()
Get the angular velocity of satellite around spin axis (rad/s).- Returns:
- the angular velocity of satellite around spin axis
-
setSpinAngleVel
public void setSpinAngleVel(double spinAngleVel)
Set the angular velocity of satellite around spin axis (rad/s).- Parameters:
spinAngleVel
- value to be set
-
getNutation
public double getNutation()
Get the nutation angle of spin axis (rad).- Returns:
- the nutation angle of spin axis
-
setNutation
public void setNutation(double nutation)
Set the nutation angle of spin axis (rad).- Parameters:
nutation
- the nutation angle to be set
-
getNutationPeriod
public double getNutationPeriod()
Get the body nutation period of the spin axis (s).- Returns:
- the body nutation period of the spin axis
-
setNutationPeriod
public void setNutationPeriod(double period)
Set the body nutation period of the spin axis (s).- Parameters:
period
- the nutation period to be set
-
getNutationPhase
public double getNutationPhase()
Get the inertial nutation phase (rad).- Returns:
- the inertial nutation phase
-
setNutationPhase
public void setNutationPhase(double nutationPhase)
Set the inertial nutation phase (rad).- Parameters:
nutationPhase
- the nutation phase to be set
-
-