Serializable
, AttitudeProvider
public class InertialProvider extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
Modifier and Type | Field | Description |
---|---|---|
static InertialProvider |
EME2000_ALIGNED |
Dummy attitude provider, perfectly aligned with the EME2000 frame.
|
Constructor | Description |
---|---|
InertialProvider(Rotation rotation) |
Creates 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.
|
public static final InertialProvider EME2000_ALIGNED
public InertialProvider(Rotation rotation)
rotation
- rotation from EME2000 to the desired satellite framepublic 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 computedCopyright © 2002-2018 CS Systèmes d'information. All rights reserved.