Class: LNavDirector
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:82
An autopilot director that calculates and follows lateral navigation guidance for an active flight plan.
Deprecated
Implements
Constructors
Constructor
new LNavDirector(
bus
,apValues
,flightPlanner
,obsDirector?
,options?
):LNavDirector
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:114
Creates a new instance of LNavDirector.
Parameters
Parameter | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
apValues | APValues | Autopilot values from this director's parent autopilot. |
flightPlanner | FlightPlanner | The flight planner from which to source the active flight plan. |
obsDirector? | ObsDirector | The director used to track OBS courses. |
options? | Partial <Readonly <LNavDirectorOptions >> | Options to configure the new director. |
Returns
LNavDirector
Properties
driveBank()?
optional
driveBank: (bank
,rate?
) =>void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:92
A function used to drive the autopilot commanded bank angle toward a desired value.
Parameters
Parameter | Type |
---|---|
bank | number |
rate? | number |
Returns
void
Implementation of
onActivate()?
optional
onActivate: () =>void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:86
A callback called when a mode signals it should be activated.
Returns
void
Implementation of
onArm()?
optional
onArm: () =>void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:89
A callback called when a mode signals it should be armed.
Returns
void
Implementation of
state
state:
DirectorState
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:83
The current director state.
Implementation of
Methods
activate()
activate():
void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:191
Activates the guidance mode.
Returns
void
Implementation of
arm()
arm():
void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:200
Arms the guidance mode.
Returns
void
Implementation of
deactivate()
deactivate():
void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:213
Deactivates the guidance mode.
Returns
void
Implementation of
update()
update():
void
Defined in: src/sdk/autopilot/directors/LNavDirector.ts:222
Updates the guidance mode control loops.
Returns
void