Class: LNavComputer
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:95
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:248
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
readonly
index:number
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:249
The index of this computer.
steerCommand
readonly
steerCommand:Subscribable
<Readonly
<LNavSteerCommand
>>
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:237
The current steering command calculated by this computer.
Methods
update()
update():
void
Defined in: src/sdk/autopilot/lnav/LNavComputer.ts:355
Updates this computer.
Returns
void