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
Name | Type | Description |
---|---|---|
index | number | The index of this computer. |
bus | EventBus | The event bus to use with this instance. |
flightPlanner | FlightPlanner <any > | The flight planner from which to source the active flight plan. |
overrideModule? | LNavOverrideModule | A module that can optionally override this computer's tracking behavior. |
options? | Readonly <LNavComputerOptions > | Options with which to configure the new computer. |
Returns
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