Class: GarminObsLNavModule
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:37
An LNAV computer module that calculates lateral navigation for an OBS course to the active flight plan waypoint.
Implements
LNavOverrideModule
Constructors
Constructor
new GarminObsLNavModule(
index
,bus
,flightPlanner
,options?
):GarminObsLNavModule
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:126
Creates a new instance of GarminObsLNavModule.
Parameters
Parameter | Type | Description |
---|---|---|
index | number | The index of this module's parent computer. |
bus | EventBus | The event bus. |
flightPlanner | FlightPlanner | The flight planner from which to source the active flight plan. |
options? | Readonly <GarminObsLNavModuleOptions > | Options with which to configure the new module. |
Returns
GarminObsLNavModule
Properties
index
readonly
index:number
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:127
The index of this module's parent computer.
Methods
activate()
activate(
lnavState
):void
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:221
Parameters
Parameter | Type |
---|---|
lnavState | LNavState |
Returns
void
Inherit Doc
Implementation of
LNavOverrideModule.activate
canActivate()
canActivate():
boolean
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:216
Returns
boolean
Inherit Doc
Implementation of
LNavOverrideModule.canActivate
deactivate()
deactivate(
lnavState
):void
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:235
Parameters
Parameter | Type |
---|---|
lnavState | LNavState |
Returns
void
Inherit Doc
Implementation of
LNavOverrideModule.deactivate
getSteerCommand()
getSteerCommand():
Readonly
<LNavSteerCommand
>
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:206
Returns
Readonly
<LNavSteerCommand
>
Inherit Doc
Implementation of
LNavOverrideModule.getSteerCommand
isActive()
isActive():
boolean
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:211
Returns
boolean
Inherit Doc
Implementation of
LNavOverrideModule.isActive
update()
update(
lnavState
,aircraftState
):void
Defined in: src/garminsdk/autopilot/lnav/GarminObsLNavModule.ts:249
Parameters
Parameter | Type |
---|---|
lnavState | LNavState |
aircraftState | Readonly <LNavAircraftState > |
Returns
void
Inherit Doc
Implementation of
LNavOverrideModule.update