public class SpinStabilized extends AbstractAttitudeLaw implements AttitudeLawModifier
Spin stabilized laws are handled as wrappers for an underlying non-rotating law. This underlying law is typically an
instance of CelestialBodyPointed with the pointing axis equal to the rotation axis, but can in fact be
anything.
Instances of this class are guaranteed to be immutable.
| Constructor and Description |
|---|
SpinStabilized(AttitudeLaw pNonRotatingLaw,
AbsoluteDate pStart,
Vector3D pAxis,
double pRate)
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.
|
AttitudeLaw |
getUnderlyingAttitudeLaw()
Get the underlying attitude law.
|
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputationclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAttitude, setSpinDerivativesComputationpublic SpinStabilized(AttitudeLaw pNonRotatingLaw, AbsoluteDate pStart, Vector3D pAxis, double pRate)
pNonRotatingLaw - underlying non-rotating attitude lawpStart - start date of the rotationpAxis - rotation axis in satellite framepRate - spin rate in radians per secondspublic final Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws PatriusException
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedPatriusException - if attitude cannot be computedpublic final AttitudeLaw getUnderlyingAttitudeLaw()
getUnderlyingAttitudeLaw in interface AttitudeLawModifierCopyright © 2017 CNES. All rights reserved.