org.orekit.attitudes
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 and Description |
---|
TargetPointing(Frame bodyFrame,
Vector3D target)
Creates a new instance from body frame and target expressed in cartesian coordinates.
|
TargetPointing(GeodeticPoint targetGeo,
BodyShape shape)
Creates a new instance from body shape and target expressed in geodetic coordinates.
|
Modifier and Type | Method and Description |
---|---|
protected Vector3D |
getTargetPoint(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point in specified frame.
|
protected PVCoordinates |
getTargetPV(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point position/velocity in specified frame.
|
getAttitude, getBodyFrame
public TargetPointing(Frame bodyFrame, Vector3D target)
bodyFrame
- body frame.target
- target position in body framepublic TargetPointing(GeodeticPoint targetGeo, BodyShape shape)
targetGeo
- target defined as a geodetic point in body shape frameshape
- body shapeprotected Vector3D getTargetPoint(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getTargetPoint
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 reachedprotected PVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
The default implementation use a simple two points finite differences scheme, it may be replaced by more accurate models in specialized implementations.
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 reachedCopyright © 2002–2015 CS Syst?mes d'Information. All rights reserved.