public class TargetPointing extends AbstractAttitudeLaw
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 bodyFrameIn,
Vector3D targetIn)
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 |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation
public TargetPointing(Frame bodyFrameIn, Vector3D targetIn)
bodyFrameIn
- body frame.targetIn
- target position in body framepublic TargetPointing(GeodeticPoint targetGeo, BodyShape shape)
targetGeo
- target defined as a geodetic point in body shape frameshape
- body shapepublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedCopyright © 2021 CNES. All rights reserved.