public class InertialProvider extends Object implements AttitudeProvider
Instances of this class are guaranteed to be immutable.
Modifier and Type | Field and Description |
---|---|
static InertialProvider |
EME2000_ALIGNED
Dummy attitude provider, perfectly aligned with the EME2000 frame.
|
Constructor and Description |
---|
InertialProvider(Frame frame)
Creates new instance aligned with the given frame.
|
InertialProvider(Rotation rotation)
Creates new instance.
|
InertialProvider(Rotation rotation,
Frame reference)
Creates new instance with a fixed attitude in the given frame.
|
Modifier and Type | Method and 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.
|
@DefaultDataContext public static final InertialProvider EME2000_ALIGNED
This field uses the default data context
.
@DefaultDataContext public InertialProvider(Rotation rotation)
This constructor uses the default data context
.
rotation
- rotation from EME2000 to the desired satellite frameInertialProvider(Rotation, Frame)
public InertialProvider(Frame frame)
frame
- the reference frame for the attitude.public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
getAttitude
in interface AttitudeProvider
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedpublic <T extends RealFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
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 computedCopyright © 2002-2020 CS GROUP. All rights reserved.