Skip to main content

Class: Epic2GhostNeedleNavIndicator

Defined in: workingtitle-instruments-epic2/shared/Navigation/Epic2NavIndicators.ts:242

Inherit Doc

Extends

Constructors

Constructor

new Epic2GhostNeedleNavIndicator(navSources, bus, availableSourceNames, displayUnitIndex): Epic2GhostNeedleNavIndicator

Defined in: workingtitle-instruments-epic2/shared/Navigation/Epic2NavIndicators.ts:249

NavIndicator constructor.

Parameters

ParameterTypeDescription
navSourcesEpic2NavSourcesThe possible nav sources that could be pointed to.
busEventBusThe bus.
availableSourceNames("NAV1" | "NAV2")[]The available source names in the order they are cycled through.
displayUnitIndexDisplayUnitIndicesThe display unit this nav indicator is visible on.

Returns

Epic2GhostNeedleNavIndicator

Overrides

Epic2NavIndicatorBase<Epic2NavSourceNames>.constructor

Properties

activeFrequency

readonly activeFrequency: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:69

The active frequency that the nav source is tuned to. Only for NAV and ADF source types. NAV ACTIVE FREQUENCY, ADF ACTIVE FREQUENCY.

Inherited from

Epic2NavIndicatorBase.activeFrequency


bearing

readonly bearing: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:18

Always points to the curently tuned station or next waypoint/fix. NAV RADIAL, ADF RADIAL

Inherited from

Epic2NavIndicatorBase.bearing


course

readonly course: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:24

Either points towards the next waypoint (GPS/FMS), displays the course selected by the course knob (VOR), or displays the fixed course of a localizer (ILS). NAV OBS, L:WTAP_LNav_DTK_Mag

Inherited from

Epic2NavIndicatorBase.course


distance

readonly distance: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:47

DME, distance to the station or next waypoint. Is null when source is NAV and hasDme is false. NAV DME, ADF DISTANCE, L:WTAP_LNav_DIS

Inherited from

Epic2NavIndicatorBase.distance


hasDme

readonly hasDme: Subject<null | boolean>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:52

Whether the source is receiving a valid DME signal. Only for NAV source types. NAV HAS DME

Inherited from

Epic2NavIndicatorBase.hasDme


hasGlideSlope

readonly hasGlideSlope: Subject<null | boolean>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:82

Whether the source is receiving glideslope information. Only for NAV source types. NAV HAS GLIDE SLOPE.

Inherited from

Epic2NavIndicatorBase.hasGlideSlope


hasLocalizer

readonly hasLocalizer: Subject<null | boolean>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:42

Whether the nav source is receiving a valid localizer signal. Only for NAV source types. NAV HAS LOCALIZER

Inherited from

Epic2NavIndicatorBase.hasLocalizer


hasNav

readonly hasNav: Subject<null | boolean>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:64

Whether the source is receiving a nav signal. Only for NAV source types. NAV HAS NAV.

Inherited from

Epic2NavIndicatorBase.hasNav


ident

readonly ident: Subject<null | string>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:59

The ICAO ident of the station or waypoint. NAV IDENT, or flight plan

Inherited from

Epic2NavIndicatorBase.ident


isDmeHoldActive

readonly isDmeHoldActive: Subject<null | boolean>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:55

Whether DME hold is active for this nav source.

Inherited from

Epic2NavIndicatorBase.isDmeHoldActive


isLocalizer

readonly isLocalizer: Subject<null | boolean>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:37

Whether the tuned station is a localizer or not. This can be true even if hasLocalizer is false, because this can be based on the frequency alone. Only for NAV source types. NAV LOCALIZER.

Inherited from

Epic2NavIndicatorBase.isLocalizer


lateralDeviation

readonly lateralDeviation: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:73

Normalized and scaled lateral deviation (-1, 1). NAV CDI, L:WTAP_LNav_XTK

Inherited from

Epic2NavIndicatorBase.lateralDeviation


lateralDeviationScaling

readonly lateralDeviationScaling: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:95

The current CDI scale, in nautical miles. Only for GPS source types. L:WTAP_LNav_CDI_Scale

Inherited from

Epic2NavIndicatorBase.lateralDeviationScaling


lateralDeviationScalingLabel

readonly lateralDeviationScalingLabel: Subject<null | string>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:100

A readable string/enum that shows the name of current scaling being applied to lateral deviation. Only for GPS source types. L:WTAP_LNav_CDI_Scale_Label

Inherited from

Epic2NavIndicatorBase.lateralDeviationScalingLabel


localizerCourse

readonly localizerCourse: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:30

The fixed course of a localizer when available (ILS). Is null when hasLocalizer is false. Only for NAV source types. NAV LOCALIZER

Inherited from

Epic2NavIndicatorBase.localizerCourse


protected readonly navSources: NavSources<readonly ["NAV1", "NAV2", "ADF", "FMS"]>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavIndicators/NavIndicators.ts:44

The possible nav sources that could be pointed to.

Inherited from

Epic2NavIndicatorBase.navSources


setters

protected readonly setters: Map<keyof NavBaseFields, { setter: (value) => void; sub?: Subscription; }>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:117

An automatically generated map of setters to make it easy to set, sub, and unsub, getting around having to call .bind().

Inherited from

Epic2NavIndicatorBase.setters


signalStrength

readonly signalStrength: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:14

Signal strength received from the reference. A value of zero indicates no signal.

Inherited from

Epic2NavIndicatorBase.signalStrength


source

readonly source: Subscribable<null | NavSourceBase<readonly ["NAV1", "NAV2", "ADF", "FMS"]>>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavIndicators/NavIndicators.ts:38

The nav source that is feeding data into the indicator fields. Can only be changed with the setSource function.

Inherited from

Epic2NavIndicatorBase.source


sourceLabel

readonly sourceLabel: Subject<null | string>

Defined in: workingtitle-instruments-epic2/shared/Navigation/Epic2NavIndicators.ts:93

Inherited from

Epic2NavIndicatorBase.sourceLabel


timeToGo

readonly timeToGo: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:85

TTG, estimated time remaining until aircraft reaches next fix. // TODO Implement this

Inherited from

Epic2NavIndicatorBase.timeToGo


toFrom

readonly toFrom: Subject<null | VorToFrom>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:90

Whether course is pointing TO or FROM the station (VOR), or if the aircraft heading is within 90 degress of the desired track (GPS). NAV TOFROM, // TODO FMS VAR?

Inherited from

Epic2NavIndicatorBase.toFrom


verticalDeviation

readonly verticalDeviation: Subject<null | number>

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavBase.ts:77

Normalized and scaled vertical deviation (-1, 1). NAV GLIDE SLOPE ERROR, L:WTAP_VNav_Vertical_Deviation, L:WTAP_LPV_Vertical_Deviation

Inherited from

Epic2NavIndicatorBase.verticalDeviation

Methods

setSource()

setSource(newSourceName): void

Defined in: workingtitle-instruments-epic2/shared/Navigation/NavIndicators/NavIndicators.ts:53

Changes the source of this indicator. All subjects will be republished with the current info from the new source.

Parameters

ParameterTypeDescription
newSourceNamenull | "ADF" | "NAV1" | "NAV2" | "FMS"Name of new source, if any.

Returns

void

Inherited from

Epic2NavIndicatorBase.setSource