Interface: TcasIntruder
An intruder tracked by TCAS.
Implemented by
Properties
alertLevel
• Readonly
alertLevel: Subscribable
<TcasAlertLevel
>
A subscribable which provides the alert level assigned to this intruder.
Defined in
src/sdk/traffic/Tcas.ts:95
altitude
• Readonly
altitude: NumberUnitReadOnly
<Distance
, Unit
<Distance
>>
The altitude of this intruder at the time of the most recent update.
Defined in
src/sdk/traffic/Tcas.ts:101
contact
• Readonly
contact: TrafficContact
The traffic contact associated with this intruder.
Defined in
src/sdk/traffic/Tcas.ts:92
groundSpeed
• Readonly
groundSpeed: NumberUnitReadOnly
<Speed
, Unit
<Speed
>>
The ground speed of this intruder at the time of the most recent update.
Defined in
src/sdk/traffic/Tcas.ts:107
groundTrack
• Readonly
groundTrack: number
The true ground track of this intruder at the time of the most recent update.
Defined in
src/sdk/traffic/Tcas.ts:104
isPredictionValid
• Readonly
isPredictionValid: boolean
Whether there is a valid prediction for this intruder's position and velocity.
Defined in
src/sdk/traffic/Tcas.ts:134
position
• Readonly
position: GeoPointReadOnly
The position of this intruder at the time of the most recent update.
Defined in
src/sdk/traffic/Tcas.ts:98
positionVec
• Readonly
positionVec: Readonly
<Omit
<Float64Array
, "set"
| "sort"
| "copyWithin"
>>
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.
Defined in
src/sdk/traffic/Tcas.ts:119
relativePositionVec
• Readonly
relativePositionVec: Readonly
<Omit
<Float64Array
, "set"
| "sort"
| "copyWithin"
>>
The 3D position vector of this intruder relative to own airplane.
Defined in
src/sdk/traffic/Tcas.ts:128
relativeVelocityVec
• Readonly
relativeVelocityVec: Readonly
<Omit
<Float64Array
, "set"
| "sort"
| "copyWithin"
>>
The 3D velocity vector of this intruder relative to own airplane.
Defined in
src/sdk/traffic/Tcas.ts:131
tcaRA
• Readonly
tcaRA: TcasTcaPrediction
A time-of-closest-approach prediction for this intruder using sensitivity settings for resolution advisories.
Defined in
src/sdk/traffic/Tcas.ts:140
tcaTA
• Readonly
tcaTA: TcasTcaPrediction
A time-of-closest-approach prediction for this intruder using sensitivity settings for traffic advisories.
Defined in
src/sdk/traffic/Tcas.ts:137
velocityVec
• Readonly
velocityVec: Readonly
<Omit
<Float64Array
, "set"
| "sort"
| "copyWithin"
>>
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.
Defined in
src/sdk/traffic/Tcas.ts:125
verticalSpeed
• Readonly
verticalSpeed: NumberUnitReadOnly
<Speed
, Unit
<Speed
>>
The vertical speed of this intruder at the time of the most recent update.
Defined in
src/sdk/traffic/Tcas.ts:110
Methods
predictDisplacement
▸ predictDisplacement(simTime
, out
): Float64Array
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
Name | Type | Description |
---|---|---|
simTime | number | The sim time at which to calculate the separation, as a UNIX timestamp in milliseconds. |
out | Float64Array | A Float64Array object to which to write the result. |
Returns
Float64Array
The predicted displacement vector from own airplane to this intruder at the specified time.
Defined in
src/sdk/traffic/Tcas.ts:150
predictSeparation
▸ predictSeparation(simTime
, horizontalOut
, verticalOut
): void
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
Name | Type | Description |
---|---|---|
simTime | number | The sim time at which to calculate the separation, as a UNIX timestamp in milliseconds. |
horizontalOut | NumberUnit <Distance , Unit <Distance >> | A NumberUnit object to which to write the horizontal separation. |
verticalOut | NumberUnit <Distance , Unit <Distance >> | A NumberUnit object to which to write the vertical separation. |
Returns
void
Defined in
src/sdk/traffic/Tcas.ts:160