Skip to main content

Interface: NavSource

The interface to a nav source.

Properties

activeBrg

activeBrg: boolean

Whether this is an active bearing source.

Defined in

src/sdk/instruments/NavProcessor.ts:444


activeCdi

activeCdi: boolean

Whether this is an active CDI source.

Defined in

src/sdk/instruments/NavProcessor.ts:446


bearing

bearing: null | number

The bearing to this source.

Defined in

src/sdk/instruments/NavProcessor.ts:482


brgHandler

Optional brgHandler: (bearing: null | number, source: NavSourceId) => void

A handler to call when the bearing to the source changes.

Type declaration

▸ (bearing, source): void

A handler to call when the bearing to the source changes.

Parameters
NameType
bearingnull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:462


deviation

Optional deviation: null | number

Deviation in points.

Defined in

src/sdk/instruments/NavProcessor.ts:488


deviationHandler

Optional deviationHandler: (deviation: null | number, source: NavSourceId) => void

A handler to call when the lateral deviation from the source changes.

Type declaration

▸ (deviation, source): void

A handler to call when the lateral deviation from the source changes.

Parameters
NameType
deviationnull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:468


distHandler

Optional distHandler: (distance: null | number, source: NavSourceId) => void

A handler to call when the distance to the source changes.

Type declaration

▸ (distance, source): void

A handler to call when the distance to the source changes.

Parameters
NameType
distancenull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:464


distance

distance: null | number

Distance to the source.

Defined in

src/sdk/instruments/NavProcessor.ts:484


glideslopeAngle

Optional glideslopeAngle: null | number

The glideslope angle.

Defined in

src/sdk/instruments/NavProcessor.ts:496


glideslopeAngleHandler

Optional glideslopeAngleHandler: (angle: null | number, source: NavSourceId) => void

A handler to call when the angle on the glide slope changes.

Type declaration

▸ (angle, source): void

A handler to call when the angle on the glide slope changes.

Parameters
NameType
anglenull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:474


glideslopeDeviation

Optional glideslopeDeviation: null | number

The glideslope deviation.

Defined in

src/sdk/instruments/NavProcessor.ts:494


glideslopeDeviationHandler

Optional glideslopeDeviationHandler: (deviation: null | number, source: NavSourceId) => void

A handler to call when the vertical deviation from the source changes.

Type declaration

▸ (deviation, source): void

A handler to call when the vertical deviation from the source changes.

Parameters
NameType
deviationnull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:472


hasCdi

hasCdi: boolean

Whether this source provides course deviation information.

Defined in

src/sdk/instruments/NavProcessor.ts:448


hasDme

hasDme: boolean

Whether the source provides DME info.

Defined in

src/sdk/instruments/NavProcessor.ts:450


hasGlideslope

hasGlideslope: boolean

Whether the source has glideslope info.

Defined in

src/sdk/instruments/NavProcessor.ts:452


hasLocalizer

hasLocalizer: boolean

Whether the source has localizer info.

Defined in

src/sdk/instruments/NavProcessor.ts:454


ident

ident: null | string

The ident for this source.

Defined in

src/sdk/instruments/NavProcessor.ts:480


identHandler

Optional identHandler: (ident: null | string, source: NavSourceId) => void

A handler to call when the source ident changes.

Type declaration

▸ (ident, source): void

A handler to call when the source ident changes.

Parameters
NameType
identnull | string
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:460


isLocalizerFrequency

isLocalizerFrequency: null | boolean

Whether the source is a localizer frequency.

Defined in

src/sdk/instruments/NavProcessor.ts:456


isLocalizerFrequencyHandler

Optional isLocalizerFrequencyHandler: (isLocalizer: null | boolean, source: NavSourceId) => void

A handler to call when wtf.

Type declaration

▸ (isLocalizer, source): void

A handler to call when wtf.

Parameters
NameType
isLocalizernull | boolean
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:478


localizerCourse

Optional localizerCourse: null | number

The localizer course.

Defined in

src/sdk/instruments/NavProcessor.ts:492


magneticVariation

Optional magneticVariation: null | number

The magnetic variation at the source.

Defined in

src/sdk/instruments/NavProcessor.ts:498


magvarHandler

Optional magvarHandler: (magvar: null | number, source: NavSourceId) => void

A handler to call when the magvar of the source changes.

Type declaration

▸ (magvar, source): void

A handler to call when the magvar of the source changes.

Parameters
NameType
magvarnull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:476


obs

Optional obs: number

OBS bearing in degrees.

Defined in

src/sdk/instruments/NavProcessor.ts:486


obsHandler

Optional obsHandler: (heading: null | number, source: NavSourceId) => void

A handler to call when the OBS setting for the source changes.

Type declaration

▸ (heading, source): void

A handler to call when the OBS setting for the source changes.

Parameters
NameType
headingnull | number
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:466


signal

signal: null | number

The nav signal strength.

Defined in

src/sdk/instruments/NavProcessor.ts:440


srcId

srcId: NavSourceId

The ID of the source.

Defined in

src/sdk/instruments/NavProcessor.ts:438


toFrom

Optional toFrom: VorToFrom

The to/from state of the source.

Defined in

src/sdk/instruments/NavProcessor.ts:490


toFromHandler

Optional toFromHandler: (toFrom: VorToFrom, source: NavSourceId) => void

A handler to call when the to/from state of the source changes.

Type declaration

▸ (toFrom, source): void

A handler to call when the to/from state of the source changes.

Parameters
NameType
toFromVorToFrom
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:470


valid

valid: boolean

Whether the source info is valed.

Defined in

src/sdk/instruments/NavProcessor.ts:442


validHandler

Optional validHandler: (valid: boolean, source: NavSourceId) => void

A handler to call when source validity changes.

Type declaration

▸ (valid, source): void

A handler to call when source validity changes.

Parameters
NameType
validboolean
sourceNavSourceId
Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:458