Class FieldYamanakaAnkersenMatrices<T extends CalculusFieldElement<T>>
java.lang.Object
org.orekit.propagation.relative.yamanakaankersen.FieldYamanakaAnkersenMatrices<T>
- Type Parameters:
T- Any scalar field.
This class stores the 2 matrices (in plane: xz, out of plane: y, in local LVLH CCSDS frame) of the Yamanaka Ankersen
equations. Matrices in LVLH CCSDS Frame.
- Since:
- 14.0
- Author:
- Romain Cuvillon
-
Constructor Summary
ConstructorsConstructorDescriptionFieldYamanakaAnkersenMatrices(T timeSinceEpoch, T targetTheta, FieldMatrix<T> inPlaneMatrix, FieldMatrix<T> outPlaneMatrix) Constructor for the state transition matrices given by the Yamanaka-Ankersen equations. -
Method Summary
Modifier and TypeMethodDescriptionGet the in-plane matrix at current time.Get the out of plane matrix at current time.Get the true anomaly of the target.transform(FieldPVCoordinates<T> pv, T initialTrueAnomaly, T trueAnomaly, T eccentricity, T sma, T mu) Transforms the input initial PVT expressed in the target's LVLH CCSDS LOF to the PVT at the time and true anomaly associated encoded in the Yamanaka-Ankersen matrices contained in the object.transform(TimeStampedFieldPVCoordinates<T> pvt, T initialTrueAnomaly, T trueAnomaly, T eccentricity, T sma, T mu) Transforms the input initial PVT expressed in the target's LVLH CCSDS LOF to the PVT at the time and true anomaly associated encoded in the Yamanaka-Ankersen matrices contained in the object.
-
Constructor Details
-
FieldYamanakaAnkersenMatrices
public FieldYamanakaAnkersenMatrices(T timeSinceEpoch, T targetTheta, FieldMatrix<T> inPlaneMatrix, FieldMatrix<T> outPlaneMatrix) Constructor for the state transition matrices given by the Yamanaka-Ankersen equations.- Parameters:
timeSinceEpoch- duration in seconds since epochtargetTheta- current true anomaly of the targetinPlaneMatrix- in-plane transition matrixoutPlaneMatrix- out-plane transition matrix
-
-
Method Details
-
getTargetTrueAnomaly
Get the true anomaly of the target.- Returns:
- true anomaly of the target
-
getInPlaneMatrix
Get the in-plane matrix at current time.- Returns:
- In-plane matrix at current time
-
getOutPlaneMatrix
Get the out of plane matrix at current time.- Returns:
- out of plane matrix at current time
-
transform
public TimeStampedFieldPVCoordinates<T> transform(TimeStampedFieldPVCoordinates<T> pvt, T initialTrueAnomaly, T trueAnomaly, T eccentricity, T sma, T mu) Transforms the input initial PVT expressed in the target's LVLH CCSDS LOF to the PVT at the time and true anomaly associated encoded in the Yamanaka-Ankersen matrices contained in the object. First transform LOF PV coordinates to ~ coordinates system as presented in the Yamanaka Ankersen paper. Compute actualized coordinates in the ~ system Retransform from transformed frame to LOF to get desired PVCoordinates in LOF.- Parameters:
pvt- input initial PVT expressed in the target's LVLH CCSDS LOFinitialTrueAnomaly- true anomaly of the target Spacecraft at initial timetrueAnomaly- true anomaly of the target Spacecraft at final timeeccentricity- eccentricity of the target Orbitsma- semi-major axis of the target Orbitmu- mu of the target orbit- Returns:
- PVT at the time encoded in the Yamanaka-Ankersen matrices, expressed in the target's LVLH CCSDS LOF
-
transform
public FieldPVCoordinates<T> transform(FieldPVCoordinates<T> pv, T initialTrueAnomaly, T trueAnomaly, T eccentricity, T sma, T mu) Transforms the input initial PVT expressed in the target's LVLH CCSDS LOF to the PVT at the time and true anomaly associated encoded in the Yamanaka-Ankersen matrices contained in the object. First transform LOF PV coordinates to ~ coordinates system as presented in the Yamanaka Ankersen paper. Compute actualized coordinates in the ~ system Retransform from transformed frame to LOF to get desired PVCoordinates in LOF.- Parameters:
pv- input initial PV expressed in the target's LVLH CCSDS LOFinitialTrueAnomaly- true anomaly of the target Spacecraft at initial timetrueAnomaly- true anomaly of the target Spacecraft at final timeeccentricity- eccentricity of the target Orbitsma- semi-major axis of the target Orbitmu- mu of the target orbit- Returns:
- PVT at the time encoded in the Yamanaka-Ankersen matrices, expressed in the target's LVLH CCSDS LOF
-