ICAROUS
All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros Modules Pages
Static Public Member Functions | List of all members
larcfm::Criteria Class Reference

#include <Criteria.h>

Static Public Member Functions

static bool check (double sox, double soy, double soz, double vox, double voy, double voz, double six, double siy, double siz, double vix, double viy, double viz, double nvox, double nvoy, double nvoz, double minRelVs, double D, double H, int epsh, int epsv)
 
static bool checkLL (double lato, double lono, double alto, double trko, double gso, double vso, double lati, double loni, double alti, double trki, double gsi, double vsi, double ntrko, double ngso, double nvso, double minRelVs, double D, double H, int epsh, int epsv)
 
static bool check (const Position &so, const Velocity &vo, const Position &si, const Velocity &vi, const Velocity &nvo, double minRelVs, double D, double H, int epsh, int epsv)
 

Detailed Description

Determines if a given velocity vector is within the implicit coordination criteria, both vertically and horizontally.

If a resolution velocity v' only changes vertical speed, it is recommended that v' be constructed using Velocity.makeVxyz(). Velocity.makeTrkGsVs() may introduce obvious numeric instability in this case.

Member Function Documentation

◆ check() [1/2]

bool Criteria::check ( const Position so,
const Velocity vo,
const Position si,
const Velocity vi,
const Velocity nvo,
double  minRelVs,
double  D,
double  H,
int  epsh,
int  epsv 
)
static

Criteria (covers both conflict and loss of separation cases).

Parameters
soposition of the ownship
vovelocity of the ownship
siposition of the traffic aircraft
vivelocity of the traffic aircraft
nvoNEW velocity of the ownship
minRelVsminimum relative vertical speed
DThe diameter of the protection zone in (nmi)
HThe height of the protection zone (ft)
epshThe epsilon for horizontal (+1 or -1)
epsvThe epsilon for vertical (+1 or -1)
Returns
true if the proposed velocity satisfies the criteria

◆ check() [2/2]

bool Criteria::check ( double  sox,
double  soy,
double  soz,
double  vox,
double  voy,
double  voz,
double  six,
double  siy,
double  siz,
double  vix,
double  viy,
double  viz,
double  nvox,
double  nvoy,
double  nvoz,
double  minRelVs,
double  D,
double  H,
int  epsh,
int  epsv 
)
static

Criteria (covers both conflict and loss of separation cases).

Parameters
soxThe ownship position components in (nmi) [Euclidean]
soyThe ownship position components in (nmi) [Euclidean]
sozThe ownship position components in (ft) [Euclidean]
voxThe ownship velocity components in (knots) [Euclidean]
voyThe ownship velocity components in (knots) [Euclidean]
vozThe ownship velocity components in (fpm) [Euclidean]
sixThe traffic position components in (nmi) [Euclidean]
siyThe traffic position components in (nmi) [Euclidean]
sizThe traffic position components in (ft) [Euclidean]
vixThe traffic velocity components in (knots) [Euclidean]
viyThe traffic velocity components in (knots) [Euclidean]
vizThe traffic velocity components in (fpm) [Euclidean]
nvoxThe NEW ownship velocity components in (knots) [Euclidean]
nvoyThe NEW ownship velocity components in (knots) [Euclidean]
nvozThe NEW ownship velocity components in (fpm) [Euclidean]
minRelVsminimum relative vertical speed
DThe diameter of the protection zone in (nm)
HThe height of the protection zone (ft)
epshThe epsilon for horizontal (+1 or -1)
epsvThe epsilon for vertical (+1 or -1)
Returns
true if the proposed velocity satisfies the criteria

◆ checkLL()

bool Criteria::checkLL ( double  lato,
double  lono,
double  alto,
double  trko,
double  gso,
double  vso,
double  lati,
double  loni,
double  alti,
double  trki,
double  gsi,
double  vsi,
double  ntrko,
double  ngso,
double  nvso,
double  minRelVs,
double  D,
double  H,
int  epsh,
int  epsv 
)
static

Criteria (covers both conflict and loss of separation cases).

Parameters
latoThe ownship latitude [deg, north]
lonoThe ownship longitude [deg, east]
altoThe ownship altitude [ft]
trkoThe ownship track, in [deg] from true north
gsoThe ownship ground speed [knot]
vsoThe ownship vertical speed
latiThe traffic latitude [deg, north]
loniThe traffic longitude [deg, east]
altiThe traffic altitude [ft]
trkiThe traffic track, in [deg] from true north
gsiThe traffic ground speed [knot]
vsiThe traffic vertical speed
ntrkoThe NEW ownship track, in [deg] from true north
ngsoThe NEW ownship ground speed [knot]
nvsoThe NEW ownship vertical speed
minRelVsminimum relative vertical speed
DThe diameter of the protection zone in (nmi)
HThe height of the protection zone (ft)
epshThe epsilon for horizontal (+1 or -1)
epsvThe epsilon for vertical (+1 or -1)
Returns
true if the proposed velocity satisfies the criteria

The documentation for this class was generated from the following files: