ICAROUS
|
#include <TargetUrgency.h>
Static Public Member Functions | |
static bool | mostUrgent (Detection3D *cd, const Vect3 &so, const Velocity &vo, const Vect3 &si1, const Velocity &vi1, const Vect3 &si2, const Velocity &vi2, double B, double T) |
static double | sortValue (double cdist, bool conflict, double tin, double tca, double dist_tca, double B, double T) |
This class is used to determine if one aircraft has priority over another aircraft. It is an encapsulation of the "right of way" rules.
Disclaimer: The current rules have been verified to have certain safety and liveness properties, but they have not been validated, that is, they may not behave "naturally." As we learn more about what is expected, these rules may evolve in the future.
|
static |
Return a priority ranking value far an aircraft s.t. if two ranking values are compared, the lower (possibly negative) value will represent the most urgent aircraft.
cdist | current distance between aircraft, in meters |
conflict | true if a conflict was detected |
tin | time in for the conflict, in seconds (if conflict) |
tca | critical time of conflict, in seconds (if conflict) |
dist_tca | distance at critical time, >= 0.0 (if conflict) |
B | detection start time (generally 0) |
T | detection lookahead time, t <= 0 is "no data" |