public abstract class GroundPointingWrapper extends GroundPointing implements AttitudeLawModifier
| Constructor and Description |
|---|
GroundPointingWrapper(GroundPointing pGroundPointingLaw)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Attitude |
getBaseState(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the base system state at given date, without compensation.
|
abstract TimeStampedAngularCoordinates |
getCompensation(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame,
Attitude base)
Compute the TimeStampedAngularCoordinates at a given time.
|
protected Vector3D |
getTargetPoint(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point in specified frame.
|
protected TimeStampedPVCoordinates |
getTargetPV(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the target point position/velocity in specified frame.
|
AttitudeLaw |
getUnderlyingAttitudeLaw()
Get the underlying (ground pointing) attitude provider.
|
void |
setSpinDerivativesComputation(boolean computeSpinDerivatives)
Method to activate spin derivative computation.
|
getAttitude, getBodyFrame, getBodyShapegetAttitude, getSpinDerivativesComputationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttitude, getAttitudepublic GroundPointingWrapper(GroundPointing pGroundPointingLaw)
pGroundPointingLaw - ground pointing attitude provider without compensationpublic final AttitudeLaw getUnderlyingAttitudeLaw()
getUnderlyingAttitudeLaw in interface AttitudeLawModifierGroundPointing instanceprotected final Vector3D getTargetPoint(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getTargetPoint in class GroundPointingpvProv - 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 final 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.getTargetPV in class GroundPointingpvProv - 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 reachedpublic final Attitude getBaseState(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
pvProv - provider for PV coordinatesdate - date at which state is requestedframe - reference frame from which attitude is computedPatriusException - if some specific error occurspublic abstract TimeStampedAngularCoordinates getCompensation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame, Attitude base) throws PatriusException
pvProv - provider for PV coordinatesdate - date at which rotation is requestedframe - reference frame from which attitude is computedbase - base satellite attitude in given frame.PatriusException - if some specific error occurspublic void setSpinDerivativesComputation(boolean computeSpinDerivatives)
throws PatriusException
Spin derivatives computation applies to provided law groundPointingLaw.
setSpinDerivativesComputation in interface AttitudeProvidersetSpinDerivativesComputation in class AbstractAttitudeLawcomputeSpinDerivatives - true if spin derivatives should be computedPatriusException - if spin derivatives can not be computedCopyright © 2017 CNES. All rights reserved.