Abstract Class: AbstractTcasIntruder
Defined in: src/sdk/traffic/Tcas.ts:1213
An abstract implementation of TcasIntruder.
Extends
TcasAirplane
Extended by
Implements
Constructors
Constructor
new AbstractTcasIntruder(
contact
):AbstractTcasIntruder
Defined in: src/sdk/traffic/Tcas.ts:1243
Constructor.
Parameters
Parameter | Type | Description |
---|---|---|
contact | TrafficContact | The traffic contact associated with this intruder. |
Returns
AbstractTcasIntruder
Overrides
TcasAirplane.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
TcasAirplane._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
TcasAirplane._groundSpeed
_groundTrack
protected
_groundTrack:number
=0
Defined in: src/sdk/traffic/Tcas.ts:1108
Inherited from
TcasAirplane._groundTrack
_position
protected
readonly
_position:GeoPoint
Defined in: src/sdk/traffic/Tcas.ts:1100
Inherited from
TcasAirplane._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
TcasAirplane._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.
Implementation of
altitude
readonly
altitude:NumberUnitReadOnly
<Distance
,SimpleUnit
<Distance
>>
Defined in: src/sdk/traffic/Tcas.ts:1106
The altitude of this intruder at the time of the most recent update.
Implementation of
Inherited from
TcasAirplane.altitude
contact
readonly
contact:TrafficContact
Defined in: src/sdk/traffic/Tcas.ts:1243
The traffic contact associated with this intruder.
Implementation of
groundSpeed
readonly
groundSpeed:NumberUnitReadOnly
<Speed
,CompoundUnit
<Speed
>>
Defined in: src/sdk/traffic/Tcas.ts:1117
The ground speed of this intruder at the time of the most recent update.
Implementation of
Inherited from
TcasAirplane.groundSpeed
lastUpdateTime
protected
lastUpdateTime:number
=0
Defined in: src/sdk/traffic/Tcas.ts:1138
Inherited from
TcasAirplane.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.
Implementation of
Inherited from
TcasAirplane.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.
Implementation of
Inherited from
TcasAirplane.positionVec
relativePositionVec
readonly
relativePositionVec:Float64Array
Defined in: src/sdk/traffic/Tcas.ts:1221
The 3D position vector of this intruder relative to own airplane.
Implementation of
TcasIntruder
.relativePositionVec
relativeVelocityVec
readonly
relativeVelocityVec:Float64Array
Defined in: src/sdk/traffic/Tcas.ts:1224
The 3D velocity vector of this intruder relative to own airplane.
Implementation of
TcasIntruder
.relativeVelocityVec
tcaRA
readonly
tcaRA:TcasTcaPredictionClass
Defined in: src/sdk/traffic/Tcas.ts:1237
A time-of-closest-approach prediction for this intruder using sensitivity settings for resolution advisories.
Implementation of
tcaTA
readonly
tcaTA:TcasTcaPredictionClass
Defined in: src/sdk/traffic/Tcas.ts:1234
A time-of-closest-approach prediction for this intruder using sensitivity settings for traffic advisories.
Implementation of
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.
Implementation of
Inherited from
TcasAirplane.velocityVec
verticalSpeed
readonly
verticalSpeed:NumberUnitReadOnly
<Speed
,CompoundUnit
<Speed
>>
Defined in: src/sdk/traffic/Tcas.ts:1121
The vertical speed of this intruder at the time of the most recent update.
Implementation of
Inherited from
TcasAirplane.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
The true ground track of this intruder at the time of the most recent update.
Implementation of
Inherited from
TcasAirplane.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
Whether there is a valid prediction for this intruder's position and velocity.
Implementation of
TcasIntruder
.isPredictionValid
Methods
predictDisplacement()
predictDisplacement(
simTime
,out
):Float64Array
Defined in: src/sdk/traffic/Tcas.ts:1248
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
Parameter | 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.
Implementation of
TcasIntruder
.predictDisplacement
predictSeparation()
predictSeparation(
simTime
,horizontalOut
,verticalOut
):void
Defined in: src/sdk/traffic/Tcas.ts:1258
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
Parameter | Type | Description |
---|---|---|
simTime | number | The sim time at which to calculate the separation, as a UNIX timestamp in milliseconds. |
horizontalOut | NumberUnit <Distance > | A NumberUnit object to which to write the horizontal separation. |
verticalOut | NumberUnit <Distance > | A NumberUnit object to which to write the vertical separation. |
Returns
void
Implementation of
TcasIntruder
.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
Parameter | 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
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
Parameter | Type | Description |
---|---|---|
displacement | Float64Array | A displacement vector, in meters. |
out | NumberUnit <Distance > | A NumberUnit object to which to write the result. |
Returns
The horizontal separation distance corresponding to the displacement vector.
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
Parameter | Type | Description |
---|---|---|
displacement | Float64Array | A displacement vector, in meters. |
out | NumberUnit <Distance > | A NumberUnit object to which to write the result. |
Returns
The vertical separation distance corresponding to the displacement vector.