Class: LNavComputer
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:178
A computer that calculates lateral navigation guidance for an active flight plan.
Constructors
Constructor
new LNavComputer(
index,bus,flightPlanner,overrideModule?,options?):LNavComputer
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:287
Creates a new instance of LNavComputer.
Parameters
| Parameter | Type | Description |
|---|---|---|
index | number | The index of this computer. |
bus | EventBus | The event bus to use with this instance. |
flightPlanner | FlightPlanner | 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
LNavComputer
Throws
Error if index is not a non-negative integer.
Properties
index
readonlyindex:number
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:288
The index of this computer.
steerCommand
readonlysteerCommand:Subscribable<Readonly<LNavSteerCommand>>
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:276
The current steering command calculated by this computer.
Methods
update()
update():
void
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:418
Updates this computer.
Returns
void