Package org.orekit.attitudes
Class TargetPointing
- java.lang.Object
-
- org.orekit.attitudes.GroundPointing
-
- org.orekit.attitudes.TargetPointing
-
- All Implemented Interfaces:
AttitudeProvider
,AttitudeRotationModel
,EventDetectorsProvider
,ParameterDriversProvider
public class TargetPointing extends GroundPointing
This class handles target pointing attitude provider.This class represents the attitude provider where the satellite z axis is pointing to a ground point target.
The target position is defined in a body frame specified by the user. It is important to make sure this frame is consistent.
The object
TargetPointing
is guaranteed to be immutable.- Author:
- Véronique Pommier-Maurussane
- See Also:
GroundPointing
-
-
Field Summary
-
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY
-
-
Constructor Summary
Constructors Constructor Description TargetPointing(Frame inertialFrame, GeodeticPoint targetGeo, BodyShape shape)
Creates a new instance from body shape and target expressed in geodetic coordinates.TargetPointing(Frame inertialFrame, Frame bodyFrame, Vector3D target)
Creates a new instance from body frame and target expressed in Cartesian coordinates.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.-
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
getAttitudeRotation, getAttitudeRotation, getEventDetectors, getFieldEventDetectors, getParametersDrivers
-
Methods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectors
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
-
-
-
Constructor Detail
-
TargetPointing
public TargetPointing(Frame inertialFrame, Frame bodyFrame, Vector3D target)
Creates a new instance from body frame and target expressed in Cartesian coordinates.- Parameters:
inertialFrame
- frame in which orbital velocities are computedbodyFrame
- body frame.target
- target position in body frame- Since:
- 7.1
-
TargetPointing
public TargetPointing(Frame inertialFrame, GeodeticPoint targetGeo, BodyShape shape)
Creates a new instance from body shape and target expressed in geodetic coordinates.- Parameters:
inertialFrame
- frame in which orbital velocities are computedtargetGeo
- target defined as a geodetic point in body shape frameshape
- body shape- Since:
- 7.1
-
-
Method Detail
-
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
-
-