Class SpinStabilized

  • All Implemented Interfaces:
    Section

    public class SpinStabilized
    extends CommentsContainer
    Container for Attitude Parameter Message data lines.

    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:
    10.2
    Author:
    Bryan Cazabonne
    • Constructor Detail

      • SpinStabilized

        public SpinStabilized()
        Simple constructor.
    • 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 interface Section
        Overrides:
        validate in class CommentsContainer
        Parameters:
        version - format version
      • getEndpoints

        public AttitudeEndpoints 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
      • getMomentumAlpha

        public double getMomentumAlpha()
        Get the right ascension of angular momentum vector (rad).
        Returns:
        the right ascension of angular momentum vector
        Since:
        12.0
      • setMomentumAlpha

        public void setMomentumAlpha​(double momentumAlpha)
        Set the right ascension of angular momentum vector (rad).
        Parameters:
        momentumAlpha - value to be set
        Since:
        12.0
      • getMomentumDelta

        public double getMomentumDelta()
        Get the declination of the angular momentum vector (rad).
        Returns:
        the declination of the angular momentum vector (rad).
        Since:
        12.0
      • setMomentumDelta

        public void setMomentumDelta​(double momentumDelta)
        Set the declination of the angular momentum vector (rad).
        Parameters:
        momentumDelta - value to be set
        Since:
        12.0
      • getNutationVel

        public double getNutationVel()
        Get the angular velocity of spin vector around angular momentum vector.
        Returns:
        angular velocity of spin vector around angular momentum vector (rad/s)
        Since:
        12.0
      • setNutationVel

        public void setNutationVel​(double nutationVel)
        Set the angular velocity of spin vector around angular momentum vector.
        Parameters:
        nutationVel - angular velocity of spin vector around angular momentum vector (rad/s)
        Since:
        12.0
      • hasNutation

        public boolean hasNutation()
        Check if the logical block includes nutation.
        Returns:
        true if logical block includes nutation
        Since:
        12.0
      • hasMomentum

        public boolean hasMomentum()
        Check if the logical block includes momentum.
        Returns:
        true if logical block includes momentum
        Since:
        12.0