Class GroundPointingAttitudeModifier

java.lang.Object
org.orekit.attitudes.GroundPointing
org.orekit.attitudes.GroundPointingAttitudeModifier
All Implemented Interfaces:
AttitudeProvider, AttitudeProviderModifier, AttitudeRotationModel, EventDetectorsProvider, ParameterDriversProvider
Direct Known Subclasses:
YawCompensation, YawSteering

public abstract class GroundPointingAttitudeModifier extends GroundPointing implements AttitudeProviderModifier
Abstract class for attitude provider modifiers using an underlying ground pointing law.
Since:
12.1
Author:
Romain Serra
See Also:
  • Constructor Details

    • GroundPointingAttitudeModifier

      protected GroundPointingAttitudeModifier(Frame inertialFrame, Frame bodyFrame, GroundPointing groundPointingLaw)
      Constructor.
      Parameters:
      inertialFrame - frame in which orbital velocities are computed
      bodyFrame - the frame that rotates with the body
      groundPointingLaw - underlying ground pointing attitude law
  • Method Details

    • getUnderlyingAttitudeProvider

      public GroundPointing getUnderlyingAttitudeProvider()
      Getter for underlying ground pointing law.
      Specified by:
      getUnderlyingAttitudeProvider in interface AttitudeProviderModifier
      Returns:
      underlying attitude provider, which in this case is a GroundPointing instance
    • getBaseState

      public Attitude getBaseState(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
      Compute the base system state at given date, without modifications.
      Parameters:
      pvProv - provider for PV coordinates
      date - date at which state is requested
      frame - reference frame from which attitude is computed
      Returns:
      satellite base attitude state.
    • getBaseState

      public <T extends CalculusFieldElement<T>> FieldAttitude<T> getBaseState(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
      Compute the base system state at given date, without modifications.
      Type Parameters:
      T - type of the field elements
      Parameters:
      pvProv - provider for PV coordinates
      date - date at which state is requested
      frame - reference frame from which attitude is computed
      Returns:
      satellite base attitude state.
    • getTargetPV

      public TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
      Compute the target point position/velocity in specified frame.
      Specified by:
      getTargetPV in class GroundPointing
      Parameters:
      pvProv - provider for PV coordinates
      date - date at which target point is requested
      frame - frame in which observed ground point should be provided
      Returns:
      observed ground point position (element 0) and velocity (at index 1) in specified frame
    • getTargetPosition

      protected Vector3D getTargetPosition(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
      Compute the target point position in specified frame.
      Overrides:
      getTargetPosition in class GroundPointing
      Parameters:
      pvProv - provider for PV coordinates
      date - date at which target point is requested
      frame - frame in which observed ground point should be provided
      Returns:
      observed ground point position in specified frame
    • getTargetPV

      public <T extends CalculusFieldElement<T>> TimeStampedFieldPVCoordinates<T> getTargetPV(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
      Compute the target point position/velocity in specified frame.
      Specified by:
      getTargetPV in class GroundPointing
      Type Parameters:
      T - type of the field elements
      Parameters:
      pvProv - provider for PV coordinates
      date - date at which target point is requested
      frame - frame in which observed ground point should be provided
      Returns:
      observed ground point position (element 0) and velocity (at index 1) in specified frame
    • getTargetPosition

      protected <T extends CalculusFieldElement<T>> FieldVector3D<T> getTargetPosition(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
      Compute the target point position in specified frame.
      Overrides:
      getTargetPosition in class GroundPointing
      Type Parameters:
      T - type of the field elements
      Parameters:
      pvProv - provider for PV coordinates
      date - date at which target point is requested
      frame - frame in which observed ground point should be provided
      Returns:
      observed ground point position in specified frame