Class YamanakaAnkersenMatrices

java.lang.Object
org.orekit.propagation.relative.yamanakaankersen.YamanakaAnkersenMatrices

public class YamanakaAnkersenMatrices extends Object
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 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 epoch
      targetTheta - true anomaly of the target
      inPlaneMatrix - in-plane transition matrix
      outPlaneMatrix - out-plane transition matrix
  • Method Details

    • getTargetTrueAnomaly

      public double getTargetTrueAnomaly()
      Get the true anomaly of the target.
      Returns:
      true anomaly of the target
    • getInPlaneMatrix

      public RealMatrix getInPlaneMatrix()
      Get the in-plane matrix at current time.
      Returns:
      In-plane matrix at current time
    • getOutPlaneMatrix

      public RealMatrix 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 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.
    • 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.