Skip to main content

Class: GpsSynchronizer

Defined in: src/sdk/autopilot/GpsSynchronizer.ts:34

A class that synchronizes LNAV and VNAV data to the sim's built-in GPS system.

Constructors

Constructor

new GpsSynchronizer(bus, flightPlanner, facLoader, options?): GpsSynchronizer

Defined in: src/sdk/autopilot/GpsSynchronizer.ts:71

Creates a new instance of GpsSynchronizer.

Parameters

ParameterTypeDescription
busEventBusThe event bus.
flightPlannerFlightPlannerThe flight planner from which to source active flight plan data.
facLoaderFacilityLoaderAn instance of the facility loader.
options?Readonly<GpsSynchronizerOptions>Options with which to configure the synchronizer.

Returns

GpsSynchronizer

Methods

update()

update(): void

Defined in: src/sdk/autopilot/GpsSynchronizer.ts:244

Updates the GpsSynchronizer.

Returns

void