Skip to main content

Class: LNavComputer

A computer that calculates lateral navigation guidance for an active flight plan.

Constructors

constructor

new LNavComputer(index, bus, flightPlanner, overrideModule?, options?): LNavComputer

Creates a new instance of LNavComputer.

Parameters

NameTypeDescription
indexnumberThe index of this computer.
busEventBusThe event bus to use with this instance.
flightPlannerFlightPlanner<any>The flight planner from which to source the active flight plan.
overrideModule?LNavOverrideModuleA module that can optionally override this computer's tracking behavior.
options?Readonly<LNavComputerOptions>Options with which to configure the new computer.

Returns

LNavComputer

Throws

Error if index is not a non-negative integer.

Defined in

src/sdk/autopilot/lnav/LNavComputer.ts:248

Properties

index

Readonly index: number

The index of this computer.

Defined in

src/sdk/autopilot/lnav/LNavComputer.ts:249


steerCommand

Readonly steerCommand: Subscribable<Readonly<LNavSteerCommand>>

The current steering command calculated by this computer.

Defined in

src/sdk/autopilot/lnav/LNavComputer.ts:237

Methods

update

update(): void

Updates this computer.

Returns

void

Defined in

src/sdk/autopilot/lnav/LNavComputer.ts:355