Class: NavProcessor
The core of tne nav processor
Constructors
constructor
• new NavProcessor(bus
, config
): NavProcessor
Create a NavProcessor.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus to publish to. |
config | NavProcessorConfig | A config object defining our radio options. |
Returns
Defined in
src/sdk/instruments/NavProcessor.ts:1232
Methods
addNavSource
▸ addNavSource(source
): void
Add a custom nav source to the processor.
Parameters
Name | Type | Description |
---|---|---|
source | NavSource | The 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