public class IsisSunPointing extends AbstractAttitudeLaw
AttitudeProvider
, so the associated
service AttitudeProvider.getAttitude(PVCoordinatesProvider, AbsoluteDate, Frame)
is available.
ISIS Sun pointing law corresponds to an ordered attitude matching with the Sun axis
(X_sun, Y_sun, Z_sun) computed in GCRF frame by specific formulae.Constructor and Description |
---|
IsisSunPointing(CelestialPoint sun)
Build a new instance of the class.
|
IsisSunPointing(IDirection sunDir)
Build a new instance of the class.
|
Modifier and Type | Method and Description |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state.
|
getSpinDerivativesComputation, setSpinDerivativesComputation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
computeSpinByFD, computeSpinDerivativeByFD, getAttitude
public IsisSunPointing(IDirection sunDir) throws PatriusException
sunDir
- the Sun direction in the inertial framePatriusException
- if the Sun cannot be builtpublic IsisSunPointing(CelestialPoint sun)
sun
- the Sunpublic 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 computed for provided dateCopyright © 2023 CNES. All rights reserved.