public class ThrustDirectionAndAttitudeProvider extends Object implements AttitudeProvider
Modifier and Type | Method and Description |
---|---|
static ThrustDirectionAndAttitudeProvider |
buildFromCustomAttitude(AttitudeProvider attitudeProvider,
Vector3D direction)
Build a ThrustDirectionAndAttitudeProvider where the attitude is provided by
an external.
|
static ThrustDirectionAndAttitudeProvider |
buildFromDirectionInFrame(Frame thrustDirectionFrame,
ThrustDirectionProvider variableDirectionInFrame,
Vector3D thrusterAxisInSatelliteFrame)
Build a ThrustDirectionAndAttitudeProvider by a variable direction in a
custom frame.
|
static ThrustDirectionAndAttitudeProvider |
buildFromDirectionInLOF(LOFType thrustDirectionLofType,
ThrustDirectionProvider variableDirectionInFrame,
Vector3D thrusterAxisInSatelliteFrame)
Build a ThrustDirectionAndAttitudeProvider by a variable direction in a Local
Orbital Frame.
|
static ThrustDirectionAndAttitudeProvider |
buildFromFixedDirectionInSatelliteFrame(Vector3D direction)
Build a ThrustDirectionAndAttitudeProvider from a fixed direction in the
satellite frame.
|
<T extends 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.
|
Vector3D |
getThrusterAxisInSatelliteFrame()
Thruster axis in satellite frame.
|
public static ThrustDirectionAndAttitudeProvider buildFromFixedDirectionInSatelliteFrame(Vector3D direction)
direction
- constant direction in the satellite framepublic static ThrustDirectionAndAttitudeProvider buildFromCustomAttitude(AttitudeProvider attitudeProvider, Vector3D direction)
attitudeProvider
- the object that provide the satellite attitudedirection
- thruster axis in satellite framepublic static ThrustDirectionAndAttitudeProvider buildFromDirectionInFrame(Frame thrustDirectionFrame, ThrustDirectionProvider variableDirectionInFrame, Vector3D thrusterAxisInSatelliteFrame)
thrustDirectionFrame
- reference frame for thrust directionvariableDirectionInFrame
- the object providing the thrust directionthrusterAxisInSatelliteFrame
- thruster axis in satellite framepublic static ThrustDirectionAndAttitudeProvider buildFromDirectionInLOF(LOFType thrustDirectionLofType, ThrustDirectionProvider variableDirectionInFrame, Vector3D thrusterAxisInSatelliteFrame)
thrustDirectionLofType
- Local Orbital Frame typevariableDirectionInFrame
- the object providing the thrust directionthrusterAxisInSatelliteFrame
- thruster axis in satellite framepublic 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 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-2022 CS GROUP. All rights reserved.