Skip to main content

Class: Epic2TcasIntruder

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:6

An intruder tracked by Epic2 traffic systems.

Extends​

Constructors​

Constructor​

new Epic2TcasIntruder(contact, simTime, ownAirplanePitch): Epic2TcasIntruder

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:42

Constructor.

Parameters​

ParameterTypeDescription
contactTrafficContactThe traffic contact associated with this intruder.
simTimeSubscribable<number>A subscribable which provides the current sim time, as a UNIX timestamp in milliseconds.
ownAirplanePitchAccessible<number>An accessible which provides the pitch of the own airplane in degrees.

Returns​

Epic2TcasIntruder

Overrides​

AbstractTcasIntruder.constructor

Properties​

_altitude​

protected readonly _altitude: NumberUnit<Distance, SimpleUnit<Distance>>

Defined in: sdk/traffic/Tcas.ts:1359

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

Inherited from​

AbstractTcasIntruder._altitude


_groundSpeed​

protected readonly _groundSpeed: NumberUnit<Speed, CompoundUnit<Speed>>

Defined in: sdk/traffic/Tcas.ts:1366

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

Inherited from​

AbstractTcasIntruder._groundSpeed


_position​

protected readonly _position: GeoPoint

Defined in: sdk/traffic/Tcas.ts:1354

Inherited from​

AbstractTcasIntruder._position


_verticalSpeed​

protected readonly _verticalSpeed: NumberUnit<Speed, CompoundUnit<Speed>>

Defined in: sdk/traffic/Tcas.ts:1370

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

Inherited from​

AbstractTcasIntruder._verticalSpeed


alertLevel​

readonly alertLevel: Subject<TcasAlertLevel>

Defined in: sdk/traffic/Tcas.ts:1496

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

Inherited from​

AbstractTcasIntruder.alertLevel


altitude​

readonly altitude: NumberUnitReadOnly<Distance, SimpleUnit<Distance>>

Defined in: sdk/traffic/Tcas.ts:1360

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

Inherited from​

AbstractTcasIntruder.altitude


contact​

readonly contact: TrafficContact

Defined in: sdk/traffic/Tcas.ts:1521

The traffic contact associated with this intruder.

Inherited from​

AbstractTcasIntruder.contact


elevationAngle​

elevationAngle: number = 0

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:33


groundSpeed​

readonly groundSpeed: NumberUnitReadOnly<Speed, CompoundUnit<Speed>>

Defined in: sdk/traffic/Tcas.ts:1367

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

Inherited from​

AbstractTcasIntruder.groundSpeed


groundTrack​

groundTrack: number = 0

Defined in: sdk/traffic/Tcas.ts:1363

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

Inherited from​

AbstractTcasIntruder.groundTrack


isBearingDisplayDataValid​

isBearingDisplayDataValid: boolean = false

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:34


lastUpdateTime​

protected lastUpdateTime: number = 0

Defined in: sdk/traffic/Tcas.ts:1388

Inherited from​

AbstractTcasIntruder.lastUpdateTime


position​

readonly position: GeoPointReadOnly

Defined in: sdk/traffic/Tcas.ts:1356

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

Inherited from​

AbstractTcasIntruder.position


positionVec​

readonly positionVec: Float64Array<ArrayBufferLike>

Defined in: sdk/traffic/Tcas.ts:1380

The 3D position vector of this airplane 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.

Inherited from​

AbstractTcasIntruder.positionVec


relativePositionVec​

readonly relativePositionVec: Float64Array<ArrayBuffer>

Defined in: sdk/traffic/Tcas.ts:1499

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

Inherited from​

AbstractTcasIntruder.relativePositionVec


relativeVelocityVec​

readonly relativeVelocityVec: Float64Array<ArrayBuffer>

Defined in: sdk/traffic/Tcas.ts:1502

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

Inherited from​

AbstractTcasIntruder.relativeVelocityVec


tcaRA​

readonly tcaRA: TcasTcaPredictionClass

Defined in: sdk/traffic/Tcas.ts:1515

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

Inherited from​

AbstractTcasIntruder.tcaRA


tcaTA​

readonly tcaTA: TcasTcaPredictionClass

Defined in: sdk/traffic/Tcas.ts:1512

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

Inherited from​

AbstractTcasIntruder.tcaTA


velocityVec​

readonly velocityVec: Float64Array<ArrayBufferLike>

Defined in: sdk/traffic/Tcas.ts:1386

The 3D velocity vector of this airplane 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.

Inherited from​

AbstractTcasIntruder.velocityVec


verticalSpeed​

readonly verticalSpeed: NumberUnitReadOnly<Speed, CompoundUnit<Speed>>

Defined in: sdk/traffic/Tcas.ts:1371

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

Inherited from​

AbstractTcasIntruder.verticalSpeed

Accessors​

isPredictionValid​

Get Signature​

get isPredictionValid(): boolean

Defined in: sdk/traffic/Tcas.ts:1507

Whether there is a valid prediction for time of closest approach between this intruder and own airplane.

Returns​

boolean

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

Inherited from​

AbstractTcasIntruder.isPredictionValid


taOffTime​

Get Signature​

get taOffTime(): number

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:23

The sim time, as a UNIX timestamp in milliseconds, at which this intruder's alert level was most recently switched from Traffic Advisory to another alert level.

Returns​

number


taOnTime​

Get Signature​

get taOnTime(): number

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:13

The sim time, as a UNIX timestamp in milliseconds, at which this intruder's alert level was most recently switched to Traffic Advisory from another alert level.

Returns​

number

Methods​

predictDisplacement()​

predictDisplacement(simTime, out): Float64Array

Defined in: sdk/traffic/Tcas.ts:1526

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.

Inherited from​

AbstractTcasIntruder.predictDisplacement


predictSeparation()​

predictSeparation(simTime, horizontalOut, verticalOut): void

Defined in: sdk/traffic/Tcas.ts:1536

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

Inherited from​

AbstractTcasIntruder.predictSeparation


updateBearingDisplayCapabilities()​

updateBearingDisplayCapabilities(adsbEnabled, minBearingAngle, maxBearingAngle): void

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:54

Updates information regarding bearing display capabilities

Parameters​

ParameterTypeDescription
adsbEnabledbooleanWhether ADS-B is enabled
minBearingAnglenumberThe minimum angle of elevation where TCAS can display a bearing
maxBearingAnglenumberThe maximum angle of elevation where TCAS can display a bearing

Returns​

void


updatePrediction()​

updatePrediction(simTime, ownAirplane, sensitivity): void

Defined in: sdk/traffic/Tcas.ts:1554

Updates this intruder's predicted TCA and related data.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
ownAirplaneTcasOwnAirplaneOwn airplane.
sensitivityTcasSensitivityParametersThe TCAS sensitivity parameters to use when calculating predictions.

Returns​

void

Inherited from​

AbstractTcasIntruder.updatePrediction


updateRelativeElevation()​

updateRelativeElevation(): void

Defined in: workingtitle-instruments-epic2/shared/Traffic/Epic2TcasIntruder.ts:72

Calculates the angle of elevation of this intruder relative to the angle of elevation of the current aircraft

Returns​

void


displacementToHorizontalSeparation()​

static displacementToHorizontalSeparation(displacement, out): NumberUnit<Distance>

Defined in: sdk/traffic/Tcas.ts:1676

Converts a 3D displacement vector to a horizontal separation distance.

Parameters​

ParameterTypeDescription
displacementFloat64ArrayA displacement vector, in meters.
outNumberUnit<Distance>A NumberUnit object to which to write the result.

Returns​

NumberUnit<Distance>

The horizontal separation distance corresponding to the displacement vector.

Inherited from​

AbstractTcasIntruder.displacementToHorizontalSeparation


displacementToVerticalSeparation()​

static displacementToVerticalSeparation(displacement, out): NumberUnit<Distance>

Defined in: sdk/traffic/Tcas.ts:1686

Converts a 3D displacement vector to a vertical separation distance.

Parameters​

ParameterTypeDescription
displacementFloat64ArrayA displacement vector, in meters.
outNumberUnit<Distance>A NumberUnit object to which to write the result.

Returns​

NumberUnit<Distance>

The vertical separation distance corresponding to the displacement vector.

Inherited from​

AbstractTcasIntruder.displacementToVerticalSeparation