public class NadirPointing extends AbstractGroundPointing
This class represents the attitude provider where (by default) the satellite z axis is pointing to the vertical of the ground point under satellite.
The object NadirPointing
is guaranteed to be immutable.
GroundPointing
,
Serialized FormConstructor and Description |
---|
NadirPointing(BodyShape shape)
Creates new instance.
|
NadirPointing(BodyShape shape,
Vector3D losInSatFrameVec,
Vector3D losNormalInSatFrameVec)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Vector3D |
getTargetPoint(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point in specified frame.
|
TimeStampedPVCoordinates |
getTargetPV(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point position/velocity in specified frame.
|
String |
toString() |
getAttitude, getBodyFrame, getBodyShape
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
public NadirPointing(BodyShape shape)
shape
- Body shapepublic NadirPointing(BodyShape shape, Vector3D losInSatFrameVec, Vector3D losNormalInSatFrameVec)
shape
- Body shapelosInSatFrameVec
- LOS in satellite frame axislosNormalInSatFrameVec
- LOS normal axis in satellite framepublic TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
The default implementation use a simple centered two points finite differences scheme, it may be replaced by more accurate models in specialized implementations.
In the case where the point is computed at a date corresponding to the lower/upper bound of the ephemeris, the finite differences scheme used is either 1st order forward or backward.The calculated intersection velocity corresponds to the "virtual" intersection point velocity between the satellite los and the Earth, not the velocity of the physical point.
getTargetPV
in class AbstractGroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedPatriusException
- if some specific error occurs,
such as no target reachedprotected Vector3D getTargetPoint(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getTargetPoint
in class AbstractGroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be providedPatriusException
- if some specific error occurs,
such as no target reachedCopyright © 2019 CNES. All rights reserved.