Interface: TcasOwnAirplane
Defined in: src/sdk/traffic/Tcas.ts:1262
An own airplane used by Tcas.
Properties
actualGroundSpeed
readonlyactualGroundSpeed:NumberUnitReadOnly<Speed>
Defined in: src/sdk/traffic/Tcas.ts:1291
The actual (omniscient) ground speed of this airplane at the time of the most recent update.
actualGroundTrack
readonlyactualGroundTrack:number
Defined in: src/sdk/traffic/Tcas.ts:1285
The actual (omniscient) true ground track of this airplane at the time of the most recent update.
actualPosition
readonlyactualPosition:GeoPointReadOnly
Defined in: src/sdk/traffic/Tcas.ts:1270
The actual (omniscient) position of this airplane at the time of the most recent update.
actualVelocityVec
readonlyactualVelocityVec:ReadonlyFloat64Array
Defined in: src/sdk/traffic/Tcas.ts:1326
The actual (omniscient) 3D velocity vector of this airplane at the time of the last update, as [x, y, z]. Each
component is expressed in units of meters per second. The coordinate system is the same as the one used for
velocityVec. Only the x and y components contain omnisicent values. The z (vertical) component has the same
value as the z component of velocityVec.
altitude
readonlyaltitude:NumberUnitReadOnly<Distance>
Defined in: src/sdk/traffic/Tcas.ts:1276
The geometric altitude above MSL of this airplane at the time of the most recent update, or NaN if the geometric
altitude is not known.
canUseActiveSurveillance
readonlycanUseActiveSurveillance:boolean
Defined in: src/sdk/traffic/Tcas.ts:1329
Whether the own airplane can use active surveillance to track TCAS intruders at the time of the last update.
groundSpeed
readonlygroundSpeed:NumberUnitReadOnly<Speed>
Defined in: src/sdk/traffic/Tcas.ts:1288
The ground speed of this airplane at the time of the most recent update, or NaN if the track is not known.
groundTrack
readonlygroundTrack:number
Defined in: src/sdk/traffic/Tcas.ts:1282
The true ground track of this airplane, in degrees, at the time of the most recent update, or NaN if the track
is not known.
isOnGround
readonlyisOnGround:boolean
Defined in: src/sdk/traffic/Tcas.ts:1306
Whether this airplane is on the ground at the time of the most recent update.
position
readonlyposition:GeoPointReadOnly
Defined in: src/sdk/traffic/Tcas.ts:1267
The position of this airplane at the time of the most recent update. If the position is not known, then both
latitude and longitude will be NaN.
positionVec
readonlypositionVec:ReadonlyFloat64Array
Defined in: src/sdk/traffic/Tcas.ts:1309
The 3D position vector of this airplane at the time of the last update. Always equal to [0, 0, 0].
radarAltitude
readonlyradarAltitude:NumberUnitReadOnly<Distance>
Defined in: src/sdk/traffic/Tcas.ts:1303
The radar altitude of this airplane at the time of the most recent update, or NaN if the radar altitude is not
known.
velocityVec
readonlyvelocityVec:ReadonlyFloat64Array
Defined in: src/sdk/traffic/Tcas.ts:1318
The 3D velocity vector of this airplane at the time of the last update, as [x, y, z]. Each component is
expressed in units of meters per second. The coordinate system is an Euclidean approximation of the geodetic space
around the airplane such that the positive x axis points horizontally toward true east, the positive y axis points
horizontally toward true north, and the positive z axis points vertically upward. If one of the velocity
components is not known, then it will be NaN.
verticalSpeed
readonlyverticalSpeed:NumberUnitReadOnly<Speed>
Defined in: src/sdk/traffic/Tcas.ts:1297
The barometric vertical speed of this airplane at the time of the most recent update, or NaN if the vertical
speed is not known.
Methods
predictPosition()
predictPosition(
simTime,out):Float64Array
Defined in: src/sdk/traffic/Tcas.ts:1341
Calculates the predicted 3D position vector of this airplane at a specified time based on the most recent available position and velocity data. Each component of the vector is expressed in units of meters. The coordinate system is an Euclidean approximation of the geodetic space around the airplane such that the positive x axis points horizontally toward true east, the positive y axis points horizontally toward true north, and the positive z axis points vertically upward. The origin is at the most recent known position of this airplane.
Parameters
| Parameter | Type | Description |
|---|---|---|
simTime | number | The sim time at which to calculate the position, as a Javascript timestamp. |
out | Float64Array | The vector to which to write the result. |
Returns
Float64Array
The predicted position vector of this airplane at the specified time.
update()
update(
simTime):void
Defined in: src/sdk/traffic/Tcas.ts:1347
Updates this airplane's data.
Parameters
| Parameter | Type | Description |
|---|---|---|
simTime | number | The current sim time, as a Javascript timestamp. |
Returns
void