Skip to main content

Class: NavProcessor

The core of tne nav processor

Constructors

constructor

new NavProcessor(bus, config): NavProcessor

Create a NavProcessor.

Parameters

NameTypeDescription
busEventBusThe event bus to publish to.
configNavProcessorConfigA config object defining our radio options.

Returns

NavProcessor

Defined in

src/sdk/instruments/NavProcessor.ts:1232

Methods

addNavSource

addNavSource(source): void

Add a custom nav source to the processor.

Parameters

NameTypeDescription
sourceNavSourceThe implementation of NavSourceBase to add.

Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:1445


init

init(): void

Initialize a nav processor

Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:1248


onUpdate

onUpdate(): void

Perform events for the update loop.

Returns

void

Defined in

src/sdk/instruments/NavProcessor.ts:1812