public class SpinStabilized extends Object implements AttitudeProviderModifier
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(AttitudeProvider nonRotatingLaw,
AbsoluteDate start,
Vector3D axis,
double rate)
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.
|
AttitudeProvider |
getUnderlyingAttitudeProvider()
Get the underlying attitude provider.
|
public SpinStabilized(AttitudeProvider nonRotatingLaw, AbsoluteDate start, Vector3D axis, double rate)
nonRotatingLaw - underlying non-rotating attitude providerstart - start date of the rotationaxis - rotation axis in satellite framerate - spin rate in radians per secondspublic AttitudeProvider getUnderlyingAttitudeProvider()
getUnderlyingAttitudeProvider in interface AttitudeProviderModifierpublic Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame) throws OrekitException
getAttitude in interface AttitudeProviderpvProv - local position-velocity provider around current datedate - current dateframe - reference frame from which attitude is computedOrekitException - if attitude cannot be computedCopyright © 2002-2016 CS Systèmes d'information. All rights reserved.