Class: LNavDirector
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
Creates a new instance of LNavDirector.
Parameters
Name | Type | Description |
---|---|---|
bus | EventBus | The event bus. |
apValues | APValues | Autopilot values from this director's parent autopilot. |
flightPlanner | FlightPlanner <any > | 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
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:114
Properties
driveBank
• Optional
driveBank: (bank
: number
, rate?
: number
) => void
A function used to drive the autopilot commanded bank angle toward a desired value.
Param
The desired bank angle, in degrees. Positive values indicate left bank.
Param
The rate at which to drive the commanded bank angle, in degrees per second. If not defined, a default rate will be used.
Type declaration
▸ (bank
, rate?
): void
Parameters
Name | Type |
---|---|
bank | number |
rate? | number |
Returns
void
Inherit Doc
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:92
onActivate
• Optional
onActivate: () => void
A callback called when a mode signals it should be activated.
Type declaration
▸ (): void
Returns
void
Inherit Doc
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:86
onArm
• Optional
onArm: () => void
A callback called when a mode signals it should be armed.
Type declaration
▸ (): void
Returns
void
Inherit Doc
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:89
state
• state: DirectorState
The current director state.
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:83
Methods
activate
▸ activate(): void
Activates the guidance mode.
Returns
void
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:191
arm
▸ arm(): void
Arms the guidance mode.
Returns
void
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:200
deactivate
▸ deactivate(): void
Deactivates the guidance mode.
Returns
void
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:213
update
▸ update(): void
Updates the guidance mode control loops.
Returns
void
Implementation of
Defined in
src/sdk/autopilot/directors/LNavDirector.ts:222