Class: GarminTcasIntruder
An intruder tracked by Garmin traffic systems.
Hierarchy
AbstractTcasIntruder
↳
GarminTcasIntruder
Constructors
constructor
• new GarminTcasIntruder(contact
, simTime
): GarminTcasIntruder
Constructor.
Parameters
Name | Type | Description |
---|---|---|
contact | TrafficContact | The traffic contact associated with this intruder. |
simTime | Subscribable <number > | A subscribable which provides the current sim time, as a UNIX timestamp in milliseconds. |
Returns
Overrides
AbstractTcasIntruder.constructor
Defined in
src/garminsdk/traffic/GarminTcasIntruder.ts:34
Properties
_altitude
• Protected
Readonly
_altitude: NumberUnit
<Distance
, SimpleUnit
<Distance
>>
The altitude of this airplane at the time of the most recent update.
Inherited from
AbstractTcasIntruder._altitude
Defined in
src/sdk/traffic/Tcas.ts:1105
_groundSpeed
• Protected
Readonly
_groundSpeed: NumberUnit
<Speed
, CompoundUnit
<Speed
>>
The ground speed of this airplane at the time of the most recent update.
Inherited from
AbstractTcasIntruder._groundSpeed
Defined in
src/sdk/traffic/Tcas.ts:1116
_groundTrack
• Protected
_groundTrack: number
= 0
Inherited from
AbstractTcasIntruder._groundTrack
Defined in
src/sdk/traffic/Tcas.ts:1108
_position
• Protected
Readonly
_position: GeoPoint
Inherited from
AbstractTcasIntruder._position
Defined in
src/sdk/traffic/Tcas.ts:1100
_verticalSpeed
• Protected
Readonly
_verticalSpeed: NumberUnit
<Speed
, CompoundUnit
<Speed
>>
The vertical speed of this airplane at the time of the most recent update.
Inherited from
AbstractTcasIntruder._verticalSpeed
Defined in
src/sdk/traffic/Tcas.ts:1120
alertLevel
• Readonly
alertLevel: Subject
<TcasAlertLevel
>
Inherited from
AbstractTcasIntruder.alertLevel
Defined in
src/sdk/traffic/Tcas.ts:1218
altitude
• Readonly
altitude: NumberUnitReadOnly
<Distance
, SimpleUnit
<Distance
>>
Inherited from
AbstractTcasIntruder.altitude
Defined in
src/sdk/traffic/Tcas.ts:1106
contact
• Readonly
contact: TrafficContact
The traffic contact associated with this intruder.
Inherited from
AbstractTcasIntruder.contact
Defined in
src/sdk/traffic/Tcas.ts:1243
groundSpeed
• Readonly
groundSpeed: NumberUnitReadOnly
<Speed
, CompoundUnit
<Speed
>>
Inherited from
AbstractTcasIntruder.groundSpeed
Defined in
src/sdk/traffic/Tcas.ts:1117
lastUpdateTime
• Protected
lastUpdateTime: number
= 0
Inherited from
AbstractTcasIntruder.lastUpdateTime
Defined in
src/sdk/traffic/Tcas.ts:1138
position
• Readonly
position: GeoPointReadOnly
The position of this airplane at the time of the most recent update.
Inherited from
AbstractTcasIntruder.position
Defined in
src/sdk/traffic/Tcas.ts:1102
positionVec
• Readonly
positionVec: Float64Array
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
Defined in
src/sdk/traffic/Tcas.ts:1130
relativePositionVec
• Readonly
relativePositionVec: Float64Array
The 3D position vector of this intruder relative to own airplane.
Inherited from
AbstractTcasIntruder.relativePositionVec
Defined in
src/sdk/traffic/Tcas.ts:1221
relativeVelocityVec
• Readonly
relativeVelocityVec: Float64Array
The 3D velocity vector of this intruder relative to own airplane.
Inherited from
AbstractTcasIntruder.relativeVelocityVec
Defined in
src/sdk/traffic/Tcas.ts:1224
tcaRA
• Readonly
tcaRA: TcasTcaPredictionClass
Inherit Doc
Inherited from
AbstractTcasIntruder.tcaRA
Defined in
src/sdk/traffic/Tcas.ts:1237
tcaTA
• Readonly
tcaTA: TcasTcaPredictionClass
Inherit Doc
Inherited from
AbstractTcasIntruder.tcaTA
Defined in
src/sdk/traffic/Tcas.ts:1234
velocityVec
• Readonly
velocityVec: Float64Array
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
Defined in
src/sdk/traffic/Tcas.ts:1136
verticalSpeed
• Readonly
verticalSpeed: NumberUnitReadOnly
<Speed
, CompoundUnit
<Speed
>>
Inherited from
AbstractTcasIntruder.verticalSpeed
Defined in
src/sdk/traffic/Tcas.ts:1121
Accessors
groundTrack
• get
groundTrack(): number
The true ground track of this airplane at the time of the most recent update.
Returns
number
Inherited from
AbstractTcasIntruder.groundTrack
Defined in
src/sdk/traffic/Tcas.ts:1111
isPredictionValid
• get
isPredictionValid(): boolean
Whether there is a valid prediction for time of closest approach between this intruder and own airplane.
Returns
boolean
Inherited from
AbstractTcasIntruder.isPredictionValid
Defined in
src/sdk/traffic/Tcas.ts:1229
taOffTime
• get
taOffTime(): number
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
Defined in
src/garminsdk/traffic/GarminTcasIntruder.ts:23
taOnTime
• get
taOnTime(): number
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
Defined in
src/garminsdk/traffic/GarminTcasIntruder.ts:13
Methods
predictDisplacement
▸ predictDisplacement(simTime
, out
): Float64Array
Parameters
Name | Type |
---|---|
simTime | number |
out | Float64Array |
Returns
Float64Array
Inherit Doc
Inherited from
AbstractTcasIntruder.predictDisplacement
Defined in
src/sdk/traffic/Tcas.ts:1248
predictSeparation
▸ predictSeparation(simTime
, horizontalOut
, verticalOut
): void
Parameters
Name | Type |
---|---|
simTime | number |
horizontalOut | NumberUnit <Distance , Unit <Distance >> |
verticalOut | NumberUnit <Distance , Unit <Distance >> |
Returns
void
Inherit Doc
Inherited from
AbstractTcasIntruder.predictSeparation
Defined in
src/sdk/traffic/Tcas.ts:1258
updatePrediction
▸ updatePrediction(simTime
, ownAirplane
, sensitivity
): void
Updates this intruder's predicted TCA and related data.
Parameters
Name | Type | Description |
---|---|---|
simTime | number | The current sim time, as a UNIX timestamp in milliseconds. |
ownAirplane | OwnAirplane | Own airplane. |
sensitivity | TcasSensitivityParameters | The TCAS sensitivity parameters to use when calculating predictions. |
Returns
void
Inherited from
AbstractTcasIntruder.updatePrediction
Defined in
src/sdk/traffic/Tcas.ts:1276
displacementToHorizontalSeparation
▸ displacementToHorizontalSeparation(displacement
, out
): NumberUnit
<Distance
, Unit
<Distance
>>
Converts a 3D displacement vector to a horizontal separation distance.
Parameters
Name | Type | Description |
---|---|---|
displacement | Float64Array | A displacement vector, in meters. |
out | NumberUnit <Distance , Unit <Distance >> | A NumberUnit object to which to write the result. |
Returns
NumberUnit
<Distance
, Unit
<Distance
>>
The horizontal separation distance corresponding to the displacement vector.
Inherited from
AbstractTcasIntruder.displacementToHorizontalSeparation
Defined in
src/sdk/traffic/Tcas.ts:1365
displacementToVerticalSeparation
▸ displacementToVerticalSeparation(displacement
, out
): NumberUnit
<Distance
, Unit
<Distance
>>
Converts a 3D displacement vector to a vertical separation distance.
Parameters
Name | Type | Description |
---|---|---|
displacement | Float64Array | A displacement vector, in meters. |
out | NumberUnit <Distance , Unit <Distance >> | A NumberUnit object to which to write the result. |
Returns
NumberUnit
<Distance
, Unit
<Distance
>>
The vertical separation distance corresponding to the displacement vector.
Inherited from
AbstractTcasIntruder.displacementToVerticalSeparation
Defined in
src/sdk/traffic/Tcas.ts:1375