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
| Parameter | Type | Description |
|---|---|---|
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner | The flight planner from which to source active flight plan data. |
facLoader | FacilityLoader | An 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