Package org.orekit.attitudes
Class AlignedAndConstrained
- java.lang.Object
-
- org.orekit.attitudes.AlignedAndConstrained
-
- All Implemented Interfaces:
AttitudeProvider
,AttitudeRotationModel
,EventDetectorsProvider
,ParameterDriversProvider
public class AlignedAndConstrained extends Object implements AttitudeProvider
Attitude provider with one satellite vector aligned and another one constrained to two targets.- Since:
- 12.2
- Author:
- Luc Maisonobe
-
-
Field Summary
-
Fields inherited from interface org.orekit.propagation.events.EventDetectorsProvider
DATATION_ACCURACY
-
-
Constructor Summary
Constructors Constructor Description AlignedAndConstrained(Vector3D primarySat, TargetProvider primaryTarget, Vector3D secondarySat, TargetProvider secondaryTarget, Frame inertialFrame, ExtendedPositionProvider sun, OneAxisEllipsoid earth)
Simple constructor.AlignedAndConstrained(Vector3D primarySat, TargetProvider primaryTarget, Vector3D secondarySat, TargetProvider secondaryTarget, ExtendedPositionProvider sun, OneAxisEllipsoid earth)
Constructor with default inertial frame.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends CalculusFieldElement<T>>
FieldAttitude<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.<T extends CalculusFieldElement<T>>
FieldRotation<T>getAttitudeRotation(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the attitude-related rotation corresponding to an orbital state.Rotation
getAttitudeRotation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude-related rotation corresponding to an orbital state.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.orekit.attitudes.AttitudeProvider
getAttitudeRotation, getAttitudeRotation, getEventDetectors, getFieldEventDetectors, getParametersDrivers
-
Methods inherited from interface org.orekit.propagation.events.EventDetectorsProvider
getDateDetector, getEventDetectors, getFieldDateDetector, getFieldEventDetectors
-
Methods inherited from interface org.orekit.utils.ParameterDriversProvider
getNbParametersDriversValue, getParameterDriver, getParameters, getParameters, getParameters, getParameters, getParametersAllValues, getParametersAllValues, isSupported
-
-
-
-
Constructor Detail
-
AlignedAndConstrained
public AlignedAndConstrained(Vector3D primarySat, TargetProvider primaryTarget, Vector3D secondarySat, TargetProvider secondaryTarget, Frame inertialFrame, ExtendedPositionProvider sun, OneAxisEllipsoid earth)
Simple constructor.- Parameters:
primarySat
- satellite vector for primary targetprimaryTarget
- primary targetsecondarySat
- satellite vector for secondary targetsecondaryTarget
- secondary targetinertialFrame
- reference inertial framesun
- Sun modelearth
- Earth model- Since:
- 13.0
-
AlignedAndConstrained
@DefaultDataContext public AlignedAndConstrained(Vector3D primarySat, TargetProvider primaryTarget, Vector3D secondarySat, TargetProvider secondaryTarget, ExtendedPositionProvider sun, OneAxisEllipsoid earth)
Constructor with default inertial frame.- Parameters:
primarySat
- satellite vector for primary targetprimaryTarget
- primary targetsecondarySat
- satellite vector for secondary targetsecondaryTarget
- secondary targetsun
- Sun modelearth
- Earth model
-
-
Method Detail
-
getAttitudeRotation
public Rotation getAttitudeRotation(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude-related rotation corresponding to an orbital state.- Specified by:
getAttitudeRotation
in interfaceAttitudeProvider
- Parameters:
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed- Returns:
- attitude-related rotation on the specified date and position-velocity state
-
getAttitude
public Attitude getAttitude(PVCoordinatesProvider pvProv, AbsoluteDate date, Frame frame)
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitude
in interfaceAttitudeProvider
- Parameters:
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed- Returns:
- attitude on the specified date and position-velocity state
-
getAttitudeRotation
public <T extends CalculusFieldElement<T>> FieldRotation<T> getAttitudeRotation(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the attitude-related rotation corresponding to an orbital state.- Specified by:
getAttitudeRotation
in interfaceAttitudeProvider
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed- Returns:
- rotation on the specified date and position-velocity state
-
getAttitude
public <T extends CalculusFieldElement<T>> FieldAttitude<T> getAttitude(FieldPVCoordinatesProvider<T> pvProv, FieldAbsoluteDate<T> date, Frame frame)
Compute the attitude corresponding to an orbital state.- Specified by:
getAttitude
in interfaceAttitudeProvider
- Type Parameters:
T
- type of the field elements- Parameters:
pvProv
- local position-velocity provider around current datedate
- current dateframe
- reference frame from which attitude is computed- Returns:
- attitude on the specified date and position-velocity state
-
-