public class Laas2015 extends AbstractShortTermEncounter2DPOCMethod
It is one of the recommended methods to use.
It assumes :
The following constants are defined when using the empty constructor :
This implementation has been translated from python from the provided source code of Romain SERRA on the following github account
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_SCALING_THRESHOLD
Default scaling threshold to use when sum becomes large.
|
DEFAULT_TCA_DIFFERENCE_TOLERANCE
DEFAULT_ZERO_THRESHOLD
Constructor and Description |
---|
Laas2015()
Default constructor.
|
Laas2015(double absoluteAccuracy,
int maxNumberOfTerms)
Simple constructor.
|
Modifier and Type | Method and Description |
---|---|
ProbabilityOfCollision |
compute(double xm,
double ym,
double sigmaX,
double sigmaY,
double radius)
Compute the probability of collision using arguments specific to the rotated encounter frame.
|
<T extends org.hipparchus.CalculusFieldElement<T>> |
compute(T xm,
T ym,
T sigmaX,
T sigmaY,
T radius)
Compute the probability of collision using arguments specific to the rotated encounter frame.
|
ShortTermEncounter2DPOCMethodType |
getType()
Get type of the method.
|
compute, compute, compute, compute, compute, compute, getName, getObjectOrbitFromCdm, getObjectStateCovarianceFromCdm, isAMaximumProbabilityOfCollisionMethod
public static final double DEFAULT_SCALING_THRESHOLD
public Laas2015()
It uses a default absolute accuracy of 1e-30 and a maximum number of terms of 37000 which is the max number of terms computed based on Romain SERRA's observation (p.56 of "Romain Serra. Opérations de proximité en orbite : * évaluation du risque de collision et calcul de manoeuvres optimales pour l’évitement et le rendez-vous. Automatique / * Robotique. INSA de Toulouse, 2015. Français. NNT : 2015ISAT0035. tel-01261497") about Alfano test case 5 where he explains that 37000 terms were enough to meet the required precision of 5 significant digits.
public Laas2015(double absoluteAccuracy, int maxNumberOfTerms)
absoluteAccuracy
- absolute accuracy of the resultmaxNumberOfTerms
- max number of terms to computepublic final ProbabilityOfCollision compute(double xm, double ym, double sigmaX, double sigmaY, double radius)
The rotated encounter frame is define by the initial encounter frame (defined in
ShortTermEncounter2DDefinition
) rotated by the rotation matrix which is used to diagonalize the combined
covariance matrix.
compute
in interface ShortTermEncounter2DPOCMethod
compute
in class AbstractShortTermEncounter2DPOCMethod
xm
- other collision object projected position onto the collision plane in the rotated encounter frame x-axis
(m)ym
- other collision object projected position onto the collision plane in the rotated encounter frame y-axis
(m)sigmaX
- square root of the x-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)sigmaY
- square root of the y-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)radius
- sum of primary and secondary collision object equivalent sphere radii (m)public final <T extends org.hipparchus.CalculusFieldElement<T>> FieldProbabilityOfCollision<T> compute(T xm, T ym, T sigmaX, T sigmaY, T radius)
The rotated encounter frame is define by the initial encounter frame (defined in
ShortTermEncounter2DDefinition
) rotated by the rotation matrix which is used to diagonalize the combined
covariance matrix.
compute
in interface ShortTermEncounter2DPOCMethod
compute
in class AbstractShortTermEncounter2DPOCMethod
T
- type of the field elementsxm
- other collision object projected position onto the collision plane in the rotated encounter frame x-axis
(m)ym
- other collision object projected position onto the collision plane in the rotated encounter frame y-axis
(m)sigmaX
- square root of the x-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)sigmaY
- square root of the y-axis eigen value of the diagonalized combined covariance matrix projected onto the
collision plane (m)radius
- sum of primary and secondary collision object equivalent sphere radii (m)public ShortTermEncounter2DPOCMethodType getType()
Copyright © 2002-2023 CS GROUP. All rights reserved.