Package org.orekit.attitudes
Class GroundPointingAttitudeModifier
- java.lang.Object
-
- org.orekit.attitudes.GroundPointing
-
- org.orekit.attitudes.GroundPointingAttitudeModifier
-
- All Implemented Interfaces:
AttitudeProvider
,AttitudeProviderModifier
,EventDetectorsProvider
- 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:
GroundPointing
,AttitudeProviderModifier
-
-
Field Summary
-
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
GroundPointingAttitudeModifier(Frame inertialFrame, Frame bodyFrame, GroundPointing groundPointingLaw)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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.Attitude
getBaseState(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the base system state at given date, without modifications.protected <T extends CalculusFieldElement<T>>
FieldVector3D<T>getTargetPosition(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the target point position in specified frame.protected Vector3D
getTargetPosition(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the target point position in specified frame.<T extends CalculusFieldElement<T>>
TimeStampedFieldPVCoordinates<T>getTargetPV(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the target point position/velocity in specified frame.TimeStampedPVCoordinates
getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the target point position/velocity in specified frame.GroundPointing
getUnderlyingAttitudeProvider()
Getter for underlying ground pointing law.-
Methods inherited from class org.orekit.attitudes.GroundPointing
getAttitude, getAttitude, getAttitudeRotation, getAttitudeRotation, getBodyFrame
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitude, getAttitude, getAttitudeRotation, getAttitudeRotation
-
Methods inherited from interface org.orekit.attitudes.AttitudeProviderModifier
getEventDetectors, getEventDetectors, getFieldEventDetectors, getFieldEventDetectors
-
-
-
-
Constructor Detail
-
GroundPointingAttitudeModifier
protected GroundPointingAttitudeModifier(Frame inertialFrame, Frame bodyFrame, GroundPointing groundPointingLaw)
Constructor.- Parameters:
inertialFrame
- frame in which orbital velocities are computedbodyFrame
- the frame that rotates with the bodygroundPointingLaw
- underlying ground pointing attitude law
-
-
Method Detail
-
getUnderlyingAttitudeProvider
public GroundPointing getUnderlyingAttitudeProvider()
Getter for underlying ground pointing law.- Specified by:
getUnderlyingAttitudeProvider
in interfaceAttitudeProviderModifier
- 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 coordinatesdate
- date at which state is requestedframe
- 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 coordinatesdate
- date at which state is requestedframe
- 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 classGroundPointing
- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- 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 classGroundPointing
- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- 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 classGroundPointing
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- 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 classGroundPointing
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided- Returns:
- observed ground point position in specified frame
-
-