Serializable
, AttitudeProvider
public class TargetPointing extends GroundPointing
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.
GroundPointing
,
Serialized FormConstructor | 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.
|
Modifier and Type | Method | Description |
---|---|---|
<T extends RealFieldElement<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.
|
getAttitude, getAttitude, getBodyFrame
public TargetPointing(Frame inertialFrame, Frame bodyFrame, Vector3D target) throws OrekitException
inertialFrame
- frame in which orbital velocities are computedbodyFrame
- body frame.target
- target position in body frameOrekitException
- if the first frame specified is not a pseudo-inertial framepublic TargetPointing(Frame inertialFrame, GeodeticPoint targetGeo, BodyShape shape) throws OrekitException
inertialFrame
- frame in which orbital velocities are computedtargetGeo
- target defined as a geodetic point in body shape frameshape
- body shapeOrekitException
- if the frame specified is not a pseudo-inertial framepublic TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
This method is public
only to allow users to subclass this
abstract class from other packages. It is not intended to
be used directly.
getTargetPV
in class GroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedOrekitException
- if some specific error occurs,
such as no target reachedpublic <T extends RealFieldElement<T>> TimeStampedFieldPVCoordinates<T> getTargetPV(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) throws OrekitException
getTargetPV
in class GroundPointing
T
- type of the fiels elementspvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedOrekitException
- if some specific error occurs,
such as no target reachedCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.