Skip to main content

Class: WT21TCAS

Defined in: workingtitle-instruments-wt21/shared/Traffic/WT21TCAS.ts:10

A TCAS II implementation for the WT21.

Extends​

  • Tcas<DefaultTcasIntruder, TcasIISensitivity>

Constructors​

Constructor​

new WT21TCAS(bus, tfcInstrument): WT21TCAS

Defined in: workingtitle-instruments-wt21/shared/Traffic/WT21TCAS.ts:30

Constructor.

Parameters​

ParameterTypeDescription
busEventBusThe event bus.
tfcInstrumentTrafficInstrumentThe traffic instrument which provides traffic contacts for this TCAS.

Returns​

WT21TCAS

Overrides​

Tcas<DefaultTcasIntruder, TcasIISensitivity>.constructor

Properties​

bus​

protected readonly bus: EventBus

Defined in: sdk/traffic/Tcas.ts:504

The event bus.

Inherited from​

Tcas.bus


intrudersFiltered​

protected intrudersFiltered: DefaultTcasIntruder[] = []

Defined in: sdk/traffic/Tcas.ts:463

Inherited from​

Tcas.intrudersFiltered


intrudersRA​

protected readonly intrudersRA: Set<DefaultTcasIntruder>

Defined in: sdk/traffic/Tcas.ts:465

Inherited from​

Tcas.intrudersRA


intrudersSorted​

protected readonly intrudersSorted: DefaultTcasIntruder[] = []

Defined in: sdk/traffic/Tcas.ts:462

Inherited from​

Tcas.intrudersSorted


lastUpdateRealTime​

protected lastUpdateRealTime: number = 0

Defined in: sdk/traffic/Tcas.ts:487

Inherited from​

Tcas.lastUpdateRealTime


lastUpdateSimTime​

protected lastUpdateSimTime: number = 0

Defined in: sdk/traffic/Tcas.ts:486

Inherited from​

Tcas.lastUpdateSimTime


maxIntruderCount​

protected readonly maxIntruderCount: Subscribable<number>

Defined in: sdk/traffic/Tcas.ts:452

Inherited from​

Tcas.maxIntruderCount


operatingModeSub​

protected readonly operatingModeSub: Subject<TcasOperatingMode>

Defined in: sdk/traffic/Tcas.ts:456

Inherited from​

Tcas.operatingModeSub


ownAirplane​

protected readonly ownAirplane: OwnAirplane

Defined in: sdk/traffic/Tcas.ts:460

Inherited from​

Tcas.ownAirplane


ownAirplaneSubs​

protected readonly ownAirplaneSubs: object

Defined in: sdk/traffic/Tcas.ts:474

altitude​

altitude: NumberUnitSubject<Distance, SimpleUnit<Distance>>

groundSpeed​

groundSpeed: NumberUnitSubject<Speed, CompoundUnit<Speed>>

groundTrack​

groundTrack: ConsumerSubject<number>

isOnGround​

isOnGround: ConsumerSubject<boolean>

position​

position: GeoPointSubject

radarAltitude​

radarAltitude: NumberUnitSubject<Distance, SimpleUnit<Distance>>

verticalSpeed​

verticalSpeed: NumberUnitSubject<Speed, CompoundUnit<Speed>>

Inherited from​

Tcas.ownAirplaneSubs


paSeparationCache​

protected readonly paSeparationCache: object

Defined in: sdk/traffic/Tcas.ts:880

horizontal​

horizontal: NumberUnit<Distance, SimpleUnit<Distance>>

vertical​

vertical: NumberUnit<Distance, SimpleUnit<Distance>>

Inherited from​

Tcas.paSeparationCache


realTimeUpdateFreq​

protected readonly realTimeUpdateFreq: Subscribable<number>

Defined in: sdk/traffic/Tcas.ts:453

Inherited from​

Tcas.realTimeUpdateFreq


resolutionAdvisoryHost​

protected readonly resolutionAdvisoryHost: TcasResolutionAdvisoryHostClass

Defined in: sdk/traffic/Tcas.ts:466

Inherited from​

Tcas.resolutionAdvisoryHost


sensitivity​

protected readonly sensitivity: TcasIISensitivity

Defined in: sdk/traffic/Tcas.ts:458

Inherited from​

Tcas.sensitivity


simTime​

protected readonly simTime: ConsumerSubject<number>

Defined in: sdk/traffic/Tcas.ts:484

Inherited from​

Tcas.simTime


simTimeUpdateFreq​

protected readonly simTimeUpdateFreq: Subscribable<number>

Defined in: sdk/traffic/Tcas.ts:454

Inherited from​

Tcas.simTimeUpdateFreq


tfcInstrument​

protected readonly tfcInstrument: TrafficInstrument

Defined in: sdk/traffic/Tcas.ts:505

The traffic instrument which provides traffic contacts for this TCAS.

Inherited from​

Tcas.tfcInstrument

Methods​

canCancelProximityAdvisory()​

protected canCancelProximityAdvisory(simTime, intruder): boolean

Defined in: sdk/traffic/Tcas.ts:1017

Checks whether a proximity advisory can be canceled for an intruder.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether a proximity advisory can be canceled for the intruder.

Inherited from​

Tcas.canCancelProximityAdvisory


canCancelResolutionAdvisory()​

protected canCancelResolutionAdvisory(simTime, intruder): boolean

Defined in: sdk/traffic/Tcas.ts:972

Checks whether a resolution advisory can be canceled for an intruder.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether a resolution advisory can be issued for the intruder.

Inherited from​

Tcas.canCancelResolutionAdvisory


canCancelTrafficAdvisory()​

protected canCancelTrafficAdvisory(simTime, intruder): boolean

Defined in: sdk/traffic/Tcas.ts:995

Checks whether a traffic advisory can be canceled for an intruder.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether a traffic advisory can be canceled for the intruder.

Inherited from​

Tcas.canCancelTrafficAdvisory


canIssueProximityAdvisory()​

protected canIssueProximityAdvisory(simTime, intruder): boolean

Defined in: sdk/traffic/Tcas.ts:1006

Checks whether a proximity advisory can be issued for an intruder.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether a proximity advisory can be issued for the intruder.

Inherited from​

Tcas.canIssueProximityAdvisory


canIssueResolutionAdvisory()​

protected canIssueResolutionAdvisory(simTime, intruder): boolean

Defined in: sdk/traffic/Tcas.ts:958

Checks whether a resolution advisory can be issued for an intruder.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether a resolution advisory can be issued for the intruder.

Inherited from​

Tcas.canIssueResolutionAdvisory


canIssueTrafficAdvisory()​

protected canIssueTrafficAdvisory(simTime, intruder): boolean

Defined in: sdk/traffic/Tcas.ts:984

Checks whether a traffic advisory can be issued for an intruder.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether a traffic advisory can be issued for the intruder.

Inherited from​

Tcas.canIssueTrafficAdvisory


createIntruderEntry()​

protected createIntruderEntry(contact): DefaultTcasIntruder

Defined in: workingtitle-instruments-wt21/shared/Traffic/WT21TCAS.ts:69

Parameters​

ParameterType
contactTrafficContact

Returns​

DefaultTcasIntruder

Inherit Doc​

Overrides​

Tcas.createIntruderEntry


createSensitivity()​

protected createSensitivity(): TcasIISensitivity

Defined in: workingtitle-instruments-wt21/shared/Traffic/WT21TCAS.ts:64

Returns​

TcasIISensitivity

Inherit Doc​

Overrides​

Tcas.createSensitivity


doUpdate()​

protected doUpdate(simTime): void

Defined in: sdk/traffic/Tcas.ts:794

Executes an update.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.

Returns​

void

Inherited from​

Tcas.doUpdate


filterIntruder()​

protected filterIntruder(intruder): boolean

Defined in: sdk/traffic/Tcas.ts:850

Filters an intruder.

Parameters​

ParameterTypeDescription
intruderDefaultTcasIntruderAn intruder.

Returns​

boolean

Whether the intruder should be tracked by this TCAS.

Inherited from​

Tcas.filterIntruder


getEventSubscriber()​

getEventSubscriber(): EventSubscriber<TcasEvents>

Defined in: sdk/traffic/Tcas.ts:579

Gets an event bus subscriber for TCAS events.

Returns​

EventSubscriber<TcasEvents>

an event bus subscriber for TCAS events..

Inherited from​

Tcas.getEventSubscriber


getIntruders()​

getIntruders(): readonly TcasIntruder[]

Defined in: sdk/traffic/Tcas.ts:563

Gets an array of all currently tracked intruders. The intruders are sorted in order of decreasing threat.

Returns​

readonly TcasIntruder[]

an array of all currently tracked intruders.

Inherited from​

Tcas.getIntruders


getOperatingMode()​

getOperatingMode(): TcasOperatingMode

Defined in: sdk/traffic/Tcas.ts:547

Gets this system's operating mode.

Returns​

TcasOperatingMode

This system's operating mode.

Inherited from​

Tcas.getOperatingMode


getResolutionAdvisoryHost()​

getResolutionAdvisoryHost(): TcasResolutionAdvisoryHost

Defined in: sdk/traffic/Tcas.ts:571

Gets this system's resolution advisory host.

Returns​

TcasResolutionAdvisoryHost

This system's resolution advisory host.

Inherited from​

Tcas.getResolutionAdvisoryHost


init()​

init(): void

Defined in: workingtitle-instruments-wt21/shared/Traffic/WT21TCAS.ts:35

Returns​

void

Inherit Doc​

Overrides​

Tcas.init


intruderComparator()​

protected intruderComparator(a, b): number

Defined in: sdk/traffic/Tcas.ts:661

Sorts two intruders.

Parameters​

ParameterTypeDescription
aDefaultTcasIntruderThe first intruder.
bDefaultTcasIntruderThe second intruder.

Returns​

number

A negative number if a is to be sorted before b, a positive number if b is to be sorted before a, and zero if the two are equal.

Inherited from​

Tcas.intruderComparator


onOperatingModeChanged()​

protected onOperatingModeChanged(mode): void

Defined in: sdk/traffic/Tcas.ts:637

Responds to changes in this TCAS's operating mode.

Parameters​

ParameterTypeDescription
modeTcasOperatingModeThe current operating mode.

Returns​

void

Inherited from​

Tcas.onOperatingModeChanged


setOperatingMode()​

setOperatingMode(mode): void

Defined in: sdk/traffic/Tcas.ts:555

Sets this system's operating mode.

Parameters​

ParameterTypeDescription
modeTcasOperatingModeThe new operating mode.

Returns​

void

Inherited from​

Tcas.setOperatingMode


updateFilteredIntruderAlertLevels()​

protected updateFilteredIntruderAlertLevels(simTime): void

Defined in: sdk/traffic/Tcas.ts:858

Updates the alert levels for all intruders tracked by this system that have not been filtered out.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.

Returns​

void

Inherited from​

Tcas.updateFilteredIntruderAlertLevels


updateIntruderAlertLevel()​

protected updateIntruderAlertLevel(simTime, intruder): void

Defined in: sdk/traffic/Tcas.ts:890

Updates an intruder's alert level.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.
intruderDefaultTcasIntruderAn intruder.

Returns​

void

Inherited from​

Tcas.updateIntruderAlertLevel


updateIntruderArrays()​

protected updateIntruderArrays(): void

Defined in: sdk/traffic/Tcas.ts:823

Updates the arrays of intruders tracked by this system.

Returns​

void

Inherited from​

Tcas.updateIntruderArrays


updateIntruderPredictions()​

protected updateIntruderPredictions(simTime): void

Defined in: sdk/traffic/Tcas.ts:808

Updates the TCA predictions for all intruders tracked by this system.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.

Returns​

void

Inherited from​

Tcas.updateIntruderPredictions


updateResolutionAdvisory()​

protected updateResolutionAdvisory(simTime): void

Defined in: sdk/traffic/Tcas.ts:1025

Updates this TCAS's resolution advisory.

Parameters​

ParameterTypeDescription
simTimenumberThe current sim time, as a UNIX timestamp in milliseconds.

Returns​

void

Inherited from​

Tcas.updateResolutionAdvisory


updateSensitivity()​

protected updateSensitivity(): void

Defined in: workingtitle-instruments-wt21/shared/Traffic/WT21TCAS.ts:74

Returns​

void

Inherit Doc​

Overrides​

Tcas.updateSensitivity