Class YamanakaAnkersenMatrices
java.lang.Object
org.orekit.propagation.relative.yamanakaankersen.YamanakaAnkersenMatrices
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
ConstructorsConstructorDescriptionYamanakaAnkersenMatrices(double timeSinceEpoch, double targetTheta, RealMatrix inPlaneMatrix, RealMatrix 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.doubleGet the true anomaly of the target.transform(PVCoordinates pv, double initialTrueAnomaly, double trueAnomaly, double eccentricity, double sma, double 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(TimeStampedPVCoordinates pvt, double initialTrueAnomaly, double trueAnomaly, double eccentricity, double sma, double 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
-
YamanakaAnkersenMatrices
public YamanakaAnkersenMatrices(double timeSinceEpoch, double targetTheta, RealMatrix inPlaneMatrix, RealMatrix outPlaneMatrix) Constructor for the state transition matrices given by the Yamanaka-Ankersen equations.- Parameters:
timeSinceEpoch- duration in seconds since epochtargetTheta- true anomaly of the targetinPlaneMatrix- in-plane transition matrixoutPlaneMatrix- out-plane transition matrix
-
-
Method Details
-
getTargetTrueAnomaly
public double 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 TimeStampedPVCoordinates transform(TimeStampedPVCoordinates pvt, double initialTrueAnomaly, double trueAnomaly, double eccentricity, double sma, double 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 PVCoordinates transform(PVCoordinates pv, double initialTrueAnomaly, double trueAnomaly, double eccentricity, double sma, double 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 LOF.initialTrueAnomaly- true anomaly of the target Spacecraft at initial time.trueAnomaly- true anomaly of the target Spacecraft at final time.eccentricity- eccentricity of the target Orbit.sma- semi-major axis of the target Orbit.mu- mu of the target orbit.- Returns:
- PVT at the time encoded in the Yamanaka-Ankersen matrices, expressed in the target's LVLH CCSDS LOF.
-