|
||||||||||
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.SpinStabilized
public class SpinStabilized
This class handles a spin stabilized attitude provider.
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 Summary | |
---|---|
SpinStabilized(AttitudeLaw pNonRotatingLaw,
AbsoluteDate pStart,
Vector3D pAxis,
double pRate)
Creates a new instance. |
Method Summary | |
---|---|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude corresponding to an orbital state. |
AttitudeLaw |
getUnderlyingAttitudeLaw()
Get the underlying attitude law. |
Methods inherited from class org.orekit.attitudes.AbstractAttitudeLaw |
---|
getAttitude, getSpinDerivativesComputation, setSpinDerivativesComputation |
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, setSpinDerivativesComputation |
Constructor Detail |
---|
public 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 secondsMethod Detail |
---|
public final Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed
OrekitException
- if attitude cannot be computedpublic final AttitudeLaw getUnderlyingAttitudeLaw()
getUnderlyingAttitudeLaw
in interface AttitudeLawModifier
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |