Serializable
, AttitudeProvider
public class FixedRate extends Object implements AttitudeProvider
This attitude provider is a simple linear extrapolation from an initial
orientation, a rotation axis and a rotation rate. All this elements can be
specified as a simple reference attitude
.
Instances of this class are guaranteed to be immutable.
Constructor | Description |
---|---|
FixedRate(Attitude referenceAttitude) |
Creates a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
<T extends RealFieldElement<T>> |
getAttitude(FieldPVCoordinatesProvider<T> pvProv,
FieldAbsoluteDate<T> date,
Frame frame) |
Compute the attitude corresponding to an orbital state.
|
Attitude |
getAttitude(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame) |
Compute the attitude corresponding to an orbital state.
|
Attitude |
getReferenceAttitude() |
Get the reference attitude.
|
public FixedRate(Attitude referenceAttitude)
referenceAttitude
- attitude at reference datepublic 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 computedOrekitException
- if attitude cannot be computedpublic <T extends RealFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame) throws OrekitException
getAttitude
in interface AttitudeProvider
T
- type of the field elementspvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedOrekitException
- if attitude cannot be computedpublic Attitude getReferenceAttitude()
Copyright © 2002-2018 CS Systèmes d'information. All rights reserved.