Skip to main content

Interface: TcasIntruder

Defined in: src/sdk/traffic/Tcas.ts:93

An intruder tracked by TCAS.

Properties​

alertLevel​

readonly alertLevel: Subscribable<TcasAlertLevel>

Defined in: src/sdk/traffic/Tcas.ts:98

A subscribable which provides the alert level assigned to this intruder.


altitude​

readonly altitude: NumberUnitReadOnly<Distance>

Defined in: src/sdk/traffic/Tcas.ts:104

The altitude of this intruder at the time of the most recent update.


contact​

readonly contact: TrafficContact

Defined in: src/sdk/traffic/Tcas.ts:95

The traffic contact associated with this intruder.


groundSpeed​

readonly groundSpeed: NumberUnitReadOnly<Speed>

Defined in: src/sdk/traffic/Tcas.ts:110

The ground speed of this intruder at the time of the most recent update.


groundTrack​

readonly groundTrack: number

Defined in: src/sdk/traffic/Tcas.ts:107

The true ground track of this intruder at the time of the most recent update.


isPredictionValid​

readonly isPredictionValid: boolean

Defined in: src/sdk/traffic/Tcas.ts:137

Whether there is a valid prediction for this intruder's position and velocity.


position​

readonly position: GeoPointReadOnly

Defined in: src/sdk/traffic/Tcas.ts:101

The position of this intruder at the time of the most recent update.


positionVec​

readonly positionVec: ReadonlyFloat64Array

Defined in: src/sdk/traffic/Tcas.ts:122

The 3D position vector of this intruder at the time of the last update. Each component is expressed in units of meters. The coordinate system is an Euclidean approximation of the geodetic space around the own airplane such that the z-coordinate represents orthometric height and the x- and y-coordinates represent an east- counterclockwise equirectangular projection of latitude and longitude, with the origin at the location of the own airplane.


relativePositionVec​

readonly relativePositionVec: ReadonlyFloat64Array

Defined in: src/sdk/traffic/Tcas.ts:131

The 3D position vector of this intruder relative to own airplane.


relativeVelocityVec​

readonly relativeVelocityVec: ReadonlyFloat64Array

Defined in: src/sdk/traffic/Tcas.ts:134

The 3D velocity vector of this intruder relative to own airplane.


tcaRA​

readonly tcaRA: TcasTcaPrediction

Defined in: src/sdk/traffic/Tcas.ts:143

A time-of-closest-approach prediction for this intruder using sensitivity settings for resolution advisories.


tcaTA​

readonly tcaTA: TcasTcaPrediction

Defined in: src/sdk/traffic/Tcas.ts:140

A time-of-closest-approach prediction for this intruder using sensitivity settings for traffic advisories.


velocityVec​

readonly velocityVec: ReadonlyFloat64Array

Defined in: src/sdk/traffic/Tcas.ts:128

The 3D velocity vector of this intruder at the time of the last update. Each component is expressed in units of meters per second. The coordinate system is defined the same as for position vectors.


verticalSpeed​

readonly verticalSpeed: NumberUnitReadOnly<Speed>

Defined in: src/sdk/traffic/Tcas.ts:113

The vertical speed of this intruder at the time of the most recent update.

Methods​

predictDisplacement()​

predictDisplacement(simTime, out): Float64Array

Defined in: src/sdk/traffic/Tcas.ts:153

Calculates the predicted 3D displacement vector from own airplane to this intruder at a specified time based on the most recent available data. If insufficient data is available to calculate the prediction, NaN will be written to the result.

Parameters​

ParameterTypeDescription
simTimenumberThe sim time at which to calculate the separation, as a UNIX timestamp in milliseconds.
outFloat64ArrayA Float64Array object to which to write the result.

Returns​

Float64Array

The predicted displacement vector from own airplane to this intruder at the specified time.


predictSeparation()​

predictSeparation(simTime, horizontalOut, verticalOut): void

Defined in: src/sdk/traffic/Tcas.ts:163

Calculates the predicted separation between this intruder and own airplane at a specified time based on the most recent available data and stores the results in the supplied WT_NumberUnit objects. If insufficient data is available to calculate the prediction, NaN will be written to the results.

Parameters​

ParameterTypeDescription
simTimenumberThe sim time at which to calculate the separation, as a UNIX timestamp in milliseconds.
horizontalOutNumberUnit<Distance>A NumberUnit object to which to write the horizontal separation.
verticalOutNumberUnit<Distance>A NumberUnit object to which to write the vertical separation.

Returns​

void