public class ThrustDirectionAndAttitudeProvider extends Object implements AttitudeProvider
It is used in ConfigurableLowThrustManeuver to set the spacecraft attitude according to the expected thrust direction.
The direction can be variable or fixed, defined in the spaceraft frame, a Local Orbital Frame or a user frame.
It is also possible to use an external attitude provider.
Modifier and Type | Method and Description |
---|---|
static ThrustDirectionAndAttitudeProvider |
buildFromCustomAttitude(AttitudeProvider attitudeProvider,
org.hipparchus.geometry.euclidean.threed.Vector3D direction)
Build a ThrustDirectionAndAttitudeProvider where the attitude is provided by
an external.
|
static ThrustDirectionAndAttitudeProvider |
buildFromDirectionInFrame(Frame thrustDirectionFrame,
ThrustDirectionProvider variableDirectionInFrame,
org.hipparchus.geometry.euclidean.threed.Vector3D thrusterAxisInSatelliteFrame)
Build a ThrustDirectionAndAttitudeProvider by a variable direction in a
custom frame.
|
static ThrustDirectionAndAttitudeProvider |
buildFromDirectionInLOF(LOF thrustDirectionLof,
ThrustDirectionProvider variableDirectionInFrame,
org.hipparchus.geometry.euclidean.threed.Vector3D thrusterAxisInSatelliteFrame)
Build a ThrustDirectionAndAttitudeProvider by a variable direction in a Local
Orbital Frame.
|
static ThrustDirectionAndAttitudeProvider |
buildFromFixedDirectionInSatelliteFrame(org.hipparchus.geometry.euclidean.threed.Vector3D direction)
Build a ThrustDirectionAndAttitudeProvider from a fixed direction in the
satellite frame.
|
<T extends org.hipparchus.CalculusFieldElement<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.
|
protected Attitude |
getAttitudeFromFrame(PVCoordinatesProvider pvProv,
AbsoluteDate date,
Frame frame)
Compute the attitude for DIRECTION_IN_FRAME or DIRECTION_IN_LOF types.
|
AttitudeProvider |
getManeuverAttitudeProvider()
Attitude provider to use.
|
org.hipparchus.geometry.euclidean.threed.Vector3D |
getThrusterAxisInSatelliteFrame()
Thruster axis in satellite frame.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAttitudeRotation, getAttitudeRotation
public static ThrustDirectionAndAttitudeProvider buildFromFixedDirectionInSatelliteFrame(org.hipparchus.geometry.euclidean.threed.Vector3D direction)
direction
- constant direction in the satellite framepublic static ThrustDirectionAndAttitudeProvider buildFromCustomAttitude(AttitudeProvider attitudeProvider, org.hipparchus.geometry.euclidean.threed.Vector3D direction)
attitudeProvider
- the object that provide the satellite attitudedirection
- thruster axis in satellite framepublic static ThrustDirectionAndAttitudeProvider buildFromDirectionInFrame(Frame thrustDirectionFrame, ThrustDirectionProvider variableDirectionInFrame, org.hipparchus.geometry.euclidean.threed.Vector3D thrusterAxisInSatelliteFrame)
thrustDirectionFrame
- reference frame for thrust directionvariableDirectionInFrame
- the object providing the thrust directionthrusterAxisInSatelliteFrame
- thruster axis in satellite framepublic static ThrustDirectionAndAttitudeProvider buildFromDirectionInLOF(LOF thrustDirectionLof, ThrustDirectionProvider variableDirectionInFrame, org.hipparchus.geometry.euclidean.threed.Vector3D thrusterAxisInSatelliteFrame)
thrustDirectionLof
- local orbital framevariableDirectionInFrame
- the object providing the thrust directionthrusterAxisInSatelliteFrame
- thruster axis in satellite framepublic org.hipparchus.geometry.euclidean.threed.Vector3D getThrusterAxisInSatelliteFrame()
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 org.hipparchus.CalculusFieldElement<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 computedprotected Attitude getAttitudeFromFrame(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computedpublic AttitudeProvider getManeuverAttitudeProvider()
Copyright © 2002-2023 CS GROUP. All rights reserved.