Skip to main content

Class: GarminTcasIntruder

Defined in: src/garminsdk/traffic/GarminTcasIntruder.ts:6

An intruder tracked by Garmin traffic systems.

Extends

  • AbstractTcasIntruder

Constructors

Constructor

new GarminTcasIntruder(contact, simTime): GarminTcasIntruder

Defined in: src/garminsdk/traffic/GarminTcasIntruder.ts:34

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.

Returns

GarminTcasIntruder

Overrides

AbstractTcasIntruder.constructor

Properties

_altitude

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

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

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: src/sdk/traffic/Tcas.ts:1116

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

Inherited from

AbstractTcasIntruder._groundSpeed


_groundTrack

protected _groundTrack: number = 0

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

Inherited from

AbstractTcasIntruder._groundTrack


_position

protected readonly _position: GeoPoint

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

Inherited from

AbstractTcasIntruder._position


_verticalSpeed

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

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

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: src/sdk/traffic/Tcas.ts:1218

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

Inherited from

AbstractTcasIntruder.alertLevel


altitude

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

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

Inherited from

AbstractTcasIntruder.altitude


contact

readonly contact: TrafficContact

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

The traffic contact associated with this intruder.

Inherited from

AbstractTcasIntruder.contact


groundSpeed

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

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

Inherited from

AbstractTcasIntruder.groundSpeed


lastUpdateTime

protected lastUpdateTime: number = 0

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

Inherited from

AbstractTcasIntruder.lastUpdateTime


position

readonly position: GeoPointReadOnly

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

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

Inherited from

AbstractTcasIntruder.position


positionVec

readonly positionVec: Float64Array

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

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

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

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

Inherited from

AbstractTcasIntruder.relativePositionVec


relativeVelocityVec

readonly relativeVelocityVec: Float64Array

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

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

Inherited from

AbstractTcasIntruder.relativeVelocityVec


tcaRA

readonly tcaRA: TcasTcaPredictionClass

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

Inherit Doc

Inherited from

AbstractTcasIntruder.tcaRA


tcaTA

readonly tcaTA: TcasTcaPredictionClass

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

Inherit Doc

Inherited from

AbstractTcasIntruder.tcaTA


velocityVec

readonly velocityVec: Float64Array

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

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: src/sdk/traffic/Tcas.ts:1121

Inherited from

AbstractTcasIntruder.verticalSpeed

Accessors

groundTrack

Get Signature

get groundTrack(): number

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

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

Returns

number

Inherited from

AbstractTcasIntruder.groundTrack


isPredictionValid

Get Signature

get isPredictionValid(): boolean

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

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

Returns

boolean

Inherited from

AbstractTcasIntruder.isPredictionValid


taOffTime

Get Signature

get taOffTime(): number

Defined in: src/garminsdk/traffic/GarminTcasIntruder.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: src/garminsdk/traffic/GarminTcasIntruder.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: src/sdk/traffic/Tcas.ts:1248

Parameters

ParameterType
simTimenumber
outFloat64Array

Returns

Float64Array

Inherit Doc

Inherited from

AbstractTcasIntruder.predictDisplacement


predictSeparation()

predictSeparation(simTime, horizontalOut, verticalOut): void

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

Parameters

ParameterType
simTimenumber
horizontalOutNumberUnit<Distance>
verticalOutNumberUnit<Distance>

Returns

void

Inherit Doc

Inherited from

AbstractTcasIntruder.predictSeparation


updatePrediction()

updatePrediction(simTime, ownAirplane, sensitivity): void

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

Updates this intruder's predicted TCA and related data.

Parameters

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

Returns

void

Inherited from

AbstractTcasIntruder.updatePrediction


displacementToHorizontalSeparation()

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

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

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: src/sdk/traffic/Tcas.ts:1375

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