|
static LossData | detection (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double D, const double B, const double T) |
|
static LossData | detection (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double D, const double T) |
|
static LossData | detection (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double D) |
|
static bool | violation (const Vect2 &s, const double D) |
|
static bool | cd2d (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double D, const double B, const double T) |
|
static bool | cd2d (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double D, const double T) |
|
static bool | cd2d (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double D) |
|
static double | tcpa (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double B, const double T) |
|
static double | tcpa (const Vect2 &s, const Vect2 &vo, const Vect2 &vi, const double T) |
|
static double | tcpa (const Vect2 &s, const Vect2 &vo, const Vect2 &vi) |
|
CD2D is an algorithm for 2-D conflict detection.
All units in this file are internal:
-
Units of distance are denoted [d]
-
Units of time are denoted [t]
-
Units of speed are denoted [d/t]
REMARK: X points to East, Y points to North.
Naming Convention
The intruder is fixed at the origin of the coordinate system.
-
D : Diameter of the protected zone [d]
-
B : Lower bound of lookahed time interval [t] (B >= 0)
-
T : Upper bound of lookahead time interval [t] (B < T)
-
s : Relative 2-D position of the ownship [d,d]
-
vo : Ownship velocity vector [d/t,d/t]
-
vi : Traffic velocity vector [d/t,d/t]
Functions
-
violation : Check for 2-D loss of separation
-
detection : 2-D conflict detection with calculation of conflict interval
-
cd2d : Check for predicted conflict