Skip to main content

Interface: NavSource

Defined in: src/sdk/instruments/NavProcessor.ts:436

The interface to a nav source.

Properties​

activeBrg​

activeBrg: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:444

Whether this is an active bearing source.


activeCdi​

activeCdi: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:446

Whether this is an active CDI source.


bearing​

bearing: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:482

The bearing to this source.


brgHandler()?​

optional brgHandler: (bearing, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:462

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

Parameters​

ParameterType
bearingnull | number
sourceNavSourceId

Returns​

void


deviation?​

optional deviation: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:488

Deviation in points.


deviationHandler()?​

optional deviationHandler: (deviation, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:468

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

Parameters​

ParameterType
deviationnull | number
sourceNavSourceId

Returns​

void


distance​

distance: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:484

Distance to the source.


distHandler()?​

optional distHandler: (distance, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:464

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

Parameters​

ParameterType
distancenull | number
sourceNavSourceId

Returns​

void


glideslopeAngle?​

optional glideslopeAngle: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:496

The glideslope angle.


glideslopeAngleHandler()?​

optional glideslopeAngleHandler: (angle, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:474

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

Parameters​

ParameterType
anglenull | number
sourceNavSourceId

Returns​

void


glideslopeDeviation?​

optional glideslopeDeviation: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:494

The glideslope deviation.


glideslopeDeviationHandler()?​

optional glideslopeDeviationHandler: (deviation, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:472

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

Parameters​

ParameterType
deviationnull | number
sourceNavSourceId

Returns​

void


hasCdi​

hasCdi: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:448

Whether this source provides course deviation information.


hasDme​

hasDme: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:450

Whether the source provides DME info.


hasGlideslope​

hasGlideslope: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:452

Whether the source has glideslope info.


hasLocalizer​

hasLocalizer: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:454

Whether the source has localizer info.


ident​

ident: null | string

Defined in: src/sdk/instruments/NavProcessor.ts:480

The ident for this source.


identHandler()?​

optional identHandler: (ident, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:460

A handler to call when the source ident changes.

Parameters​

ParameterType
identnull | string
sourceNavSourceId

Returns​

void


isLocalizerFrequency​

isLocalizerFrequency: null | boolean

Defined in: src/sdk/instruments/NavProcessor.ts:456

Whether the source is a localizer frequency.


isLocalizerFrequencyHandler()?​

optional isLocalizerFrequencyHandler: (isLocalizer, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:478

A handler to call when wtf.

Parameters​

ParameterType
isLocalizernull | boolean
sourceNavSourceId

Returns​

void


localizerCourse?​

optional localizerCourse: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:492

The localizer course.


magneticVariation?​

optional magneticVariation: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:498

The magnetic variation at the source.


magvarHandler()?​

optional magvarHandler: (magvar, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:476

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

Parameters​

ParameterType
magvarnull | number
sourceNavSourceId

Returns​

void


obs?​

optional obs: number

Defined in: src/sdk/instruments/NavProcessor.ts:486

OBS bearing in degrees.


obsHandler()?​

optional obsHandler: (heading, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:466

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

Parameters​

ParameterType
headingnull | number
sourceNavSourceId

Returns​

void


signal​

signal: null | number

Defined in: src/sdk/instruments/NavProcessor.ts:440

The nav signal strength.


srcId​

srcId: NavSourceId

Defined in: src/sdk/instruments/NavProcessor.ts:438

The ID of the source.


toFrom?​

optional toFrom: VorToFrom

Defined in: src/sdk/instruments/NavProcessor.ts:490

The to/from state of the source.


toFromHandler()?​

optional toFromHandler: (toFrom, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:470

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

Parameters​

ParameterType
toFromVorToFrom
sourceNavSourceId

Returns​

void


valid​

valid: boolean

Defined in: src/sdk/instruments/NavProcessor.ts:442

Whether the source info is valed.


validHandler()?​

optional validHandler: (valid, source) => void

Defined in: src/sdk/instruments/NavProcessor.ts:458

A handler to call when source validity changes.

Parameters​

ParameterType
validboolean
sourceNavSourceId

Returns​

void