Type Alias: APFLCDirectorOptions
APFLCDirectorOptions =
object
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:26
Options for APFLCDirector.
Properties
flcComputer?
optionalflcComputer:GenericFlcComputer
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:59
The FLC computer for the director to use to generate pitch commands. If not defined, then a default computer will be created.
maxPitchDownAngle
maxPitchDownAngle:
number| () =>number
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:35
The maximum absolute pitch down angle, in degrees, supported by the director, or a function which returns it.
maxPitchUpAngle
maxPitchUpAngle:
number| () =>number
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:30
The maximum absolute pitch up angle, in degrees, supported by the director, or a function which returns it.
setSpeedOnActivation()
setSpeedOnActivation: (
currentIas,currentMach,isSelectedSpeedInMach,command) =>void
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:47
A function which commands the director to set selected speed targets when the director is activated. The function takes the following as parameters:
- The airplane's current indicated airspeed, in knots
- The airplane's current mach number
- Whether the current selected speed target is in mach
- An object which defines commands to set selected speed targets. The function should use the command object to set certain selected IAS and mach targets, and whether the selected speed target should be in mach. Any undefined commands will leave the current settings unchanged.
Parameters
| Parameter | Type |
|---|---|
currentIas | number |
currentMach | number |
isSelectedSpeedInMach | boolean |
command | APFLCDirectorSetSpeedCommand |
Returns
void
useIndicatedMach?
optionaluseIndicatedMach:boolean
Defined in: src/sdk/autopilot/directors/APFLCDirector.ts:53
Whether the director should use mach number calculated from the impact pressure derived from indicated airspeed
and ambient pressure instead of the true mach number. Defaults to false.