Class AttitudeManeuver

  • All Implemented Interfaces:
    Section

    public class AttitudeManeuver
    extends CommentsContainer
    Maneuver entry.
    Since:
    12.0
    Author:
    Luc Maisonobe
    • Constructor Detail

      • AttitudeManeuver

        public AttitudeManeuver()
        Build an uninitialized maneuver.
    • 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
      • 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
      • 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