Skip to main content

Class: NavComInstrument

The core instrument that will drive all of a system's radios.

Requires that the topics defined in NavComEvents are published to the event bus.

Constructors

constructor

new NavComInstrument(bus, config, numNavRadios, numComRadios, sync?): NavComInstrument

Create a NavComController.

Parameters

NameTypeDefault valueDescription
busEventBusundefinedThe event bus to publish to.
configundefined | NavComConfigundefinedA NavComConfig object defining the radio configuration.
numNavRadiosnumberundefinedThe number of nav radios in the system.
numComRadiosnumberundefinedThe number of com radios in the system.
syncbooleantrueWhether to sync events or not, default true.

Returns

NavComInstrument

Defined in

src/sdk/instruments/NavComInstrument.ts:144

Methods

init

init(): void

Initialize the instrument.

Returns

void

Defined in

src/sdk/instruments/NavComInstrument.ts:182


onUpdate

onUpdate(): void

Perform events for the update loop.

Returns

void

Defined in

src/sdk/instruments/NavComInstrument.ts:260