public class YawCompensation extends GroundPointingWrapper
Yaw compensation is mainly used for Earth observation satellites. As a satellites moves along its track, the image of ground points move on the focal point of the optical sensor. This motion is a combination of the satellite motion, but also on the Earth rotation and on the current attitude (in particular if the pointing includes Roll or Pitch offset). In order to reduce geometrical distortion, the yaw angle is changed a little from the simple ground pointing attitude such that the apparent motion of ground points is along a prescribed axis (orthogonal to the optical sensors rows), taking into account all effects.
This attitude is implemented as a wrapper on top of an underlying ground pointing law that defines the roll and pitch angles.
Instances of this class are guaranteed to be immutable.
GroundPointing
,
Serialized FormConstructor and Description |
---|
YawCompensation(GroundPointing groundPointingLaw)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
TimeStampedAngularCoordinates |
getCompensation(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame orbitFrame,
Attitude base)
Compute the TimeStampedAngularCoordinates at a given time.
|
double |
getYawAngle(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the yaw compensation angle at date.
|
getBaseState, getGroundPointingLaw, getTargetPoint, getTargetPV, getUnderlyingAttitudeLaw, setSpinDerivativesComputation
getBodyFrame, getBodyShape
getAttitude, getSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitude
public YawCompensation(GroundPointing groundPointingLaw)
groundPointingLaw
- ground pointing attitude provider without yaw compensationpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude
in interface AttitudeProvider
getAttitude
in class GroundPointing
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedPatriusException
- if attitude cannot be computedpublic TimeStampedAngularCoordinates getCompensation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame orbitFrame, Attitude base) throws PatriusException
getCompensation
in class GroundPointingWrapper
pvProv
- provider for PV coordinatesdate
- date at which rotation is requestedorbitFrame
- reference frame from which attitude is computedbase
- base satellite attitude in given frame.PatriusException
- if some specific error occurspublic double getYawAngle(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv
- provider for PV coordinatesdate
- date at which compensation is requestedframe
- reference frame from which attitude is computedPatriusException
- if some specific error occursCopyright © 2018 CNES. All Rights Reserved.