|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.orekit.attitudes.AbstractAttitudeLaw org.orekit.attitudes.GroundPointing org.orekit.attitudes.GroundPointingWrapper
public abstract class GroundPointingWrapper
This class leverages common parts for compensation modes around ground pointing attitudes.
Constructor Summary | |
---|---|
GroundPointingWrapper(GroundPointing pGroundPointingLaw)
Creates a new instance. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.orekit.attitudes.GroundPointing |
---|
getAttitude, getBodyFrame, getBodyShape |
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw |
---|
getAttitude, getSpinDerivativesComputation |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.orekit.attitudes.AttitudeProvider |
---|
getAttitude, getAttitude |
Constructor Detail |
---|
public GroundPointingWrapper(GroundPointing pGroundPointingLaw)
pGroundPointingLaw
- ground pointing attitude provider without compensationMethod Detail |
---|
public final AttitudeLaw getUnderlyingAttitudeLaw()
getUnderlyingAttitudeLaw
in interface AttitudeLawModifier
GroundPointing
instanceprotected final 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 provided
OrekitException
- if some specific error occurs,
such as no target reachedprotected final TimeStampedPVCoordinates getTargetPV(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
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 GroundPointing
pvProv
- provider for PV coordinatesdate
- date at which target point is requestedframe
- frame in which observed ground point should be provided
OrekitException
- if some specific error occurs,
such as no target reachedpublic final Attitude getBaseState(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
pvProv
- provider for PV coordinatesdate
- date at which state is requestedframe
- reference frame from which attitude is computed
OrekitException
- if some specific error occurspublic abstract TimeStampedAngularCoordinates getCompensation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame, Attitude base) throws OrekitException
pvProv
- provider for PV coordinatesdate
- date at which rotation is requestedframe
- reference frame from which attitude is computedbase
- base satellite attitude in given frame.
OrekitException
- if some specific error occurspublic void setSpinDerivativesComputation(boolean computeSpinDerivatives) throws OrekitException
Spin derivatives computation applies to provided law groundPointingLaw
.
setSpinDerivativesComputation
in interface AttitudeProvider
setSpinDerivativesComputation
in class AbstractAttitudeLaw
computeSpinDerivatives
- true if spin derivatives should be computed
OrekitException
- if spin derivatives can not be computed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |