Skip to main content

@microsoft/msfs-sdk

Namespaces

Enumerations

Classes

Interfaces

Type Aliases

APAltCapDirectorActivationFunc

Ƭ APAltCapDirectorActivationFunc: (vs: number, targetAltitude: number, currentAltitude: number) => boolean

A function which returns true if the capturing shall be activated

Type declaration

▸ (vs, targetAltitude, currentAltitude): boolean

Parameters
NameTypeDescription
vsnumberCurrent vertical speed in [ft/min]
targetAltitudenumberTarget altitude [ft]
currentAltitudenumberCurrent altitude [ft]
Returns

boolean

Defined in

src/sdk/autopilot/directors/APAltCapDirector.ts:51


APAltCapDirectorCaptureFunc

Ƭ APAltCapDirectorCaptureFunc: (targetAltitude: number, indicatedAltitude: number, initialFpa: number, tas: number) => number

A function which calculates a desired pitch angle, in degrees, to capture a target altitude.

Type declaration

▸ (targetAltitude, indicatedAltitude, initialFpa, tas): number

Parameters
NameTypeDescription
targetAltitudenumberThe altitude to capture, in feet.
indicatedAltitudenumberThe current indicated altitude, in feet.
initialFpanumberThe flight path angle of the airplane, in degrees, when altitude capture was first activated. Positive values indicate a descending path.
tasnumberThe current true airspeed of the airplane, in knots.
Returns

number

Defined in

src/sdk/autopilot/directors/APAltCapDirector.ts:36


APAltCapDirectorOptions

Ƭ APAltCapDirectorOptions: Object

Options for APAltCapDirector.

Type declaration

NameTypeDescription
captureAltitudeAPAltCapDirectorCaptureFunc | undefinedAn optional function that contains the logic for the capturing. Has to return the desired pitch as input for the pitch controller.
shouldActivateAPAltCapDirectorActivationFunc | undefinedA function that returns true if the capturing shall start.

Defined in

src/sdk/autopilot/directors/APAltCapDirector.ts:13


APBackCourseDirectorInterceptFunc

Ƭ APBackCourseDirectorInterceptFunc: (distanceToSource: number, deflection: number, xtk: number, tas: number) => number

Calculates an intercept angle, in degrees, to capture the desired track from a localizer signal for APBackCourseDirector.

Type declaration

▸ (distanceToSource, deflection, xtk, tas): number

Parameters
NameTypeDescription
distanceToSourcenumberThe distance from the plane to the source of the navigation signal, in nautical miles.
deflectionnumberThe lateral deflection of the desired track relative to the plane, normalized from -1 to 1. Positive values indicate that the desired track is to the right of the plane.
xtknumberThe cross-track error of the plane from the desired track, in nautical miles. Positive values indicate that the plane is to the right of the track.
tasnumberThe true airspeed of the plane, in knots.
Returns

number

Defined in

src/sdk/autopilot/directors/APBackCourseDirector.ts:96


APBackCourseDirectorOptions

Ƭ APBackCourseDirectorOptions: Object

Options for APBackCourseDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not defined, a default bank rate will be used. Defaults to undefined.
bankRateIntercept?number | () => numberThe bank rate to enforce when the director commands changes in bank angle during intercept phase, in degrees per second, or a function which returns it. If not defined, the bank rate defined by bankRate will be used. Defaults to undefined.
bankRateTracking?number | () => numberThe bank rate to enforce when the director commands changes in bank angle during tracking phase, in degrees per second, or a function which returns it. If not defined, the bank rate defined by bankRate will be used. Defaults to undefined.
desiredBankIntercept?(trackError: number) => numberA function which computes a desired bank angle to command for a given track error during intercept phase. The track error is the difference between the director's computed desired track and the airplane's actual ground track in the range [-180, 180) degrees. A positive error indicates that the shortest turn direction from the actual ground track toward the desired track is to the right. A positive bank angle indicates leftward bank. Defaults to a linear function which scales the track error by 2.5 to derive the desired bank angle.
desiredBankTracking?(trackError: number) => numberA function which computes a desired bank angle to command for a given track error during tracking phase. The track error is the difference between the director's computed desired track and the airplane's actual ground track in the range [-180, 180) degrees. A positive error indicates that the shortest turn direction from the actual ground track toward the desired track is to the right. A positive bank angle indicates leftward bank. Defaults to a linear function which scales the track error by 1.25 to derive the desired bank angle.
lateralInterceptCurve?APBackCourseDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle. If not defined, a function that computes a default curve tuned for slow GA aircraft will be used.
lateralInterceptCurveIntercept?APBackCourseDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle during intercept phase. If not defined, the function defined by lateralInterceptCurve will be used instead. Defaults to undefined.
lateralInterceptCurveTracking?APBackCourseDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle during tracking phase. If not defined, the function defined by lateralInterceptCurve will be used instead. Defaults to undefined.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.
maxBankAngleIntercept?number | () => numberThe maximum bank angle, in degrees, supported by the director during intercept phase, or a function which returns it. If not defined, the director will use the maximum bank angle defined by maxBankAngle. Defaults to undefined.
maxBankAngleTracking?number | () => numberThe maximum bank angle, in degrees, supported by the director during tracking phase, or a function which returns it. If not defined, the director will use the maximum bank angle defined by maxBankAngle. Defaults to undefined.
phaseOptions?Readonly<APBackCourseDirectorPhaseOptions>Options with which to configure the default phase selector logic. Ignored if the phaseSelector option is specified.
phaseSelector?APBackCourseDirectorPhaseSelectorFuncA function which selects the phase for the director to use when it is active and tracking a navigation signal. If not defined, the director will use a default selector which can be configured using the phaseOptions option.

Defined in

src/sdk/autopilot/directors/APBackCourseDirector.ts:121


APBackCourseDirectorPhaseOptions

Ƭ APBackCourseDirectorPhaseOptions: Object

Options which which to configure APBackCourseDirector's default phase selection logic.

The director switches from intercept phase to tracking phase only when all tracking phase conditions are met. The director switches from tracking phase to intercept phase when any of the intercept phase conditions is met.

When the director is activated from an armed state, it will default to intercept phase unless all tracking phase conditions are met, in which case it will immediately enter tracking phase. The normal delay for entering tracking phase is ignored in this situation.

Type declaration

NameTypeDescription
interceptCourseError?numberThe minimum absolute value of the error between the course of the desired track and the airplane's actual ground track, in degrees, required to enter intercept phase. Defaults to 5.
interceptDeflection?numberThe minimum absolute value of the lateral deflection of the desired track relative to the plane, normalized from 0 to 1, required to enter intercept phase. Defaults to 0.25.
interceptSwitchDelay?numberThe amount of time that the conditions for switching to intercept phase must be met, in milliseconds, before the director switches from tracking phase to intercept phase. Defaults to 5000.
interceptXtk?numberThe minimum absolute value of the cross-track error of the plane from the desired track, in nautical miles, required to enter intercept phase. Defaults to Infinity.
trackingCourseError?numberThe maximum allowed absolute value of the error between the course of the desired track and the airplane's actual ground track, in degrees, required to enter intercept phase. Defaults to 2.
trackingDeflection?numberThe maximum allowed absolute value of the lateral deflection of the desired track relative to the plane, normalized from 0 to 1, required to enter tracking phase. Defaults to 0.125.
trackingSwitchDelay?numberThe amount of time that the conditions for switching to tracking phase must be met, in milliseconds, before the director switches from intercept phase to tracking phase. Defaults to 5000.
trackingXtk?numberThe maximum allowed absolute value of the cross-track error of the plane from the desired track, in nautical miles, required to enter intercept phase. Defaults to Infinity.

Defined in

src/sdk/autopilot/directors/APBackCourseDirector.ts:35


APBackCourseDirectorPhaseSelectorFunc

Ƭ APBackCourseDirectorPhaseSelectorFunc: (currentPhase: APBackCourseDirectorPhase | undefined, deflection: number, xtk: number, course: number, track: number) => APBackCourseDirectorPhase

Selects a phase for APBackCourseDirector to use while it is active and tracking a localizer signal.

Type declaration

▸ (currentPhase, deflection, xtk, course, track): APBackCourseDirectorPhase

Parameters
NameTypeDescription
currentPhaseAPBackCourseDirectorPhase | undefinedThe current phase, or undefined if no phase has been selected since the last time the director was activated.
deflectionnumberThe lateral deflection of the desired track relative to the plane, normalized from -1 to 1. Positive values indicate that the desired track is to the right of the plane.
xtknumberThe cross-track error of the plane from the desired track, in nautical miles. Positive values indicate that the plane is to the right of the track.
coursenumberThe true course of the desired track, in degrees.
tracknumberThe actual true ground track of the airplane, in degrees.
Returns

APBackCourseDirectorPhase

Defined in

src/sdk/autopilot/directors/APBackCourseDirector.ts:110


APDirectors

Ƭ APDirectors: Object

A collection of autopilot plane directors.

Type declaration

NameTypeDescription
altCapDirector?PlaneDirectorThe autopilot's wings altitude capture director.
altHoldDirector?PlaneDirectorThe autopilot's altitude hold mode director.
bcDirector?PlaneDirectorThe autopilot's back-course mode director.
flareDirector?PlaneDirectorThe autopilot's FLARE mode director.
flcDirector?PlaneDirectorThe autopilot's flight level change mode director.
fmsLocLateralDirector?PlaneDirectorThe autopilot's lateral FMS LOC mode director
fpaDirector?PlaneDirectorThe autopilot's vertical speed mode director.
gaLateralDirector?PlaneDirectorThe autopilot's lateral go-around mode director.
gaVerticalDirector?PlaneDirectorThe autopilot's vertical go-around mode director.
gpDirector?PlaneDirectorThe autopilot's GPS glidepath mode director.
gpssDirector?PlaneDirectorThe autopilot's GPS LNAV mode director.
gsDirector?PlaneDirectorThe autopilot's ILS glideslope mode director.
headingDirector?PlaneDirectorThe autopilot's heading mode director.
headingHoldDirector?PlaneDirectorThe autopilot's heading hold mode director.
locDirector?PlaneDirectorThe autopilot's LOC mode director.
pitchDirector?PlaneDirectorThe autopilot's pitch mode director.
pitchLevelerDirector?PlaneDirectorThe autopilot's pitch level mode director.
rollDirector?PlaneDirectorThe autopilot's roll mode director.
rolloutDirector?PlaneDirectorThe autopilot's ROLLOUT mode director.
takeoffLocLateralDirector?PlaneDirectorThe autopilot's lateral FMS LOC mode director
toLateralDirector?PlaneDirectorThe autopilot's lateral takeoff (or combined to/ga) mode director.
toVerticalDirector?PlaneDirectorThe autopilot's vertical takeoff (or combined to/ga) mode director.
trackDirector?PlaneDirectorThe autopilot's track mode director.
trackHoldDirector?PlaneDirectorThe autopilot's track hold mode director.
vnavPathDirector?PlaneDirectorThe autopilot's VNAV path mode director.
vorDirector?PlaneDirectorThe autopilot's VOR mode director.
vsDirector?PlaneDirectorThe autopilot's vertical speed mode director.
wingLevelerDirector?PlaneDirectorThe autopilot's wings level mode director.

Defined in

src/sdk/autopilot/Autopilot.ts:30


APFLCDirectorOptions

Ƭ APFLCDirectorOptions: Object

Options for APFLCDirector.

Type declaration

NameTypeDescription
maxPitchDownAnglenumber | () => numberThe maximum absolute pitch down angle, in degrees, supported by the director, or a function which returns it.
maxPitchUpAnglenumber | () => numberThe maximum absolute pitch up angle, in degrees, supported by the director, or a function which returns it.
setSpeedOnActivation(currentIas: number, currentMach: number, isSelectedSpeedInMach: boolean, command: APFLCDirectorSetSpeedCommand) => voidA 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.
useIndicatedMach?booleanWhether 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.

Defined in

src/sdk/autopilot/directors/APFLCDirector.ts:26


APFLCDirectorSetSpeedCommand

Ƭ APFLCDirectorSetSpeedCommand: Object

A command for APFLCDirector to set selected speed targets.

Type declaration

NameTypeDescription
iasnumber | undefinedThe selected IAS target to set, in knots, or undefined if the selected IAS target should remain unchanged.
isSelectedSpeedInMachboolean | undefinedWhether the selected speed target should be in mach, or undefined if the setting should remain unchanged.
machnumber | undefinedThe selected mach target to set, or undefined if the selected mach target should remain unchanged.

Defined in

src/sdk/autopilot/directors/APFLCDirector.ts:12


APFPADirectorOptions

Ƭ APFPADirectorOptions: Object

Options for APFPADirector.

Type declaration

NameTypeDescription
maxFpanumber | () => number | undefinedThe maximum flight path angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will not limit the FPA.

Defined in

src/sdk/autopilot/directors/APFPADirector.ts:12


APGPDirectorGuidance

Ƭ APGPDirectorGuidance: Object

Glidepath guidance for APGPDirector.

Type declaration

NameTypeDescription
deviationnumberThe deviation of the glidepath from the airplane, in feet. Positive values indicate the path lies above the airplane.
fpanumberThe flight path angle of the glidepath, in degrees. Positive angles indicate a downward-sloping path.
isValidbooleanWhether this guidance is valid.

Defined in

src/sdk/autopilot/directors/APGPDirector.ts:15


APGPDirectorOptions

Ƭ APGPDirectorOptions: Object

Options for APGPDirector.

Type declaration

NameTypeDescription
canCapture?(fpa: number, deviation: number) => booleanA function which checks if the director can capture a glidepath from an armed state. If not defined, then the director will capture if the autopilot's active lateral mode is APLateralModes.GPSS, the glidepath's flight path angle is greater than zero, and deviation is between 100 and -15 feet.
canTrack?(fpa: number, deviation: number) => booleanA function which checks if the director can continue tracking a glidepath. If not defined, then the director will continue tracking as long as the autopilot's active lateral mode is APLateralModes.GPSS.
guidance?Accessible<Readonly<APGPDirectorGuidance>>The guidance for the director to use. If not defined, then the director will source guidance data from VNAV SimVars at the index defined by vnavIndex.
vnavIndex?number | Subscribable<number>The index of the VNAV from which the director should source guidance data from SimVars. Ignored if guidance is defined. Defaults to 0.

Defined in

src/sdk/autopilot/directors/APGPDirector.ts:32


APGSDirectorAngleClosureRateFunc

Ƭ APGSDirectorAngleClosureRateFunc: (gsAngleError: number, gsAngle: number, currentAngleRate: number, distance: number, height: number, groundSpeed: number, vs: number) => number

A function which calculates a desired angle closure rate, in degrees per second, to track a glideslope. The angle closure rate is the rate of reduction of glideslope angle error. Positive values reduce glideslope angle error while negative values increase glideslope angle error.

Type declaration

▸ (gsAngleError, gsAngle, currentAngleRate, distance, height, groundSpeed, vs): number

Parameters
NameTypeDescription
gsAngleErrornumberThe glideslope angle error, in degrees, defined as the difference between the angle from the glideslope antenna to the airplane and the glideslope angle. Positive values indicate deviation of the airplane above the glideslope.
gsAnglenumberThe glideslope angle, in degrees.
currentAngleRatenumberThe current rate of change of glideslope angle error, in degrees per second.
distancenumberThe lateral distance from the airplane to the glideslope antenna, in meters.
heightnumberThe height of the airplane above the glideslope antenna, in meters.
groundSpeednumberThe airplane's current ground speed, in meters per second.
vsnumberThe airplane's current vertical speed, in meters per second.
Returns

number

Defined in

src/sdk/autopilot/directors/APGSDirector.ts:34


APGSDirectorOptions

Ƭ APGSDirectorOptions: Object

Options for APGSDirector.

Type declaration

NameTypeDescription
angleClosureRate?APGSDirectorAngleClosureRateFuncA function which returns the desired angle closure rate to track a glideslope. The angle closure rate is the rate of reduction of glideslope angle error. If not defined, the director will use a default angle closure rate curve. The output of this function will be overridden by the vsTarget function if the latter is defined.
forceNavSource?NavRadioIndexThe index of the nav radio to force the director to use. If not defined, the director will use the nav radio specified by the active autopilot navigation source.
maxVs?numberThe maximum vertical speed the director can target, in feet per minute. Defaults to 0.
minVs?numberThe minimum vertical speed the director can target, in feet per minute. Defaults to -3000.
vsTarget?APGSDirectorVsTargetFuncA function which returns the desired vertical speed target to track a glideslope. If defined, the output of this function will override that of the angleClosureRate function.

Defined in

src/sdk/autopilot/directors/APGSDirector.ts:70


APGSDirectorVsTargetFunc

Ƭ APGSDirectorVsTargetFunc: (gsAngleError: number, gsAngle: number, currentAngleRate: number, distance: number, height: number, groundSpeed: number, vs: number) => number

A function which calculates a desired vertical speed to target, in feet per minute, to track a glideslope.

Type declaration

▸ (gsAngleError, gsAngle, currentAngleRate, distance, height, groundSpeed, vs): number

Parameters
NameTypeDescription
gsAngleErrornumberThe glideslope angle error, in degrees, defined as the difference between the angle from the glideslope antenna to the airplane and the glideslope angle. Positive values indicate deviation of the airplane above the glideslope.
gsAnglenumberThe glideslope angle, in degrees.
currentAngleRatenumberThe current rate of change of glideslope angle error, in degrees per second.
distancenumberThe lateral distance from the airplane to the glideslope antenna, in meters.
heightnumberThe height of the airplane above the glideslope antenna, in meters.
groundSpeednumberThe airplane's current ground speed, in meters per second.
vsnumberThe airplane's current vertical speed, in meters per second.
Returns

number

Defined in

src/sdk/autopilot/directors/APGSDirector.ts:57


APGpsSteerDirectorActivateState

Ƭ APGpsSteerDirectorActivateState: Object

An object describing a state used to determine whether APGpsSteerDirector can be activated.

Type declaration

NameTypeDescription
radioAltitudenumberThe airplane's current radio altitude, in feet.
taenumberThe current track angle error, in degrees in the range [-180, 180).
xtknumberThe current cross-track error, in nautical miles. Positive values indicate that the plane is to the right of the desired track.

Defined in

src/sdk/autopilot/directors/APGpsSteerDirector.ts:36


APGpsSteerDirectorOptions

Ƭ APGpsSteerDirectorOptions: Object

Options for APGpsSteerDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
canActivate?(state: Readonly<APGpsSteerDirectorActivateState>) => booleanA function which determines whether the director can be activated from an armed state.
disableArming?booleanWhether to disable arming on the director. If true, then the director will skip the arming phase and instead immediately activate itself when requested. Defaults to false.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.

Defined in

src/sdk/autopilot/directors/APGpsSteerDirector.ts:53


APGpsSteerDirectorSteerCommand

Ƭ APGpsSteerDirectorSteerCommand: Object

A steering command for APGpsSteerDirector.

Type declaration

NameTypeDescription
desiredBankAnglenumberThe desired bank angle, in degrees. Positive values indicate left bank.
dtknumberThe current desired track, in degrees true.
isValidbooleanWhether this command is valid.
taenumberThe current track angle error, in degrees in the range [-180, 180).
xtknumberThe current cross-track error, in nautical miles. Positive values indicate that the plane is to the right of the desired track.

Defined in

src/sdk/autopilot/directors/APGpsSteerDirector.ts:13


APHdgDirectorOptions

Ƭ APHdgDirectorOptions: Object

Options for APHdgDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
isToGaMode?booleanWhether the director is to be used as a TO/GA lateral mode. If true, the director will not control the AUTOPILOT HEADING LOCK simvar. Defaults to false.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.
turnReversalThreshold?numberThe threshold difference between selected heading and current heading, in degrees, at which the director unlocks its commanded turn direction and chooses a new optimal turn direction to establish on the selected heading, potentially resulting in a turn reversal. Any value less than or equal to 180 degrees effectively prevents the director from locking a commanded turn direction. Any value greater than or equal to 360 degrees will require the selected heading to traverse past the current heading in the desired turn direction in order for the director to issue a turn reversal. Defaults to 0.

Defined in

src/sdk/autopilot/directors/APHdgDirector.ts:12


APHdgHoldDirectorOptions

Ƭ APHdgHoldDirectorOptions: Object

Options for APHdgHoldDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.

Defined in

src/sdk/autopilot/directors/APHdgHoldDirector.ts:11


APLvlDirectorOptions

Ƭ APLvlDirectorOptions: Object

Options for APLvlDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
isToGaMode?booleanWhether the director is to be used as a TO/GA lateral mode. If true, the director will not control the AUTOPILOT HEADING LOCK simvar. Defaults to false.

Defined in

src/sdk/autopilot/directors/APLvlDirector.ts:8


APNavDirectorInterceptFunc

Ƭ APNavDirectorInterceptFunc: (distanceToSource: number, deflection: number, xtk: number, tas: number, isLoc: boolean) => number

Calculates an intercept angle, in degrees, to capture the desired track from a navigation signal for APNavDirector.

Type declaration

▸ (distanceToSource, deflection, xtk, tas, isLoc): number

Parameters
NameTypeDescription
distanceToSourcenumberThe distance from the plane to the source of the navigation signal, in nautical miles.
deflectionnumberThe lateral deflection of the desired track relative to the plane, normalized from -1 to 1. Positive values indicate that the desired track is to the right of the plane.
xtknumberThe cross-track error of the plane from the desired track, in nautical miles. Positive values indicate that the plane is to the right of the track.
tasnumberThe true airspeed of the plane, in knots.
isLocbooleanWhether the source of the navigation signal is a localizer.
Returns

number

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:100


APNavDirectorOptions

Ƭ APNavDirectorOptions: Object

Options for APNavDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not defined, a default bank rate will be used. Defaults to undefined.
bankRateIntercept?number | () => numberThe bank rate to enforce when the director commands changes in bank angle during intercept phase, in degrees per second, or a function which returns it. If not defined, the bank rate defined by bankRate will be used. Defaults to undefined.
bankRateTracking?number | () => numberThe bank rate to enforce when the director commands changes in bank angle during tracking phase, in degrees per second, or a function which returns it. If not defined, the bank rate defined by bankRate will be used. Defaults to undefined.
desiredBankIntercept?(trackError: number) => numberA function which computes a desired bank angle to command for a given track error during intercept phase. The track error is the difference between the director's computed desired track and the airplane's actual ground track in the range [-180, 180) degrees. A positive error indicates that the shortest turn direction from the actual ground track toward the desired track is to the right. A positive bank angle indicates leftward bank. Defaults to a linear function which scales the track error by 2.5 to derive the desired bank angle.
desiredBankTracking?(trackError: number) => numberA function which computes a desired bank angle to command for a given track error during tracking phase. The track error is the difference between the director's computed desired track and the airplane's actual ground track in the range [-180, 180) degrees. A positive error indicates that the shortest turn direction from the actual ground track toward the desired track is to the right. A positive bank angle indicates leftward bank. Defaults to a linear function which scales the track error by 1.25 to derive the desired bank angle.
disableArming?booleanWhether to disable arming on the director. If true, the director will always skip the arming phase and instead immediately activate itself when requested. Defaults to false.
forceNavSource?NavRadioIndexForce the director to always use a certain NAV/CDI source
lateralInterceptCurve?APNavDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle. If not defined, a function that computes a default curve tuned for slow GA aircraft will be used.
lateralInterceptCurveIntercept?APNavDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle during intercept phase. If not defined, the function defined by lateralInterceptCurve will be used instead. Defaults to undefined.
lateralInterceptCurveTracking?APNavDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle during tracking phase. If not defined, the function defined by lateralInterceptCurve will be used instead. Defaults to undefined.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.
maxBankAngleIntercept?number | () => numberThe maximum bank angle, in degrees, supported by the director during intercept phase, or a function which returns it. If not defined, the director will use the maximum bank angle defined by maxBankAngle. Defaults to undefined.
maxBankAngleTracking?number | () => numberThe maximum bank angle, in degrees, supported by the director during tracking phase, or a function which returns it. If not defined, the director will use the maximum bank angle defined by maxBankAngle. Defaults to undefined.
phaseOptions?Readonly<APNavDirectorPhaseOptions>Options with which to configure the default phase selector logic. Ignored if the phaseSelector option is specified.
phaseSelector?APNavDirectorPhaseSelectorFuncA function which selects the phase for the director to use when it is active and tracking a navigation signal. If not defined, the director will use a default selector which can be configured using the phaseOptions option.

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:130


APNavDirectorPhaseOptions

Ƭ APNavDirectorPhaseOptions: Object

Options which which to configure APNavDirector's default phase selection logic.

The director switches from intercept phase to tracking phase only when all tracking phase conditions are met. The director switches from tracking phase to intercept phase when any of the intercept phase conditions is met.

When the director is activated from an armed state, it will default to intercept phase unless all tracking phase conditions are met, in which case it will immediately enter tracking phase. The normal delay for entering tracking phase is ignored in this situation.

Type declaration

NameTypeDescription
interceptCourseError?numberThe minimum absolute value of the error between the course of the desired track and the airplane's actual ground track, in degrees, required to enter intercept phase. Defaults to 5.
interceptDeflection?numberThe minimum absolute value of the lateral deflection of the desired track relative to the plane, normalized from 0 to 1, required to enter intercept phase. Defaults to 0.25.
interceptSwitchDelay?numberThe amount of time that the conditions for switching to intercept phase must be met, in milliseconds, before the director switches from tracking phase to intercept phase. Defaults to 5000.
interceptXtk?numberThe minimum absolute value of the cross-track error of the plane from the desired track, in nautical miles, required to enter intercept phase. Defaults to Infinity.
trackingCourseError?numberThe maximum allowed absolute value of the error between the course of the desired track and the airplane's actual ground track, in degrees, required to enter intercept phase. Defaults to 2.
trackingDeflection?numberThe maximum allowed absolute value of the lateral deflection of the desired track relative to the plane, normalized from 0 to 1, required to enter tracking phase. Defaults to 0.125.
trackingSwitchDelay?numberThe amount of time that the conditions for switching to tracking phase must be met, in milliseconds, before the director switches from intercept phase to tracking phase. Defaults to 5000.
trackingXtk?numberThe maximum allowed absolute value of the cross-track error of the plane from the desired track, in nautical miles, required to enter intercept phase. Defaults to Infinity.

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:38


APNavDirectorPhaseSelectorFunc

Ƭ APNavDirectorPhaseSelectorFunc: (currentPhase: APNavDirectorPhase | undefined, deflection: number, xtk: number, course: number, track: number, isLoc: boolean, isInZoneOfConfusion: boolean) => APNavDirectorPhase

Selects a phase for APNavDirector to use while it is active and tracking a navigation signal.

Type declaration

▸ (currentPhase, deflection, xtk, course, track, isLoc, isInZoneOfConfusion): APNavDirectorPhase

Parameters
NameTypeDescription
currentPhaseAPNavDirectorPhase | undefinedThe current phase, or undefined if no phase has been selected since the last time the director was activated.
deflectionnumberThe lateral deflection of the desired track relative to the plane, normalized from -1 to 1. Positive values indicate that the desired track is to the right of the plane.
xtknumberThe cross-track error of the plane from the desired track, in nautical miles. Positive values indicate that the plane is to the right of the track.
coursenumberThe true course of the desired track, in degrees.
tracknumberThe actual true ground track of the airplane, in degrees.
isLocbooleanWhether the source of the tracked navigation signal is a localizer.
isInZoneOfConfusionbooleanWhether the source of the tracked navigation signal is a VOR and the airplane's position is close enough to the VOR to render lateral deflection values unreliable.
Returns

APNavDirectorPhase

Defined in

src/sdk/autopilot/directors/APNavDirector.ts:117


APPitchDirectorOptions

Ƭ APPitchDirectorOptions: Object

Options for APPitchDirector

Type declaration

NameTypeDescription
maxPitch?number | () => numberThe positive maximum pitch angle, in degrees, to clamp the pitch to, or a function that returns it (default: 20).
minPitch?number | () => numberThe negative minimum pitch angle, in degrees, to clamp the pitch to, or a function that returns it (default: -15).
pitchIncrement?number | () => numberThe pitch increment, in degrees, to use when the user presses the pitch inc/dec keys, or a function that returns it (default: 0.5).
quantisePitch?booleanWhether to always quantise the pitch in terms of APPitchDirectorOptions.pitchIncrement.

Defined in

src/sdk/autopilot/directors/APPitchDirector.ts:9


APRollDirectorOptions

Ƭ APRollDirectorOptions: Object

Options for control of the roll director.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, that the roll director will not exceed, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues).
minBankAngle?number | () => numberThe minimum bank angle, in degrees, below which the roll director will command wings level, or a function which returns it. Defaults to 0.

Defined in

src/sdk/autopilot/directors/APRollDirector.ts:9


APTrkDirectorOptions

Ƭ APTrkDirectorOptions: Object

Options for APTrkDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
isToGaMode?booleanWhether the director is to be used as a TO/GA lateral mode. If true, the director will not control the AUTOPILOT HEADING LOCK simvar. Defaults to false.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.
turnReversalThreshold?numberThe threshold difference between selected track and current track, in degrees, at which the director unlocks its commanded turn direction and chooses a new optimal turn direction to establish on the selected track, potentially resulting in a turn reversal. Any value less than or equal to 180 degrees effectively prevents the director from locking a commanded turn direction. Any value greater than or equal to 360 degrees will require the selected track to traverse past the current track in the desired turn direction in order for the director to issue a turn reversal. Defaults to 0.

Defined in

src/sdk/autopilot/directors/APTrkDirector.ts:12


APTrkHoldDirectorOptions

Ƭ APTrkHoldDirectorOptions: Object

Options for APTrkHoldDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.

Defined in

src/sdk/autopilot/directors/APTrkHoldDirector.ts:12


APVNavPathDirectorGuidance

Ƭ APVNavPathDirectorGuidance: Object

Vertical navigation guidance for APVNavPathDirector.

Type declaration

NameTypeDescription
deviationnumberThe deviation of the vertical track from the airplane, in feet. Positive values indicate the track lies above the airplane.
fpanumberThe flight path angle of the vertical track, in degrees. Positive angles indicate a downward-sloping track.
isValidbooleanWhether this guidance is valid.

Defined in

src/sdk/autopilot/directors/APVNavPathDirector.ts:15


APVNavPathDirectorOptions

Ƭ APVNavPathDirectorOptions: Object

Options for APVNavPathDirector.

Type declaration

NameTypeDescription
guidance?Accessible<Readonly<APVNavPathDirectorGuidance>>The guidance for the director to use. If not defined, then the director will source guidance data from VNAV SimVars at the index defined by vnavIndex.
vnavIndex?number | Subscribable<number>The index of the VNAV from which the director should source guidance data from SimVars. Ignored if guidance is defined. Defaults to 0.

Defined in

src/sdk/autopilot/directors/APVNavPathDirector.ts:35


APValues

Ƭ APValues: Object

An object containing values pertinent to autopilot operation.

Type declaration

NameTypeDescription
apApproachModeOnSubject<boolean>The AP Approach Mode is on
approachHasGPSubject<boolean>The activated approach has an LPV GP
approachIsActiveSubject<boolean>Approach is Activated in Flight Plan
capturedAltitudeSubject<number>The captured altitude, in feet.
cdiIdstringThe ID of the CDI associated with the autopilot.
cdiSourceSubscribable<Readonly<NavSourceId>>The autopilot's current CDI source.
isSelectedSpeedInMachSubject<boolean>Whether the selected airspeed target is in mach.
lateralActiveSubject<APLateralModes>The Active Lateral Mode
lateralArmedSubject<APLateralModes>The Armed Lateral Mode
maxBankAngleSubject<number>The maximum Bank Angle the autopilot may command in absolute degrees.
maxBankIdSubject<number>The maximum bank setting ID.
nav1HasGsSubject<boolean>The Nav 1 Radio is tuned to an ILS with a GS signal
nav2HasGsSubject<boolean>The Nav 2 Radio is tuned to an ILS with a GS signal
nav3HasGsSubject<boolean>The Nav 3 Radio is tuned to an ILS with a GS signal
nav4HasGsSubject<boolean>The Nav 4 Radio is tuned to an ILS with a GS signal
navToNavArmableLateralMode?() => APLateralModesGets the autopilot lateral mode that can be armed while waiting for the nav-to-nav manager to switch CDI source, or APLateralModes.NONE if no modes can be armed.
navToNavArmableNavRadioIndex?() => NavRadioIndex | -1Gets the index of the NAV radio that can be armed for a CDI source switch by the nav-to-nav manager, or -1 if a CDI source switch cannot be armed.
navToNavArmableVerticalMode?() => APVerticalModesGets the autopilot vertical mode that can be armed while waiting for the nav-to-nav manager to switch CDI source, or APLateralModes.NONE if no modes can be armed.
navToNavLocArm?() => booleanChecks whether the autopilot localizer lateral mode ()APLateralModes.LOC) can be armed while waiting for the nav-to-nav manager to switch CDI source.
navToNavTransferInProgress?() => booleanChecks whether a CDI source switch initiated by the nav-to-nav manager is currently in progress.
selectedAltitudeSubject<number>The selected altitude, in feet.
selectedFlightPathAngleSubject<number>The selected flight path angle target, in degrees
selectedHeadingSubject<number>The selected heading, in degrees.
selectedIasSubject<number>The selected indicated airspeed target, in knots.
selectedMachSubject<number>The selected mach target.
selectedPitchSubject<number>The selected pitch target, in degrees.
selectedVerticalSpeedSubject<number>The selected vertical speed target, in feet per minute.
simRateSubject<number>The current simulation rate.
verticalActiveSubject<APVerticalModes>The Active Vertical Mode
verticalArmedSubject<APVerticalModes>The Armed Vertical Mode

Defined in

src/sdk/autopilot/APConfig.ts:57


AbstractMapWaypointIconOptions

Ƭ AbstractMapWaypointIconOptions: Object

Initialization options for an AbstractMapWaypointIcon.

Type declaration

NameTypeDescription
anchor?ReadonlyFloat64Array | Subscribable<ReadonlyFloat64Array>The anchor point of the icon, expressed as [x, y] relative to its width and height. [0, 0] is the top-left corner, and [1, 1] is the bottom-right corner. Defaults to [0.5, 0.5].
offset?ReadonlyFloat64Array | Subscribable<ReadonlyFloat64Array>The offset of the icon from the projected position of its associated waypoint, as [x, y] in pixels. Defaults to [0, 0].

Defined in

src/sdk/components/map/MapWaypointIcon.ts:56


AccessibleType

Ƭ AccessibleType<A>: A extends Accessible<infer T> ? T : never

Utility type to retrieve the value type of a Accessible.

Type parameters

Name
A

Defined in

src/sdk/sub/Accessible.ts:27


AdfRadioIndex

Ƭ AdfRadioIndex: 1 | 2

ADF radio index.

Defined in

src/sdk/instruments/RadioCommon.ts:16


AiracCycleFormatterFunction

Ƭ AiracCycleFormatterFunction: (cycle: AiracCycle) => string

An AIRAC cycle formatter function.

Type declaration

▸ (cycle): string

Parameters
NameType
cycleAiracCycle
Returns

string

Defined in

src/sdk/graphics/text/AiracCycleFormatter.ts:8


AltitudeConstraintAdvanced

Ƭ AltitudeConstraintAdvanced: AltitudeConstraintSimple & Pick<VerticalData, "altitude2" | "displayAltitude2AsFlightLevel">

Just the advanced altitude constraint fields from the VerticalData interface.

Defined in

src/sdk/flightplan/FlightPlanning.ts:319


AltitudeConstraintDetails

Ƭ AltitudeConstraintDetails: Object

The current altitude constraint details including target altitude and type.

Type declaration

NameTypeDescription
altitudenumberThe altitude for this constraint, in feet.
typeExclude<AltitudeRestrictionType, Between>The type of this constraint.

Defined in

src/sdk/autopilot/VerticalNavigation.ts:290


AltitudeConstraintSimple

Ƭ AltitudeConstraintSimple: Pick<VerticalData, "altDesc" | "altitude1" | "displayAltitude1AsFlightLevel">

Just the simple altitude constraint fields from the VerticalData interface.

Defined in

src/sdk/flightplan/FlightPlanning.ts:316


AltitudeSelectManagerOptions

Ƭ AltitudeSelectManagerOptions: Object

Configuration options for AltitudeSelectManager.

Type declaration

NameTypeDescription
accelFilter?numberBitflags to use to filter input events for input acceleration. Only events that pass the filter are eligible to trigger input acceleration. Defaults to AltitudeSelectManagerAccelFilter.All.
accelInputCountThreshold?numberThe required number of consecutive small-increment inputs received to trigger input acceleration. While acceleration is active, small-increment inputs will be converted to large increments. A threshold less than or equal to zero effectively disables input acceleration. Defaults to 0.
accelResetOnDirectionChange?booleanWhether to reset input acceleration if the direction of increment changes. Defaults to false.
altitudeHoldSlotIndex?1 | 2 | 3The altitude hold slot index to use. Defaults to 1.
incrLargeNumberUnitInterface<Distance>The value to increase/decrease the selected altitude setting on a large increment.
incrLargeMetric?NumberUnitInterface<Distance>The value to increase/decrease the selected altitude setting on a large increment in metric mode. If undefined, it will be set equal to the large increment value in non-metric mode.
incrSmallNumberUnitInterface<Distance>The value to increase/decrease the selected altitude setting on a small increment.
incrSmallMetric?NumberUnitInterface<Distance>The value to increase/decrease the selected altitude setting on a small increment in metric mode. If undefined, it will be set equal to the small increment value in non-metric mode.
initOnInput?booleanWhether to initialize the selected altitude setting only on the first detected input. If false, the selected altitude will be initialized as soon as the manager is fully initialized. Defaults to false.
initToIndicatedAlt?booleanWhether to initialize the selected altitude setting to the indicated altitude. If false, the selected altitude will be initialized to 0. Defaults to false.
inputIncrLargeThresholdnumberThe threshold for an altitude select change key input value above which the input is interpreted as a large increment.
lockAltToStepOnIncr?booleanWhether to lock the selected altitude setting to multiples of the appropriate increment value on a small or large increment. Defaults to true.
lockAltToStepOnIncrMetric?booleanWhether to lock the selected altitude setting to multiples of the appropriate increment value on a small or large increment in metric mode. If undefined, it will be set equal to the lock flag in non-metric mode.
lockAltToStepOnSet?booleanWhether to lock the selected altitude setting to multiples of the small increment on a SET event. Defaults to false.
lockAltToStepOnSetMetric?booleanWhether to lock the selected altitude setting to multiples of the small increment in metric mode on a SET event. If undefined, it will be set equal to the lock flag in non-metric mode.
maxValueNumberUnitInterface<Distance>The maximum value of the selected altitude setting.
maxValueMetric?NumberUnitInterface<Distance>The maximum value of the selected altitude setting in metric mode. If undefined, it will be set equal to the maximum value in non-metric mode.
minValueNumberUnitInterface<Distance>The minimum value of the selected altitude setting.
minValueMetric?NumberUnitInterface<Distance>The minimum value of the selected altitude setting in metric mode. If undefined, it will be set equal to the minimum value in non-metric mode.
supportMetricbooleanWhether to support metric mode.
transformSetToIncDec?booleanWhether to treat all intercepted SET key events as if they were INC or DEC events. Defaults to true.

Defined in

src/sdk/autopilot/managers/AltitudeSelectManager.ts:53


AnimatorEasingFunc

Ƭ AnimatorEasingFunc: (start: number, stop: number, progress: number) => number

An easing function used by Animator.

Type declaration

▸ (start, stop, progress): number

Parameters
NameType
startnumber
stopnumber
progressnumber
Returns

number

Defined in

src/sdk/utils/controllers/Animator.ts:8


AntiIceEngineIndexedEvents

Ƭ AntiIceEngineIndexedEvents: { [P in keyof AntiIceEngineIndexedTopics as IndexedEventType<P>]: AntiIceEngineIndexedTopics[P] }

Engine-indexed events related to the anti-ice systems.

Defined in

src/sdk/instruments/AntiIce.ts:34


AntiIceEvents

Ƭ AntiIceEvents: AntiIceNonIndexedEvents & AntiIceEngineIndexedEvents

Events related to the anti-ice systems.

Defined in

src/sdk/instruments/AntiIce.ts:41


ArrayType

Ƭ ArrayType<A>: A extends ReadonlyArray<infer T> ? T : never

Gets the element type of an array.

Type parameters

NameType
Aextends ReadonlyArray<any>

Defined in

src/sdk/utils/datastructures/ArrayUtils.ts:4


ArrivalProcedure

Ƭ ArrivalProcedure: Procedure

An arrival procedure (STAR).

Defined in

src/sdk/navigation/Facilities.ts:366


AuralAlertActivation

Ƭ AuralAlertActivation: Object

Data describing how to activate an alert.

Type declaration

NameTypeDescription
alias?stringThe alias to use to activate or trigger the alert instead of the alert's registered ID. The alias must be unique. If an alias is defined, it will be used in place of the alert's registered ID when determining activation or trigger state. Alerts activated or triggered with multiple aliases will play once per alias. In effect, using an alias behaves as if a copy of the aliased alert were temporarily registered with the alias as its ID for as long as the alias is activated/triggered.
continuous?booleanWhether the alert's sound sequence should loop from the beginning when it is finished playing. If true, then the alert effectively has an infinite duration, and once it starts playing it will never stop until forced to do so by a deactivate, untrigger, or kill command. If not defined, then the alert will loop if and only if it was defined to do so during registration.
queuedLifetime?numberThe amount of time, in milliseconds, that the alert can remain in the queue before it is automatically removed from the queue. If not defined, then the lifetime defined when the alert was registered will be used.
repeat?booleanWhether the alert should be requeued after it finishes playing if it is still active. If true, then the alert will play continuously while active as long as another alert of higher priority is not queued. If not defined, then the alert will repeat if and only if it was defined to do so during registration.
sequence?string | readonly string[]The sequence of sound atoms to play for the alert, as either a single ID or an array of IDs. Each atom is a single sound file. If not defined, then the sequence defined when the alert was registered will be played.
suffix?stringThe suffix to append to the alert's ID to activate or trigger the alert. Suffixing an alert ID will generate a suffixed ID in the form `${uuid}::${suffix}`. The suffixed ID must be unique. If a suffix is defined, the suffixed ID will be used to determine activation/triggered state. An alert can be activated or triggered with multiple suffixes. However, it will still only be played once regardless of how many of its suffixes are active or triggered. An alert is considered deactivated or untriggered only when all of its suffixes are deactivated or untriggered. If both an alias and a suffix are defined, the suffix will be appended to the alias instead of the alert's registered ID.
timeout?numberThe amount of time, in milliseconds, after the alert starts playing at which to forcibly stop the alert. It is recommended to set this value to be at least several seconds longer than the expected length of the alert's entire sequence. If the alert is continuous, the timeout is reset with each loop. If not defined, then the timeout defined when the alert was registered will be used.
track?stringThe name of the track on which to play the alert. Each queue has an arbitrary number of tracks. Alerts on different tracks can play at the same time. However, an alert will still wait until all other alerts in the same queue with higher priority are finished playing before it starts playing, even if the other alerts are playing on different tracks. If not defined, then the track defined when the alert was registered will be used.
uuidstringThe ID of the alert to activate.

Defined in

src/sdk/utils/sound/AuralAlertSystem.ts:81


AuralAlertDefinition

Ƭ AuralAlertDefinition: Object

A sound packet that can be played by SoundServer.

Type declaration

NameTypeDescription
continuousbooleanWhether the alert's sound sequence should loop from the beginning when it is finished playing. If true, then the alert effectively has an infinite duration, and once it starts playing it will never stop until forced to do so by a deactivate, untrigger, or kill command.
prioritynumberThe priority of the alert within its queue. If two alerts in the same queue become active at the same time, the alert with the higher priority will play first. However, alerts cannot interrupt other alerts that are already playing, regardless of their relative priorities.
queuestringThe name of the queue to which the alert belongs. Only one alert from each queue can play simultaneously unless they are on different tracks (see the documentation for track for more information).
queuedLifetime?numberThe amount of time, in milliseconds, that the alert can remain in the queue before it is automatically removed from the queue. Defaults to Infinity.
repeatbooleanWhether the alert should be requeued after it finishes playing if it is still active. If true, then the alert will play continuously while active as long as another alert of higher priority is not queued.
sequencestring | readonly string[]The sequence of sound atoms to play for the alert, as either a single ID or an array of IDs. Each atom is a single sound file.
timeout?numberThe amount of time, in milliseconds, after the alert starts playing at which to forcibly stop the alert. It is recommended to set this value to be at least several seconds longer than the expected length of the alert's entire sequence. If the alert is continuous, the timeout is reset with each loop. Defaults to 10000 milliseconds.
track?stringThe name of the track on which to play the alert. Each queue has an arbitrary number of tracks. Alerts on different tracks can play at the same time. However, an alert will still wait until all other alerts in the same queue with higher priority are finished playing before it starts playing, even if the other alerts are playing on different tracks. If not defined, then the alert will play on the default track (with name equal to '').
uuidstringThe ID of the alert.

Defined in

src/sdk/utils/sound/AuralAlertSystem.ts:12


AutopilotDriverOptions

Ƭ AutopilotDriverOptions: Object

Options for AutopilotDriver.

Type declaration

NameTypeDescription
autoCoordinationEnabled?booleanWhether to provide rudder auto-coordination while the autopilot is engaged. Defaults to false.
bankServoRate?numberThe default rate used to drive the bank servo, in degrees per second. Defaults to 10.
maxRudderDeflection?numberThe airplane's maximum rudder deflection, in degrees. Defaults to 25.
pitchServoRate?numberThe default rate used to drive the pitch servo, in degrees per second. Defaults to 5.
rudderBankFactor?numberThe factor to multiply with the commanded bank angle to calculate the rudder deflection commanded by rudder auto-coordination. Defaults to 0.3.
rudderServoRate?numberThe rate used to drive the rudder auto-coordination servo, in degrees per second. Defaults to 1.
setInternalFlightDirector?booleanWhether to set internal flight director values (not required for the default sim FD).
zeroRollHeight?numberThe RA height below which zero roll is forced, defaults to none.

Defined in

src/sdk/autopilot/AutopilotDriver.ts:16


AutothrottleOptions

Ƭ AutothrottleOptions: Object

Options used to initialize an autothrottle.

Type declaration

NameTypeDescription
accelSmoothingConstant?numberThe smoothing time constant, in seconds, to use to smooth observed acceleration used by the speed controller to generate error terms when targeting acceleration. A value of zero is equivalent to no smoothing.
accelSmoothingVelocityConstant?numberThe smoothing time constant, in seconds, to use to smooth estimated acceleration velocity while smoothing observed acceleration. A value of zero is equivalent to no smoothing. If not defined, estimated acceleration velocity will not be used to adjust smoothed observed acceleration.
accelTargetSmoothingConstant?numberThe smoothing time constant, in seconds, to use to smooth acceleration targets commanded by the speed controller. A value of zero is equivalent to no smoothing. Defaults to 0.
hysteresisnumberThe amount of hysteresis to apply to throttle position adjustment speeds commanded by the autothrottle's power controller, in units of normalized position per second. The autothrottle will ignore position adjustment speed commands of magnitude less than or equal to this value if it would reverse the direction of the most recent command that was carried out.
overpowerPid?AutothrottlePidParamsParameters for the overpower protection PID controller. Defaults to the same parameters as the target power PID controller.
overspeedAccelTarget?(iasError: number, targetIas: number, effectiveIas: number) => numberA function which generates an acceleration target, in knots per second, from a given overspeed protection airspeed error. Defaults to the function specified for selectedSpeedAccelTarget.
overspeedChangeThreshold?numberThe threshold, in knots per second, such that if the rate of change of the overspeed protection limit exceeds the threshold, the overspeed protection PID controller will ignore any contribution to the derivative term from the changing limit. This threshold is meant to prevent instantaneous changes in the overspeed protection limit from unduly influencing the PID output. Defaults to infinity.
overspeedPid?AutothrottlePidParamsParameters for the overspeed protection PID controller. Defaults to the same parameters as the target speed PID controller.
powerLookaheadnumber | Subscribable<number>The lookahead time, in seconds, to use for engine power data. If less than or equal to zero, the autothrottle will use the current (smoothed) engine power. If greater than zero, the autothrottle will use the (smoothed) engine power trend projected into the future by amount of time equal to the lookahead.
powerLookaheadSmoothingConstant?numberThe smoothing time constant, in seconds, to use to smooth lookahead engine power data. A value of zero is equivalent to no smoothing. If not defined, defaults to the value of powerSmoothingConstant.
powerLookaheadSmoothingVelocityConstant?numberThe smoothing time constant, in seconds, to use to smooth estimated power velocity while smoothing lookahead engine power data. A value of zero is equivalent to no smoothing. If not defined, estimated power velocity will not be used to adjust smoothed lookahead engine power data. If not defined, defaults to the value of powerSmoothingVelocityConstant.
powerSmoothingConstantnumberThe smoothing time constant, in seconds, to use to smooth engine power data. A value of zero is equivalent to no smoothing.
powerSmoothingVelocityConstant?numberThe smoothing time constant, in seconds, to use to smooth estimated power velocity while smoothing engine power data. A value of zero is equivalent to no smoothing. If not defined, estimated power velocity will not be used to adjust smoothed engine power data.
powerTargetPidAutothrottlePidParamsParameters for the target power PID controller. The input of the PID is engine power error. The output of the PID is a throttle position adjustment speed, in units of normalized position per second.
powerTargetSmoothingConstantnumberThe smoothing time constant, in seconds, to use to smooth power targets commanded by the speed controller. A value of zero is equivalent to no smoothing.
selectedSpeedAccelTarget?(iasError: number, targetIas: number, effectiveIas: number) => numberA function which generates an acceleration target, in knots per second, from a given selected airspeed error. If not defined, then the speed controller will directly target selected airspeed instead of acceleration.
servoSpeednumberThe rate at which the autothrottle's servos moves throttle levers, in units of normalized position per second. One normalized throttle position is equal to the distance traversed by the throttle from the idle position to the max thrust position.
speedLookaheadnumber | Subscribable<number>The lookahead time, in seconds, to use for airspeed data. If less than or equal to zero, the autothrottle will use the current (smoothed) airspeed. If greater than zero, the autothrottle will use the (smoothed) airspeed trend projected into the future by amount of time equal to the lookahead.
speedLookaheadSmoothingConstant?numberThe smoothing time constant, in seconds, to use to smooth lookahead airspeed data. A value of zero is equivalent to no smoothing. If not defined, defaults to the value of speedSmoothingConstant.
speedLookaheadSmoothingVelocityConstant?numberThe smoothing time constant, in seconds, to use to smooth estimated lookahead airspeed velocity (i.e. acceleration) while smoothing lookahead airspeed data. A value of zero is equivalent to no smoothing. If not defined, estimated lookahead airspeed velocity will not be used to adjust smoothed lookahead airspeed data. Defaults to the value of speedSmoothingVelocityConstant.
speedSmoothingConstantnumberThe smoothing time constant, in seconds, to use to smooth airspeed data. A value of zero is equivalent to no smoothing.
speedSmoothingVelocityConstant?numberThe smoothing time constant, in seconds, to use to smooth estimated airspeed velocity (i.e. acceleration) while smoothing airspeed data. A value of zero is equivalent to no smoothing. If not defined, estimated airspeed velocity will not be used to adjust smoothed airspeed data.
speedTargetChangeThreshold?numberThe threshold, in knots per second, such that if the rate of change of the speed target exceeds the threshold, the speed target PID controller will ignore any contribution to the derivative term from the changing speed target. This threshold is meant to prevent instantaneous changes in the speed target from unduly influencing the PID output. Defaults to infinity.
speedTargetPidAutothrottlePidParamsParameters for the target speed PID controller. The input of the PID is either indicated airspeed error (in knots) if the speed controller is directly targeting airspeed or acceleration error (in knots per second) if the speed controller is targeting acceleration. The output of the PID is an engine power adjustment.
underspeedAccelTarget?(iasError: number, targetIas: number, effectiveIas: number) => numberA function which generates an acceleration target, in knots per second, from a given underspeed protection airspeed error. Defaults to the function specified for selectedSpeedAccelTarget.
underspeedChangeThreshold?numberThe threshold, in knots per second, such that if the rate of change of the underspeed protection limit exceeds the threshold, the underspeed protection PID controller will ignore any contribution to the derivative term from the changing limit. This threshold is meant to prevent instantaneous changes in the underspeed protection limit from unduly influencing the PID output. Defaults to infinity.
underspeedPid?AutothrottlePidParamsParameters for the underspeed protection PID controller. Defaults to the same parameters as the target speed PID controller.
useIndicatedMach?booleanWhether the autothrottle 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.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:66


AutothrottlePidParams

Ƭ AutothrottlePidParams: Object

PID controller parameters for an autothrottle.

Type declaration

NameTypeDescription
kDnumberDifferential gain.
kInumberIntegral gain.
kPnumberProportional gain.
maxI?numberMaximum allowed integral term. Defaults to positive infinity.
maxOutnumberMaximum output.
minI?numberMinimum allowed integral term. Defaults to negative infinity.
minOutnumberMinimum output.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:40


AutothrottleThrottleIndex

Ƭ AutothrottleThrottleIndex: 1 | 2 | 3 | 4

An index for a throttle controlled by an autothrottle system.

Defined in

src/sdk/autothrottle/Autothrottle.ts:4


AutothrottleThrottleInfo

Ƭ AutothrottleThrottleInfo: Object

Information describing a throttle controlled by an autothrottle system.

Type declaration

NameTypeDescription
idlePositionnumberThe idle position of the throttle, where -1 is full reverse, 0 is neutral, and 1 is full forward.
indexAutothrottleThrottleIndexThe index of the engine controlled by the throttle.
isVirtualbooleanWhether the throttle is a virtual throttle.
maxThrustPositionnumberThe maximum thrust position of the throttle, where -1 is full reverse, 0 is neutral, and 1 is full forward.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:23


AvionicsSystemPowerEvents

Ƭ AvionicsSystemPowerEvents: { [K in keyof ElectricalEvents]: ElectricalEvents[K] extends boolean ? ElectricalEvents[K] : never }

The subset of ElectricalEvents to which avionics system power can be connected.

Defined in

src/sdk/system/BasicAvionicsSystem.ts:18


BaseFlightPlannerEvents

Ƭ BaseFlightPlannerEvents: Object

Events published by FlightPlanner indexed by base topic names.

Type declaration

NameTypeDescription
fplActiveLegChangeFlightPlanActiveLegEventA flight plan has changed an active leg.
fplBatchAsyncClosedFlightPlanModBatchEventA flight plan modification batch was closed and all pending asynchronous operations assigned to the batch have finished.
fplBatchClosedFlightPlanModBatchEventA flight plan modification batch was closed.
fplBatchOpenedFlightPlanModBatchEventA flight plan modification batch was opened.
fplCalculatePendedFlightPlanCalculatedEventA flight plan has begun calculating lateral flight path vectors.
fplCalculatedFlightPlanCalculatedEventA flight plan has finished calculated lateral flight path vectors.
fplCopiedFlightPlanCopiedEventThe flight plan has been copied.
fplCreatedFlightPlanIndicationEventA new flight plan has been created.
fplDeletedFlightPlanIndicationEventA flight plan has been deleted.
fplDirectToDataChangedFlightPlanDirectToDataEventDirect to data has been changed in the flight plan.
fplIndexChangedFlightPlanIndicationEventThe active flight plan index has changed in the Flight Planner.
fplLegChangeFlightPlanLegEventA flight plan has been modified from a secondary source
fplLegUserDataDeleteFlightPlanLegUserDataEventA flight plan leg user data key-value pair has been deleted.
fplLegUserDataSetFlightPlanLegUserDataEventA flight plan leg user data key-value pair has been set.
fplLoadedFlightPlanIndicationEventA full flight plan has been loaded.
fplOriginDestChangedFlightPlanOriginDestEventA flight plan has update origin/dest information.
fplProcDetailsChangedFlightPlanProcedureDetailsEventA flight plan has updated procedure details.
fplSegmentChangeFlightPlanSegmentEventA flight plan has been modified from a secondary source
fplUserDataDeleteFlightPlanUserDataEventA global flight plan user data key-value pair has been deleted.
fplUserDataSetFlightPlanUserDataEventA global flight plan user data key-value pair has been set.

Defined in

src/sdk/flightplan/FlightPlanner.ts:17


BaseFlightTimerControlEvents

Ƭ BaseFlightTimerControlEvents: Object

Events used to control flight timers.

Type declaration

NameTypeDescription
timer_resetvoidResets the current timer value to the initial value.
timer_set_initial_valuenumberSets the initial timer value, in milliseconds.
timer_set_modeFlightTimerModeSets the active timer mode.
timer_set_valuenumberSets the current timer value, in milliseconds.
timer_startvoidStarts the timer.
timer_stopvoidStops the timer.

Defined in

src/sdk/instruments/FlightTimer.ts:63


BaseFlightTimerControlEventsForId

Ƭ BaseFlightTimerControlEventsForId<ID>: { [P in keyof BaseFlightTimerControlEvents as `${P}${FlightTimerEventSuffix<ID>}`]: BaseFlightTimerControlEvents[P] }

Events used to control flight timers with a specific ID, keyed by base topic names.

Type parameters

NameType
IDextends string

Defined in

src/sdk/instruments/FlightTimer.ts:86


BaseFlightTimerEvents

Ƭ BaseFlightTimerEvents: Object

Events related to flight timers.

Type declaration

NameTypeDescription
timer_initial_value_msnumberInitial timer value, in milliseconds.
timer_is_runningbooleanWhether a timer is running.
timer_modeFlightTimerModeActive timer mode.
timer_value_msnumberCurrent timer value, in milliseconds.

Defined in

src/sdk/instruments/FlightTimer.ts:27


BaseFlightTimerEventsForId

Ƭ BaseFlightTimerEventsForId<ID>: { [P in keyof BaseFlightTimerEvents as `${P}${FlightTimerEventSuffix<ID>}`]: BaseFlightTimerEvents[P] }

Events related to flight timers with a specific ID, keyed by base topic names.

Type parameters

NameType
IDextends string

Defined in

src/sdk/instruments/FlightTimer.ts:44


BearingDirection

Ƭ BearingDirection: Object

An indexed source setting

Type declaration

NameTypeDescription
directionnumber | nullthe new source instrument
indexnumberthe index number of the reference being changed

Defined in

src/sdk/instruments/NavProcessor.ts:363


BearingDistance

Ƭ BearingDistance: Object

An indexed source setting

Type declaration

NameTypeDescription
distancenumber | nullthe new source instrument
indexnumberthe index number of the reference being changed

Defined in

src/sdk/instruments/NavProcessor.ts:371


BearingIdent

Ƭ BearingIdent: Object

The ident for a bearing source.

Type declaration

NameTypeDescription
identstring | nullthe new ident
indexnumberthe index number of the reference being changed
isLocboolean | nullis this station a loc

Defined in

src/sdk/instruments/NavProcessor.ts:345


BearingIsLoc

Ƭ BearingIsLoc: Object

If the bearing source is a localizer.

Type declaration

NameTypeDescription
indexnumberthe index number of the reference being changed
isLocboolean | nullif the source is a loc

Defined in

src/sdk/instruments/NavProcessor.ts:379


BearingSource

Ƭ BearingSource: Object

An indexed source setting

Type declaration

NameTypeDescription
indexnumberthe index number of the reference being changed
sourceNavSourceId | nullthe new source instrument

Defined in

src/sdk/instruments/NavProcessor.ts:355


BearingValidity

Ƭ BearingValidity: Object

The validity for a bearing source.

Type declaration

NameTypeDescription
indexnumberthe index number of the reference being changed
validbooleanthe new validity

Defined in

src/sdk/instruments/NavProcessor.ts:337


CasActiveMessage

Ƭ CasActiveMessage: Object

The data relevant to a single active CAS alert message.

Type declaration

NameTypeDescription
acknowledgedbooleanWhether this message has been acknowledged.
acknowledgedSuffixes?string[]This message's currently acknowledged suffixes.
inhibitedbooleanWhether this message's alert is currently inhibited.
lastActivenumberThe last time this message's alert was activated.
messagestringThe text to be displayed for this message, excluding suffixes.
priorityAnnunciationTypeThe current priority of this message.
suffixes?string[]This message's currently active suffixes.
suppressedbooleanWhether this message's alert is currently suppressed. Used for Boeing CAN/RCL
uuidstringThe UUID of this message's alert.

Defined in

src/sdk/cas/CasSystem.ts:36


CasAlertDefinition

Ƭ CasAlertDefinition: Object

The defining information required to register an alert.

Type declaration

NameTypeDescription
debounceTime?numberAn optional debounce time, in milliseconds.
inhibitedBy?string[]A list of inhibit states during with this alert should be inhibited.
messagestringThe message text displayed on the CAS when the alert is active.
suffixes?string[]A list of possible suffixes, in the order they're to be displayed when active.
uuidstringA unique identifier for the alert.

Defined in

src/sdk/cas/CasSystem.ts:18


CasAlertEventData

Ƭ CasAlertEventData: Object

Event data describing a CAS alert.

Type declaration

NameTypeDescription
acknowledgedbooleanWhether the alert is acknowledged.
priorityAnnunciationTypeThe priority of the alert.
suffix?stringThe suffix of the alert.
uuidstringThe unique identifier for the alert.

Defined in

src/sdk/cas/CasSystem.ts:145


CasAlertKey

Ƭ CasAlertKey: Object

A compound type identifying a specific alert and suffix combination.

Type declaration

NameTypeDescription
suffix?stringOptionally, a suffix for the alert.
uuidstringThe UUID of the alert.

Defined in

src/sdk/cas/CasSystem.ts:66


CdiControlEventsForId

Ƭ CdiControlEventsForId<ID>: { [P in keyof BaseCdiControlEvents as `${P}${CdiControlEventSuffix<ID>}`]: BaseCdiControlEvents[P] }

Events used to control a CDI with a specific ID.

Type parameters

NameType
IDextends string = string

Defined in

src/sdk/cdi/CdiControlEvents.ts:25


CdiDeviation

Ƭ CdiDeviation: Object

the deviation setting for a nav source

Type declaration

NameTypeDescription
deviationnumber | nullthe setting in degrees
sourceNavSourceIdthe nav source

Defined in

src/sdk/instruments/NavProcessor.ts:272


CdiEventsForId

Ƭ CdiEventsForId<ID>: { [P in keyof BaseCdiEvents as `${P}${CdiEventSuffix<ID>}`]: BaseCdiEvents[P] }

CDI-related events for a CDI with a specific ID.

Type parameters

NameType
IDextends string = string

Defined in

src/sdk/cdi/CdiEvents.ts:19


CircleInterceptPathInfo

Ƭ CircleInterceptPathInfo: Object

Information about a geo circle path to intercept.

Type declaration

NameTypeDescription
circleGeoCircle | undefinedThe geo circle defining the path to intercept.
endLatLonInterface | undefinedThe end of the path to intercept.
startLatLonInterface | undefinedThe start of the path to intercept.

Defined in

src/sdk/flightplan/FlightPathLegCalculator.ts:573


CollectionComponentItemRef

Ƭ CollectionComponentItemRef: string

The value retured when we add a item to the collection.

Defined in

src/sdk/components/CollectionComponent.tsx:4


ComRadioIndex

Ƭ ComRadioIndex: 1 | 2 | 3

Com radio index.

Defined in

src/sdk/instruments/RadioCommon.ts:6


ComSpacingChangeEvent

Ƭ ComSpacingChangeEvent: Object

Encapsulation of a COM spacing change event.

Type declaration

NameTypeDescription
indexnumberThe index of the COM radio to update.
spacingComSpacingThe spacing of the COM radio.

Defined in

src/sdk/instruments/RadioCommon.ts:95


CombinedSubscribableInputs

Ƭ CombinedSubscribableInputs<Types>: { [Index in keyof Types]: Subscribable<Types[Index]> } & TupleLength<Types>

A type which maps a tuple of input types to a tuple of subscribables that provide the input types.

Type parameters

NameType
Typesextends readonly any[]

Defined in

src/sdk/sub/CombinedSubject.ts:14


CompiledMapSystem

Ƭ CompiledMapSystem<Modules, Layers, Controllers, Context>: Object

A compiled map from MapSystemBuilder.

Type parameters

NameType
Modulesextends ModuleRecord
Layersextends LayerRecord
Controllersextends ControllerRecord
Contextextends ContextRecord

Type declaration

NameTypeDescription
contextMapSystemContext<Modules, Layers, Controllers, Context>The compiled map context.
mapVNodeThe compiled map, rendered as a VNode.
refNodeReference<MapSystemComponent<MapSystemComponentProps<Modules>>>A reference to the compiled map.

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:82


ContextRecord

Ƭ ContextRecord: Record<string, any>

A record of context properties.

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:25


ContextSubcriptions

Ƭ ContextSubcriptions<T>: { [Index in keyof T]: Subscribable<T[Index]> }

Mapped length undefined tuple to a tuple of context subscriptions.

Type parameters

NameType
Textends unknown[]

Defined in

src/sdk/components/FSComponent.ts:49


ContextTypes

Ƭ ContextTypes<T>: { [Index in keyof T]: Context<T[Index]> }

Mapped length undefined tuple to a tuple of Contexts.

Type parameters

NameType
Textends unknown[]

Defined in

src/sdk/components/FSComponent.ts:44


ContextUnion

Ƭ ContextUnion<Context, New>: Omit<Context, keyof Omit<New, keyof MutableMapContext<MapSystemContext>>> & Omit<New, keyof MutableMapContext<MapSystemContext>>

Adds all properties from a new context record to an existing record. Properties with keys found in the base MapSystemContext will be ignored. properties from the new record will overwrite the ones in the existing record if there are key collisions.

Type parameters

NameType
ContextContext
Newextends ContextRecord

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:56


ControllerRecord

Ƭ ControllerRecord: Record<string, any>

A record of string-keyed map controllers.

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:20


ControllerUnion

Ƭ ControllerUnion<Controllers, New>: Omit<Controllers, keyof New> & New

Adds all controllers from a new layer record to an existing record. Controllers from the new record will overwrite the ones in the existing record if there are key collisions.

Type parameters

NameType
Controllersextends ControllerRecord
Newextends ControllerRecord

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:48


DateTimeFormatterOptions

Ƭ DateTimeFormatterOptions: Object

Options for creating a time formatter.

Type declaration

NameTypeDescription
cachebooleanWhether to cache and reuse the previously generated string when possible.
dayNames[string, string, string, string, string, string, string]Names for days of the week, starting with Sunday.
dayNamesShort[string, string, string, string, string, string, string]Abbreviated names for days of the week, starting with Sunday.
monthNames[string, string, string, string, string, string, string, string, string, string, string, string]Names for months, starting with January.
monthNamesShort[string, string, string, string, string, string, string, string, string, string, string, string]Abbreviated names for months, starting with January.
nanStringstringThe string to output for an input of NaN.

Defined in

src/sdk/graphics/text/DateTimeFormatter.ts:6


DepartureProcedure

Ƭ DepartureProcedure: Procedure

A departure procedure (SID).

Defined in

src/sdk/navigation/Facilities.ts:361


DisplayComponentFactory

Ƭ DisplayComponentFactory<P, Contexts>: (props: P) => DisplayComponent<P, Contexts>

A constructor signature for a DisplayComponent.

Type parameters

NameType
Pextends ComponentProps
Contextsextends Context<unknown>[] = []

Type declaration

• (props): DisplayComponent<P, Contexts>

Parameters
NameType
propsP
Returns

DisplayComponent<P, Contexts>

Defined in

src/sdk/components/FSComponent.ts:131


DmeState

Ƭ DmeState: Object

The dme state for a nav radio.

Type declaration

NameTypeDescription
dmeDistancenumber | nullthis distance to the DME station
hasDmebooleanwhether the radio has DME
sourceNavSourceIdthe nav source id

Defined in

src/sdk/instruments/NavProcessor.ts:288


DmsFormatter2Options

Ƭ DmsFormatter2Options: Object

Options for creating a degree-minute-second formatter.

Type declaration

NameTypeDescription
cachebooleanWhether to cache and reuse the previously generated string when possible.
nanStringstringThe string to output when the input duration is NaN.

Defined in

src/sdk/graphics/text/DmsFormatter2.ts:8


DurationDisplayOptions

Ƭ DurationDisplayOptions: Object

Formatting options for DurationDisplay.

Type declaration

NameTypeDescription
delimDurationDisplayDelimThe delimiter to insert between parts of formatted values.
forceSignbooleanWhether to force the display of a positive sign.
formatDurationDisplayFormatThe format with which to display values.
nanStringstringThe string to display when the value is NaN.
numberFormatter(value: number) => stringA function used to format the last part of formatted values.
padnumberThe number of digits to which to pad the first part of formatted values with leading zeroes.
showUnitsbooleanWhether to show units.
unitFormatter(value: number, unit: Unit<Duration>) => stringA function used to format units.
useMinusSignbooleanWhether to use a minus sign () in place of a dash (-) in front of negative numbers.

Defined in

src/sdk/components/common/DurationDisplay.tsx:36


DurationFormatterOptions

Ƭ DurationFormatterOptions: Object

Options for creating a duration formatter.

Type declaration

NameTypeDescription
cachebooleanWhether to cache and reuse the previously generated string when possible.
nanStringstringThe string to output when the input duration is NaN.

Defined in

src/sdk/graphics/text/DurationFormatter.ts:8


ElectricalEvents

Ƭ ElectricalEvents: BaseElectricalEvents & IndexedEvents

Events related to the planes electrical system.

Defined in

src/sdk/instruments/Electrical.ts:119


EmptyRecord

Ƭ EmptyRecord: Record<never, never>

An empty record.

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:30


EngineEvents

Ƭ EngineEvents<E>: BaseEngineEvents & IndexedEvents<EngineIndexedTopics, NumberToRangeUnion<E>> & EngineIndexedEvents

Events related to the planes engines.

Type parameters

NameType
Eextends number = number

Defined in

src/sdk/instruments/EngineData.ts:144


ExtendedApproachType

Ƭ ExtendedApproachType: ApproachType | AdditionalApproachType

Approach Types inclusive of default ApproachType and AdditionalApproachType.

Defined in

src/sdk/navigation/Facilities.ts:244


ExtractSubjectType

Ƭ ExtractSubjectType<P>: P extends Subject<infer T> ? T : never

Extracts the type argument from a Subject.

Type parameters

Name
P

Defined in

src/sdk/sub/Subject.ts:5


ExtractSubjectTypes

Ƭ ExtractSubjectTypes<P>: { [Key in keyof P]: ExtractSubjectType<P[Key]> }

Generates an indexed type with all the Subjects extracted.

Type parameters

NameType
Pextends Object

Defined in

src/sdk/sub/Subject.ts:8


FacilityPredictionsTrackingPosition

Ƭ FacilityPredictionsTrackingPosition: "destination" | "direct" | number

Tracking position for a facility predictions tracking entry

Defined in

src/sdk/utils/predictions/FlightPlanPredictionProvider.ts:8


FacilitySearchTypeLatLon

Ƭ FacilitySearchTypeLatLon: All | Airport | Intersection | Vor | Ndb | User | Visual | AllExceptVisual

Facility search types for facilities with a defined latitude and longitude.

Defined in

src/sdk/navigation/FacilityLoader.ts:22


FacilityTypeMap

Ƭ FacilityTypeMap: Object

A type map of FacilityType enum to facility type.

Type declaration

NameTypeDescription
LOAD_AIRPORTAirportFacilityAirport facility.
LOAD_INTERSECTIONIntersectionFacilityIntersection facility.
LOAD_NDBNdbFacilityNDB facility.
LOAD_VORVorFacilityVOR facility.
RWYRunwayFacilityRunway waypoint facility.
USRUserFacilityUser waypoint facility.
VISVisualFacilityVisual approach waypoint facility.

Defined in

src/sdk/navigation/Facilities.ts:885


FadecEvents

Ƭ FadecEvents: Object

FADEC-related events.

Index signature

▪ [fadec_mode: IndexedEventType<"fadec_mode">]: string

The name of the currently active FADEC mode.

Type declaration

NameTypeDescription
fadec_activebooleanWhether FADEC is active.

Defined in

src/sdk/fadec/FadecEvents.ts:6


FamilyOfUnit

Ƭ FamilyOfUnit<U>: U extends Unit<infer T> ? T : never

Utility type to get the family of a unit type.

Type parameters

NameType
Uextends Unit<string>

Defined in

src/sdk/math/NumberUnit.ts:5


FlattenArray

Ƭ FlattenArray<A>: A extends ReadonlyArray<infer T> ? T extends ReadonlyArray<infer T1> ? T1 : T[] : never

Flattens an array type to a depth of 1.

Type parameters

NameType
Aextends ReadonlyArray<any>

Defined in

src/sdk/utils/datastructures/ArrayUtils.ts:9


FlattenArrayToDepth

Ƭ FlattenArrayToDepth<A, Depth>: Depth extends 0 ? A : Depth extends 1 ? FlattenArray<A> : Depth extends 2 ? FlattenArrayToDepth<FlattenArray<A>, 1> : Depth extends 3 ? FlattenArrayToDepth<FlattenArray<A>, 2> : Depth extends 4 ? FlattenArrayToDepth<FlattenArray<A>, 3> : Depth extends 5 ? FlattenArrayToDepth<FlattenArray<A>, 4> : Depth extends 6 ? FlattenArrayToDepth<FlattenArray<A>, 5> : Depth extends 7 ? FlattenArrayToDepth<FlattenArray<A>, 6> : Depth extends 8 ? FlattenArrayToDepth<FlattenArray<A>, 7> : Depth extends 9 ? FlattenArrayToDepth<FlattenArray<A>, 8> : Depth extends 10 ? FlattenArrayToDepth<FlattenArray<A>, 9> : never

Flattens an array type to a depth between 0 and 10, inclusive.

Type parameters

NameType
Aextends ReadonlyArray<any>
Depthextends 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10

Defined in

src/sdk/utils/datastructures/ArrayUtils.ts:14


FlightPathBankAngleBreakpoints

Ƭ FlightPathBankAngleBreakpoints: readonly readonly [bankAngle: number, speed: number][]

An array of breakpoints defining a lookup table for bank angle, in degrees, versus airplane speed, in knots.

Defined in

src/sdk/flightplan/FlightPathCalculator.ts:25


FlightPathCalculatorControlEventsForId

Ƭ FlightPathCalculatorControlEventsForId<ID>: { [P in keyof BaseFlightPathCalculatorControlEvents as `${P}${FlightPathCalculatorControlEventSuffix<ID>}`]: BaseFlightPathCalculatorControlEvents[P] }

Events used to control a flight path calculator with a specific ID.

Type parameters

NameType
IDextends string

Defined in

src/sdk/flightplan/FlightPathCalculatorControlEvents.ts:19


FlightPathCalculatorInitOptions

Ƭ FlightPathCalculatorInitOptions: FlightPathCalculatorOptions & { id?: string ; initSyncRole?: "none" | "primary" | "replica" }

Options with which to initialize a FlightPathCalculator.

Defined in

src/sdk/flightplan/FlightPathCalculator.ts:94


FlightPathLegLineStyle

Ƭ FlightPathLegLineStyle: Object

A style definition for a line rendered by FlightPathLegLineRenderer.

Type declaration

NameTypeDescription
isContinuousbooleanWhether the line is continuous with the last vector.
outlineDashreadonly number[] | nullThe dash array of the line outline, or null if the outline is solid.
outlineStylestring | CanvasPattern | CanvasGradientThe style of the line outline.
outlineWidthnumberThe width of the line outline, in pixels. A width of zero or less will cause the outline to not be rendered.
strokeDashreadonly number[] | nullThe dash array of the line stroke, or null if the stroke is solid.
strokeStylestring | CanvasPattern | CanvasGradientThe style of the line stroke.
strokeWidthnumberThe width of the line stroke, in pixels. A width of zero or less will cause the stroke to not be rendered.

Defined in

src/sdk/components/map/FlightPathLegLineRenderer.ts:10


FlightPathLegLineStyleSelector

Ƭ FlightPathLegLineStyleSelector<Args>: (vector: CircleVector, isIngress: boolean, isEgress: boolean, leg: LegDefinition, projection: GeoProjection, out: FlightPathLegLineStyle, ...args: Args) => FlightPathLegLineStyle

A function which selects a line style for a rendered vector.

Type parameters

NameType
Argsextends any[]

Type declaration

▸ (vector, isIngress, isEgress, leg, projection, out, ...args): FlightPathLegLineStyle

Parameters
NameTypeDescription
vectorCircleVectorThe vector for which to select a style.
isIngressbooleanWhether the vector is part of the ingress transition.
isEgressbooleanWhether the vector is part of the egress transition.
legLegDefinitionThe flight plan leg containing the vector to render.
projectionGeoProjectionThe map projection to use when rendering.
outFlightPathLegLineStyleThe line style object to which to write the selected style.
...argsArgsAdditional arguments.
Returns

FlightPathLegLineStyle

Defined in

src/sdk/components/map/FlightPathLegLineRenderer.ts:44


FlightPathLegPatternStyle

Ƭ FlightPathLegPatternStyle: Object

A style definition for a pattern rendered by FlightPathLegPatternRenderer.

Type declaration

NameTypeDescription
isContinuousbooleanWhether the pattern is continuous with the previous vector.
patternPathPattern | nullThe pattern to render.

Defined in

src/sdk/components/map/FlightPathLegPatternRenderer.ts:11


FlightPathLegPatternStyleSelector

Ƭ FlightPathLegPatternStyleSelector<Args>: (vector: CircleVector, isIngress: boolean, isEgress: boolean, leg: LegDefinition, projection: GeoProjection, out: FlightPathLegPatternStyle, ...args: Args) => FlightPathLegPatternStyle

A function which selects a pattern style for a rendered vector.

Type parameters

NameType
Argsextends any[]

Type declaration

▸ (vector, isIngress, isEgress, leg, projection, out, ...args): FlightPathLegPatternStyle

Parameters
NameTypeDescription
vectorCircleVectorThe vector for which to select a style.
isIngressbooleanWhether the vector is part of the ingress transition.
isEgressbooleanWhether the vector is part of the egress transition.
legLegDefinitionThe flight plan leg containing the vector to render.
projectionGeoProjectionThe map projection to use when rendering.
outFlightPathLegPatternStyleThe pattern style object to which to write the selected style.
...argsArgsAdditional arguments.
Returns

FlightPathLegPatternStyle

Defined in

src/sdk/components/map/FlightPathLegPatternRenderer.ts:30


FlightPathPlanRenderOrder

Ƭ FlightPathPlanRenderOrder: "forward" | "reverse"

Rendering order of flight plan legs.

Defined in

src/sdk/components/map/AbstractFlightPathPlanRenderer.ts:7


FlightPathVector

Ƭ FlightPathVector: CircleVector

A flight path vector within a leg flight path calculation.

Defined in

src/sdk/flightplan/FlightPlanning.ts:103


FlightPlanModBatch

Ƭ FlightPlanModBatch: Object

A flight plan modification batch.

Type declaration

NameTypeDescription
name?stringThis batch's name.
uuidstringThis batch's unique ID.

Defined in

src/sdk/flightplan/FlightPlan.ts:46


FlightPlannerEvents

Ƭ FlightPlannerEvents: BaseFlightPlannerEvents & FlightPlannerEventsForId<string>

All possible events published by FlightPlanner.

Defined in

src/sdk/flightplan/FlightPlanner.ts:97


FlightPlannerEventsForId

Ƭ FlightPlannerEventsForId<ID>: { [P in keyof BaseFlightPlannerEvents as `${P}${FlightPlannerEventSuffix<ID>}`]: BaseFlightPlannerEvents[P] }

Events published by a FlightPlanner with a specific ID.

Type parameters

NameType
IDextends string

Defined in

src/sdk/flightplan/FlightPlanner.ts:90


FlightPlannerOptions

Ƭ FlightPlannerOptions: Object

Configuration options for FlightPlanner.

Type declaration

NameTypeDescription
calculatorFlightPathCalculatorThe flight path calculator to use to compute flight paths for the planner's flight plans.
getLegName?(leg: FlightPlanLeg) => string | undefinedA function which generates flight plan leg names for the planner's flight plans.

Defined in

src/sdk/flightplan/FlightPlanner.ts:413


FlightTimerControlEvents

Ƭ FlightTimerControlEvents: FlightTimerControlEventsForId<""> & FlightTimerControlEventsForId<string>

All possible events used to control flight timers.

Defined in

src/sdk/instruments/FlightTimer.ts:100


FlightTimerControlEventsForId

Ƭ FlightTimerControlEventsForId<ID>: { [P in keyof BaseFlightTimerControlEvents as `${P}${FlightTimerEventSuffix<ID>}_${number}`]: BaseFlightTimerControlEvents[P] }

Events used to control flight timers with a specific ID, keyed by indexed topic names.

Type parameters

NameType
IDextends string

Defined in

src/sdk/instruments/FlightTimer.ts:93


FlightTimerEventSuffix

Ƭ FlightTimerEventSuffix<ID>: ID extends "" ? "" : `_${ID}`

The event topic suffix for a flight timer with a specific ID.

Type parameters

NameType
IDextends string

Defined in

src/sdk/instruments/FlightTimer.ts:22


FlightTimerEvents

Ƭ FlightTimerEvents: FlightTimerEventsForId<""> & FlightTimerEventsForId<string>

All possible events related to flight timers.

Defined in

src/sdk/instruments/FlightTimer.ts:58


FlightTimerEventsForId

Ƭ FlightTimerEventsForId<ID>: { [P in keyof BaseFlightTimerEvents as `${P}${FlightTimerEventSuffix<ID>}_${number}`]: BaseFlightTimerEvents[P] }

Events related to flight timers with a specific ID, keyed by indexed topic names.

Type parameters

NameType
IDextends string

Defined in

src/sdk/instruments/FlightTimer.ts:51


FlightTimerInstrumentOptions

Ƭ FlightTimerInstrumentOptions: Object

Configuration options for FlightTimerInstrument.

Type declaration

NameTypeDescription
countnumberThe number of supported timers.
id?stringThe ID to assign to the timers. Defaults to the empty ID ('').

Defined in

src/sdk/instruments/FlightTimer.ts:282


FlightTimerPublisherOptions

Ƭ FlightTimerPublisherOptions: Object

Configuration options for FlightTimerPublisher.

Type declaration

NameTypeDescription
id?stringThe ID of the timers for which to publish data. Defaults to the empty ID ('').

Defined in

src/sdk/instruments/FlightTimer.ts:238


FmcComponentFormatter

Ƭ FmcComponentFormatter<T>: FmcFormatter<T> | (type: T) => FmcFormatterOutput

Formats a value of a type

Type parameters

Name
T

Defined in

src/sdk/fmc/FmcFormat.ts:52


FmcDirection

Ƭ FmcDirection: "left" | "center" | "right"

Text direction for FMC cells

Defined in

src/sdk/fmc/FmcRenderer.ts:42


FmcFormatter

Ƭ FmcFormatter<T>: Formatter<T, FmcFormatterOutput>

A formatter for use in the FMC Framework

Type parameters

Name
T

Defined in

src/sdk/fmc/FmcFormat.ts:47


FmcFormatterOutput

Ƭ FmcFormatterOutput: string | FmcRenderTemplate

Represents the possible output of a formatting function

Defined in

src/sdk/fmc/FmcFormat.ts:25


FmcOutputRow

Ƭ FmcOutputRow: (string | RenderedPositionedFmcColumn)[]

Type for FMC row output data

Defined in

src/sdk/fmc/FmcRenderer.ts:30


FmcOutputTemplate

Ƭ FmcOutputTemplate: FmcOutputRow[]

Type for FMC output data

Defined in

src/sdk/fmc/FmcRenderer.ts:33


FmcRenderCallback

Ƭ FmcRenderCallback: (output: FmcOutputTemplate, render: FmcRenderTemplate, atRowIndex: number) => void

A render callback given to an FMC page

Type declaration

▸ (output, render, atRowIndex): void

Parameters
NameType
outputFmcOutputTemplate
renderFmcRenderTemplate
atRowIndexnumber
Returns

void

Defined in

src/sdk/fmc/AbstractFmcPage.ts:13


FmcRenderTemplate

Ƭ FmcRenderTemplate: FmcRenderTemplateRow[]

Type for FMC rendering data

Defined in

src/sdk/fmc/FmcRenderer.ts:39


FmcRenderTemplateColumn

Ƭ FmcRenderTemplateColumn: string | FmcComponent | PositionedFmcColumn

Type for FMC column rendering data

Defined in

src/sdk/fmc/FmcRenderer.ts:5


FmcRenderTemplateRow

Ƭ FmcRenderTemplateRow: FmcRenderTemplateColumn[]

Type for FMC row rendering data

Defined in

src/sdk/fmc/FmcRenderer.ts:36


FragmentFactory

Ƭ FragmentFactory: (props: ComponentProps) => DisplayChildren[] | undefined

A type for the Fragment function.

Type declaration

▸ (props): DisplayChildren[] | undefined

Parameters
NameType
propsComponentProps
Returns

DisplayChildren[] | undefined

Defined in

src/sdk/components/FSComponent.ts:136


FrequencyChangeEvent

Ƭ FrequencyChangeEvent: Object

Encapsuation of a frequency change event.

Type declaration

NameTypeDescription
bankFrequencyBankThe frequency bank to update.
frequencynumberThe new frequency in MHz.
radioRadioThe type of radio to change.

Defined in

src/sdk/instruments/RadioCommon.ts:68


GPSSatComputerOptions

Ƭ GPSSatComputerOptions: Object

Options for GPSSatComputer.

Type declaration

NameTypeDescription
channelCount?numberThe number of receiver channels supported by the computer. The computer can acquire and track one satellite per channel. Must be greater than or equal to 4. Defaults to the total number of satellites.
satInUseMaxCount?number | Subscribable<number>The maximum number of satellites to use for position solution calculations. Must be greater than or equal to 4. Defaults to Infinity.
satInUseOptimumCount?number | Subscribable<number>The optimum number of satellites to use for position solution calculations when targeting a maximum PDOP value. Must be greater than or equal to 4. Additional satellites will be selected while PDOP is greater than the target (satInUsePdopTarget) or the number of selected satellites is less than the optimum count. Defaults to 4.
satInUsePdopTarget?number | Subscribable<number>The maximum PDOP to target when selecting satellites to use for position solution calculations. Additional satellites will be selected while PDOP is greater than the target or the number of selected satellites is less than the optimum count (satInUseOptimumCount). Values less than or equal to zero will cause all possible satellites to be selected up to the maximum count (satInUseMaxCount). Defaults to -1.
timingOptions?Readonly<GPSSatelliteTimingOptions>Options with which to configure the timings of satellite state changes.

Defined in

src/sdk/instruments/GPSSat.ts:316


GPSSatelliteTimingOptions

Ƭ GPSSatelliteTimingOptions: Object

Options describing the timings of GPSSatellite state changes.

Type declaration

NameTypeDescription
acquisitionTime?numberThe average time required to acquire a satellite signal without valid ephemeris data, in milliseconds. Defaults to 30000.
acquisitionTimeRange?numberThe difference between the maximum and minimum time required to acquire a satellite signal without valid ephemeris data, in milliseconds. The range is centered on the average (acquisitionTime). Defaults to 15000.
acquisitionTimeRangeWithEphemeris?numberThe difference between the maximum and minimum time required to acquire a satellite signal with valid ephemeris data, in milliseconds. The range is centered on the average (acquisitionTimeWithEphemeris). Defaults to 5000.
acquisitionTimeWithEphemeris?numberThe average time required to acquire a satellite signal with valid ephemeris data, in milliseconds. Defaults to 15000.
acquisitionTimeout?numberThe amount of time spent searching for a satellite signal, in milliseconds, before the satellite is declared unreachable. Defaults to 60000.
almanacDownloadTime?numberThe time required to download a complete almanac from a non-SBAS satellite, in milliseconds. Defaults to 750000 (12.5 minutes).
almanacExpireTime?numberThe amount of elapsed time (bidirectional) required for a downloaded almanac to expire, in milliseconds. Defaults to 7776000000 (90 days).
ephemerisDownloadTime?numberThe time required to download ephemeris data from a non-SBAS satellite, in milliseconds. Defaults to 30000.
ephemerisExpireTime?numberThe amount of elapsed time (bidirectional) required for ephemeris data to expire, in milliseconds. Defaults to 7200000 (2 hours).
sbasCorrectionDownloadTime?numberThe average time required to download differential correction data from an SBAS satellite, in milliseconds. Defaults to 150500.
sbasCorrectionDownloadTimeRange?numberThe difference between the maximum and minimum time required to download differential correction data from an SBAS satellite, in milliseconds. The range is centered on the average (sbasCorrectionDownloadTime). Defaults to 149500.
sbasEphemerisDownloadTime?numberThe average time required to download ephemeris data from an SBAS satellite, in milliseconds. Defaults to 60500.
sbasEphemerisDownloadTimeRange?numberThe difference between the maximum and minimum time required to download ephemeris data from an SBAS satellite, in milliseconds. The range is centered on the average (sbasEphemerisDownloadTime). Defaults to 59500.
unreachableExpireTime?numberThe amount of elapsed time (bidirectional), in milliseconds, required for a satellite that was previously declared unreachable to be considered eligible for tracking again. Defaults to 3600000 (1 hour).

Defined in

src/sdk/instruments/GPSSat.ts:229


GeoCircleResamplerArcVector

Ƭ GeoCircleResamplerArcVector: GeoCircleResamplerBaseVector & { projectedArcCenter: ReadonlyFloat64Array ; projectedArcEndAngle: number ; projectedArcRadius: number ; projectedArcStartAngle: number ; type: "arc" }

A vector describing a projected circular arc terminating at a point resampled by GeoCircleResampler.

Defined in

src/sdk/geo/GeoCircleResampler.ts:53


GeoCircleResamplerHandler

Ƭ GeoCircleResamplerHandler: (vector: Readonly<GeoCircleResamplerVector>) => void

A function which handles resampled points.

Type declaration

▸ (vector): void

Parameters
NameTypeDescription
vectorReadonly<GeoCircleResamplerVector>A vector which describes the projected path terminating at the resampled point.
Returns

void

Defined in

src/sdk/geo/GeoCircleResampler.ts:12


GeoCircleResamplerLineVector

Ƭ GeoCircleResamplerLineVector: GeoCircleResamplerBaseVector & { type: "line" }

A vector describing a projected straight line terminating at a point resampled by GeoCircleResampler.

Defined in

src/sdk/geo/GeoCircleResampler.ts:45


GeoCircleResamplerStartVector

Ƭ GeoCircleResamplerStartVector: GeoCircleResamplerBaseVector & { type: "start" }

A vector describing the starting point of a path resampled by GeoCircleResampler.

Defined in

src/sdk/geo/GeoCircleResampler.ts:37


GeoCircleResamplerVector

Ƭ GeoCircleResamplerVector: GeoCircleResamplerStartVector | GeoCircleResamplerLineVector | GeoCircleResamplerArcVector

A vector describing the projected path terminating at a point resampled by GeoCircleResampler.

Defined in

src/sdk/geo/GeoCircleResampler.ts:17


GeoKdTreeSearchFilter

Ƭ GeoKdTreeSearchFilter<T>: (element: T, point: ReadonlyFloat64Array, distance: number, queryPoint: ReadonlyFloat64Array) => boolean

A filtering function for k-d tree searches.

Type parameters

Name
T

Type declaration

▸ (element, point, distance, queryPoint): boolean

Parameters
NameTypeDescription
elementTA candidate search result.
pointReadonlyFloat64ArrayThe location of the candidate search result, in cartesian form.
distancenumberThe great-circle distance, in great-arc radians, from the candidate search result to the query point.
queryPointReadonlyFloat64ArrayThe query point, in cartesian form.
Returns

boolean

Defined in

src/sdk/utils/datastructures/GeoKdTree.ts:23


GeoKdTreeSearchVisitor

Ƭ GeoKdTreeSearchVisitor<T>: (element: T, point: ReadonlyFloat64Array, distance: number, queryPoint: ReadonlyFloat64Array) => boolean

A visitor function for geo k-d tree searches.

Type parameters

Name
T

Type declaration

▸ (element, point, distance, queryPoint): boolean

Parameters
NameTypeDescription
elementTA search result.
pointReadonlyFloat64ArrayThe location of the search result, in cartesian form.
distancenumberThe great-circle distance, in great-arc radians, from the search result to the query point.
queryPointReadonlyFloat64ArrayThe query point, in cartesian form.
Returns

boolean

Defined in

src/sdk/utils/datastructures/GeoKdTree.ts:13


GeodesicResamplerHandler

Ƭ GeodesicResamplerHandler: (point: GeoPointInterface, projected: Float64Array, index: number) => void

A function which handles resampled points.

Type declaration

▸ (point, projected, index): void

Parameters
NameType
pointGeoPointInterface
projectedFloat64Array
indexnumber
Returns

void

Defined in

src/sdk/geo/GeodesicResampler.ts:9


Glideslope

Ƭ Glideslope: Object

whether a nav source has a glideslope signal.

Type declaration

NameTypeDescription
deviationnumberthe gs deviation value
gsAnglenumberthe angle of the gs
isValidbooleanwhether there is a gs signal
sourceNavSourceIdthe nav source id

Defined in

src/sdk/instruments/NavProcessor.ts:316


GpsSynchronizerOptions

Ƭ GpsSynchronizerOptions: Object

Configuration options for GpsSynchronizer.

Type declaration

NameTypeDescription
lnavIndex?number | Subscribable<number>The index of the LNAV from which to source data. Defaults to 0.
vnavIndex?number | Subscribable<number>The index of the VNAV from which to source data. Defaults to 0.

Defined in

src/sdk/autopilot/GpsSynchronizer.ts:23


HEvent

Ƭ HEvent: Object

H:Event events from the EventBus.

Type declaration

NameTypeDescription
hEventstringAn H:Event event.

Defined in

src/sdk/data/HEventPublisher.ts:6


Handler

Ƭ Handler<T>: (data: T) => void

A handler for handling subscription data.

Type parameters

Name
T

Type declaration

▸ (data): void

Parameters
NameType
dataT
Returns

void

Defined in

src/sdk/data/EventBus.ts:7


HorizonProjectionParameters

Ƭ HorizonProjectionParameters: Object

A parameter object for HorizonProjection.

Type declaration

NameTypeDescription
altitude?numberThe altitude of the airplane, in meters above mean sea level.
fov?numberThe field of view, in degrees.
fovEndpoints?ReadonlyFloat64ArrayThe projected endpoints at which to measure the field of view, as [x1, y1, x2, y2], with each component expressed relative to the width or height of the projected window.
heading?numberThe true heading of the airplane, in degrees.
headingScaleFactor?numberThe factor by which to scale relative heading angles when projecting points. The relative heading angle of a point is the difference between the bearing of the point from the airplane and the airplane's heading. A scaling factor of 1 leaves points unchanged. Factors less than 1 cause points to be projected closer to the lubber line. Factors greater than 1 cause points to be projected farther from the lubber line.
offset?ReadonlyFloat64ArrayThe offset of the projection camera relative to the airplane, as [x, y, z] in meters using the airplane's coordinate system. The positive z axis points in the forward direction of the airplane, the positive x axis points in the upward direction, and the positive y axis points to the right.
pitch?numberThe pitch of the airplane, in degrees.
pitchScaleFactor?numberThe factor by which to scale relative zero-roll pitch angles when projecting points. The relative zero-roll pitch angle of a point is the pitch angle of the point relative to the camera if the airplane had zero degrees of roll. A scaling factor of 1 leaves points unchanged. Factors less than 1 cause points to be projected closer to the pitch line corresponding to the airplane's pitch. Factors greater than 1 cause points to be projected farther from the pitch line corresponding to the airplane's pitch.
position?LatLonInterfaceThe position of the airplane.
projectedOffset?ReadonlyFloat64ArrayThe offset of the center of the projection, as [x, y] in pixels.
projectedSize?ReadonlyFloat64ArrayThe size of the projected window, as [x, y] in pixels.
roll?numberThe roll of the airplane, in degrees.

Defined in

src/sdk/components/horizon/HorizonProjection.ts:14


HydraulicsEvents

Ƭ HydraulicsEvents: BaseHydraulicsSystemEvents & HydraulicsIndexedEvents

Events related to the planes hydraulics.

Defined in

src/sdk/instruments/Hydraulics.ts:31


IdentChangeEvent

Ƭ IdentChangeEvent: Object

Encapsulation of a new ident event

Type declaration

NameTypeDescription
identstringThe new ident.
indexnumberThe radio currently tuned.

Defined in

src/sdk/instruments/RadioCommon.ts:78


IndexedEventType

Ƭ IndexedEventType<T>: `${T}_${number}`

An indexed event type. Indexed events have keys of the form event_[index].

Type parameters

NameType
Textends string

Defined in

src/sdk/data/EventBus.ts:35


IndexedEvents

Ƭ IndexedEvents<Events, Index>: { [Event in keyof Events as `${Event & string}_${Index}`]: Events[Event] }

Creates an indexed events type. Indexed events have keys of the form event_[index].

Type parameters

NameType
Eventsextends Object
Indexextends number

Defined in

src/sdk/data/EventBus.ts:40


IndexedLNavControlEvents

Ƭ IndexedLNavControlEvents<Index>: { [P in keyof BaseLNavControlEvents as `${P}_${Index}`]: BaseLNavControlEvents[P] }

Events used to control LNAV keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavControlEvents.ts:18


IndexedLNavDataEvents

Ƭ IndexedLNavDataEvents<Index>: { [P in keyof BaseLNavDataEvents as `${P}_${Index}`]: BaseLNavDataEvents[P] }

Events related to LNAV keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavDataEvents.ts:88


IndexedLNavDataSimVarEvents

Ƭ IndexedLNavDataSimVarEvents<Index>: { [P in keyof BaseLNavDataSimVarEvents as `${P}_${Index}`]: BaseLNavDataSimVarEvents[P] }

LNAV-related events derived from SimVars keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavDataEvents.ts:73


IndexedLNavEvents

Ƭ IndexedLNavEvents<Index>: { [P in keyof BaseLNavEvents as `${P}_${Index}`]: BaseLNavEvents[P] }

Events published by LNAV keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavEvents.ts:179


IndexedLNavObsControlEvents

Ƭ IndexedLNavObsControlEvents<Index>: { [P in keyof BaseLNavObsControlEvents as `${P}_${Index}`]: BaseLNavObsControlEvents[P] }

Events used to control LNAV OBS keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavObsControlEvents.ts:24


IndexedLNavObsSimVarEvents

Ƭ IndexedLNavObsSimVarEvents<Index>: { [P in keyof BaseLNavObsSimVarEvents as `${P}_${Index}`]: BaseLNavObsSimVarEvents[P] }

Events derived from LNAV OBS SimVars keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavObsEvents.ts:34


IndexedLNavSimVarEvents

Ƭ IndexedLNavSimVarEvents<Index>: { [P in keyof BaseLNavSimVarEvents as `${P}_${Index}`]: BaseLNavSimVarEvents[P] }

Events derived from LNAV SimVars keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/lnav/LNavEvents.ts:161


IndexedNavSourceSetting

Ƭ IndexedNavSourceSetting: Object

Type for setting an indexed instrument source

Type declaration

NameTypeDescription
indexnumberThe index of the specific device to increment
sourceNavSourceIdThe source to set this device to

Defined in

src/sdk/data/ControlPublisher.ts:10


IndexedVNavControlEvents

Ƭ IndexedVNavControlEvents<Index>: { [P in keyof BaseVNavControlEvents as `${P}_${Index}`]: BaseVNavControlEvents[P] }

Events used to control VNAV keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/vnav/VNavControlEvents.ts:47


IndexedVNavDataEvents

Ƭ IndexedVNavDataEvents<Index>: { [P in keyof BaseVNavDataEvents as `${P}_${Index}`]: BaseVNavDataEvents[P] }

VNAV-related data events keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/vnav/VNavDataEvents.ts:27


IndexedVNavEvents

Ƭ IndexedVNavEvents<Index>: { [P in IndexedVNavTopics as `${P}_${Index}`]: BaseVNavEvents[P] }

VNAV events keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/vnav/VNavEvents.ts:239


IndexedVNavSimVarEvents

Ƭ IndexedVNavSimVarEvents<Index>: { [P in IndexedVNavSimVarTopics as `${P}_${Index}`]: BaseVNavSimVarEvents[P] }

Events derived from VNAV SimVars keyed by indexed topic names.

Type parameters

NameType
Indexextends number = number

Defined in

src/sdk/autopilot/vnav/VNavEvents.ts:213


IndexedVNavSimVarTopics

Ƭ IndexedVNavSimVarTopics: Exclude<keyof BaseVNavSimVarEvents, "gp_approach_mode">

Topic names for events derived from VNAV SimVars that can be indexed.

Defined in

src/sdk/autopilot/vnav/VNavEvents.ts:208


IndexedVNavTopics

Ƭ IndexedVNavTopics: IndexedVNavSimVarTopics | Exclude<keyof BaseVNavEvents, keyof BaseVNavSimVarEvents>

Topic names for VNAV events that can be indexed.

Defined in

src/sdk/autopilot/vnav/VNavEvents.ts:234


JetFadecEngineState

Ƭ JetFadecEngineState: Object

The state of an engine controlled by a jet FADEC.

Type declaration

NameTypeDescription
n1numberThe current N1 value of the engine, in percent.
n1CorrectednumberThe current corrected N1 value of the engine, in percent.
throttlenumberThe current engine throttle setting, in the range of -1 to +1.
throttleLeverPosnumberThe current engine throttle lever position, in the range of -1 to +1.
thrustnumberThe current net thrust delivered by the engine, in pounds.

Defined in

src/sdk/fadec/JetFadec.ts:64


JetFadecThrottleInfo

Ƭ JetFadecThrottleInfo: Object

Information for a throttle controlled by a jet FADEC.

Type declaration

NameTypeDescription
indexnumberThe index of the engine controlled by the throttle.
leverPosTopicstringThe event bus topic that emits the throttle's virtual lever position.
visiblePosSimVarstringThe name of the SimVar controlling the throttle's visible lever position.

Defined in

src/sdk/fadec/JetFadec.ts:50


JetFadecThrottleInfoInternal

Ƭ JetFadecThrottleInfoInternal: JetFadecThrottleInfo & { correctedN1SimVar: string ; fadecModeTopic: IndexedEventType<"fadec_mode"> ; n1SimVar: string ; throttleSimVar: string ; thrustSimVar: string }

Information for a throttle controlled by a jet FADEC, for internal use.

Defined in

src/sdk/fadec/JetFadec.ts:84


KdTreeSearchFilter

Ƭ KdTreeSearchFilter<T>: (element: T, key: ReadonlyFloat64Array, distance: number, queryKey: ReadonlyFloat64Array, queryElement: T | undefined) => boolean

A filtering function for k-d tree searches.

Type parameters

Name
T

Type declaration

▸ (element, key, distance, queryKey, queryElement): boolean

Parameters
NameTypeDescription
elementTA candidate search result.
keyReadonlyFloat64ArrayThe key of the candidate search result.
distancenumberThe distance from the candidate search result's key to the query key.
queryKeyReadonlyFloat64ArrayThe query key.
queryElementT | undefinedThe query element, or undefined if the search was initiated directly from a key.
Returns

boolean

Defined in

src/sdk/utils/datastructures/KdTree.ts:24


KdTreeSearchVisitor

Ƭ KdTreeSearchVisitor<T>: (element: T, key: ReadonlyFloat64Array, distance: number, queryKey: ReadonlyFloat64Array, queryElement: T | undefined) => boolean

A visitor function for k-d tree searches.

Type parameters

Name
T

Type declaration

▸ (element, key, distance, queryKey, queryElement): boolean

Parameters
NameTypeDescription
elementTA search result.
keyReadonlyFloat64ArrayThe key of the search result.
distancenumberThe distance from the search result's key to the query key.
queryKeyReadonlyFloat64ArrayThe query key.
queryElementT | undefinedThe query element, or undefined if the search was initiated directly from a key.
Returns

boolean

Defined in

src/sdk/utils/datastructures/KdTree.ts:13


KeyEventData

Ƭ KeyEventData: Object

Key intercept event data.

Type declaration

NameTypeDescription
keystringThe key.
value0?numberThe first data value of the key event.
value1?numberThe second data value of the key event (this is often the index for indexed events).
value2?numberThe third data value of the key event.

Defined in

src/sdk/data/KeyEventManager.ts:7


KeyEvents

Ƭ KeyEvents: Object

Key events.

Type declaration

NameTypeDescription
key_interceptKeyEventDataA key intercept event.

Defined in

src/sdk/data/KeyEventManager.ts:24


Ƭ LNavAircraftState: Object

An object describing the airplane's state used by LNAV.

Type declaration

NameTypeDescription
gsnumberThe airplane's ground speed, in knots.
planePosGeoPointInterfaceThe airplane's position.
tasnumberThe airplane's true airspeed, in knots.
tracknumberThe airplane's true ground track, in degrees.

Defined in

src/sdk/autopilot/lnav/LNavTypes.ts:26


Ƭ LNavComputerOptions: Object

Options for LNavComputer.

Type declaration

NameTypeDescription
disableAutoSuspendAtMissedApproachPoint?booleanWhether to disable auto-suspend at the missed approach point. If true, the computer will not suspend sequencing once the missed approach point is the active leg. Defaults to false.
hasVectorAnticipation?booleanWhether the computer supports vector anticipation. If true, the computer will begin tracking the next flight path vector in advance based on the predicted amount of time required to transition to the new bank angle required to track the upcoming vector. Defaults to false.
intercept?LNavInterceptFuncA function used to translate DTK and XTK into a track intercept angle. If not defined, then a function that computes intercept angles tuned for slow GA aircraft will be used.
isPositionDataValid?() => booleanA function which returns whether valid position data (including ground speed and track) is available to the computer. When valid position data is not available, the computer is unable to generate guidance. If not defined, then valid position data is always considered to be available.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the computer, or a function which returns it. If not defined, then the computer will use the value published to the event bus for the autopilot's maximum bank angle. Defaults to undefined.
vectorAnticipationBankRate?numberThe bank rate used to determine the vector anticipation distance, in degrees per second. Ignored if hasVectorAnticipation is false. Defaults to 5.

Defined in

src/sdk/autopilot/lnav/LNavComputer.ts:40


Ƭ LNavControlEvents: BaseLNavControlEvents & IndexedLNavControlEvents

Events used to control LNAV.

Defined in

src/sdk/autopilot/lnav/LNavControlEvents.ts:25


Ƭ LNavDirectorInterceptFunc: LNavInterceptFunc

Calculates an intercept angle, in degrees, to capture the desired GPS track for LNavDirector.

Param

The desired track, in degrees true.

Param

The cross-track error, in nautical miles. Negative values indicate that the plane is to the left of the desired track.

Param

The true airspeed of the plane, in knots.

Defined in

src/sdk/autopilot/directors/LNavDirector.ts:21


Ƭ LNavDirectorOptions: Object

Options for LNavDirector.

Type declaration

NameTypeDescription
bankRate?number | () => numberThe bank rate to enforce when the director commands changes in bank angle, in degrees per second, or a function which returns it. If not undefined, a default bank rate will be used. Defaults to undefined.
disableArming?booleanWhether to disable arming on the director. If true, the director will always skip the arming phase and instead immediately activate itself when requested. Defaults to false.
disableAutoSuspendAtMissedApproachPoint?booleanWhether to disable auto-suspend at the missed approach point. If true, the director will not suspend sequencing once the missed approach point is the active leg. Defaults to false.
hasVectorAnticipation?booleanWhether the director supports vector anticipation. If true, the director will begin tracking the next flight path vector in advance based on the predicted amount of time required to transition to the new bank angle required to track the upcoming vector. Defaults to false.
lateralInterceptCurve?LNavDirectorInterceptFuncA function used to translate DTK and XTK into a track intercept angle. If not defined, a function that computes a default curve tuned for slow GA aircraft will be used.
maxBankAngle?number | () => numberThe maximum bank angle, in degrees, supported by the director, or a function which returns it. If not defined, the director will use the maximum bank angle defined by its parent autopilot (via apValues). Defaults to undefined.
minimumActivationAltitude?numberThe minimum radio altitude, in feet, required for the director to activate, or undefined if there is no minimum altitude. Defaults to undefined.
vectorAnticipationBankRate?numberThe bank rate used to determine the vector anticipation distance, in degrees per second. Ignored if hasVectorAnticipation is false. Defaults to 5.

Defined in

src/sdk/autopilot/directors/LNavDirector.ts:26


Ƭ LNavInterceptFunc: (dtk: number, xtk: number, tas: number) => number

Calculates an intercept angle, in degrees, to capture the desired GPS track for LNavComputer.

Type declaration

▸ (dtk, xtk, tas): number

Parameters
NameTypeDescription
dtknumberThe desired track, in degrees true.
xtknumberThe cross-track error, in nautical miles. Positive values indicate that the plane is to the right of the desired track.
tasnumberThe true airspeed of the plane, in knots.
Returns

number

Defined in

src/sdk/autopilot/lnav/LNavComputer.ts:35


Ƭ LNavObsControlEvents: BaseLNavObsControlEvents & IndexedLNavObsControlEvents

Events used to control LNAV OBS.

Defined in

src/sdk/autopilot/lnav/LNavObsControlEvents.ts:31


Ƭ LNavObsEvents: LNavObsSimVarEvents

All LNAV OBS events.

Defined in

src/sdk/autopilot/lnav/LNavObsEvents.ts:47


Ƭ LNavState: Object

An object describing an LNAV tracking state.

Type declaration

NameTypeDescription
globalLegIndexnumberThe global index of the tracked flight plan leg.
inhibitedSuspendLegIndexnumberThe global index of the flight plan leg for which suspend is inhibited, or -1 if there is no such leg.
isMissedApproachActivebooleanWhether the missed approach is active.
isSuspendedbooleanWhether leg sequencing is suspended.
resetVectorsOnSuspendEndbooleanWhether to reset the tracked vector to the beginning of the suspended leg once suspend ends.
transitionModeLNavTransitionModeThe transition mode.
vectorIndexnumberThe index of the tracked flight path vector.

Defined in

src/sdk/autopilot/lnav/LNavTypes.ts:43


Ƭ LNavSteerCommand: Object

A steering command generated by LNAV.

Type declaration

NameTypeDescription
desiredBankAnglenumberThe desired bank angle, in degrees. Positive values indicate left bank.
dtknumberThe current desired track, in degrees true.
isValidbooleanWhether this command is valid.
taenumberThe current track angle error, in degrees in the range [-180, 180).
xtknumberThe current cross-track error, in nautical miles. Positive values indicate that the plane is to the right of the desired track.

Defined in

src/sdk/autopilot/lnav/LNavTypes.ts:69


Ƭ LNavTrackingState: Object

A LNAV tracking state.

Type declaration

NameTypeDescription
globalLegIndexnumberThe global index of the tracked flight plan leg.
isSuspendedbooleanWhether LNAV sequencing is suspended.
isTrackingbooleanWhether LNAV is currently tracking a flight path.
transitionModeLNavTransitionModeThe LNAV transition mode.
vectorIndexnumberThe index of the tracked flight path vector.

Defined in

src/sdk/autopilot/lnav/LNavEvents.ts:141


LayerRecord

Ƭ LayerRecord: Record<string, any>

A record of string-keyed map layers.

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:15


LayerUnion

Ƭ LayerUnion<Layers, New>: Omit<Layers, keyof New> & New

Adds all modules from a new layer record to an existing record. Layers from the new record will overwrite the ones in the existing record if there are key collisions.

Type parameters

NameType
Layersextends LayerRecord
Newextends LayerRecord

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:42


LegPredictions

Ƭ LegPredictions: PassedLegPredictions | ActiveOrUpcomingLegPredictions

Leg predictions data, either passed or active/upcoming

Defined in

src/sdk/utils/predictions/LegPredictions.ts:74


LegStyleHandler

Ƭ LegStyleHandler: (plan: FlightPlan, leg: LegDefinition, activeLeg: LegDefinition | undefined, legIndex: number, activeLegIndex: number) => FlightPathRenderStyle | FlightPathVectorStyle

A handler that takes some leg data and returns the appropriate flight path rendering style.

Type declaration

▸ (plan, leg, activeLeg, legIndex, activeLegIndex): FlightPathRenderStyle | FlightPathVectorStyle

Parameters
NameType
planFlightPlan
legLegDefinition
activeLegLegDefinition | undefined
legIndexnumber
activeLegIndexnumber
Returns

FlightPathRenderStyle | FlightPathVectorStyle

Defined in

src/sdk/components/mapsystem/MapSystemPlanRenderer.ts:17


LegWaypointHandler

Ƭ LegWaypointHandler: (plan: FlightPlan, leg: LegDefinition, activeLeg: LegDefinition | null, legIndex: number, activeLegIndex: number) => number

A handler that takes some leg data and returns the waypoint rendering role that the waypoint should be rendered under.

Type declaration

▸ (plan, leg, activeLeg, legIndex, activeLegIndex): number

Parameters
NameType
planFlightPlan
legLegDefinition
activeLegLegDefinition | null
legIndexnumber
activeLegIndexnumber
Returns

number

Defined in

src/sdk/components/mapsystem/MapSystemPlanRenderer.ts:24


LerpVectorLookupTableBreakpoint

Ƭ LerpVectorLookupTableBreakpoint: [ReadonlyFloat64Array, ...number[]]

A breakpoint for a linearly interpolated N-dimensional lookup table of vectors. The breakpoint value is located at index 0, followed by the keys for each dimension at indexes 1, 2, ... , N+1.

Defined in

src/sdk/utils/datastructures/LerpVectorLookupTable.ts:9


Localizer

Ƭ Localizer: Object

whether a nav source has a localizer signal.

Type declaration

NameTypeDescription
coursenumberthe localizer course
isValidbooleanwhether there is a localizer signal
sourceNavSourceIdthe nav source id

Defined in

src/sdk/instruments/NavProcessor.ts:298


LocalizerFrequency

Ƭ LocalizerFrequency: Object

whether a nav source is tuned to a localizer frequency.

Type declaration

NameTypeDescription
isLocalizerbooleanif the freq is a loc
sourceNavSourceIdthe nav source id

Defined in

src/sdk/instruments/NavProcessor.ts:308


LodBoundaryShape

Ƭ LodBoundaryShape: LodBoundaryVector[]

A single contiguous boundary shape.

Defined in

src/sdk/navigation/LodBoundary.ts:20


LodBoundaryVector

Ƭ LodBoundaryVector: Object

A vector describing one edge of a boundary shape.

Type declaration

NameTypeDescription
circle?GeoCircleThe path of this vector, or undefined if this is a starting vector.
endGeoPointInterfaceThe end point of this vector.

Defined in

src/sdk/navigation/LodBoundary.ts:9


LogicHandler

Ƭ LogicHandler<T>: Object

A type that pairs a logic element with its callback handler.

Type parameters

Name
T

Type declaration

NameTypeDescription
handler(data: T) => voidA handler to call back to when there's a value change.
logicCompositeLogicXMLElementA logic element instance to evaluate.
precision?numberA precision to use for numeric values.
smoothFactor?numberA linear smoothing factor for value changes.

Defined in

src/sdk/data/CompositeLogicXMLHost.ts:6


MapAirspaceShowTypes

Ƭ MapAirspaceShowTypes: Record<any, number>

A map of airspace show types to their associated nearest boundary search filter bitflags.

Defined in

src/sdk/components/map/modules/MapAirspaceModule.ts:6


MapBinding

Ƭ MapBinding: MapSimpleBinding<any> | MapTransformedBinding<any, any> | MapMultiTransformedBinding<any, any>

A binding which can be maintained by MapBindingsController.

Defined in

src/sdk/components/mapsystem/controllers/MapBindingsController.ts:50


MapFieldOfView

Ƭ MapFieldOfView: Object

A map range and target solution describing a field of view.

Type declaration

NameTypeDescription
rangenumberThe range of the field of view, in great-arc radians.
targetGeoPointThe target location of the field of view.

Defined in

src/sdk/components/map/MapFieldOfViewCalculator.ts:9


MapLabeledRingLabelContent

Ƭ MapLabeledRingLabelContent: string | number | HTMLElement | DisplayComponent<any> | SVGElement

Valid content types for map ring labels.

Defined in

src/sdk/components/map/MapLabeledRingLabel.ts:7


MapMultiTransformedBinding

Ƭ MapMultiTransformedBinding<I, T>: Object

A binding from multiple sources to a target.

Type parameters

NameType
Iextends readonly any[]
TT

Type declaration

NameTypeDescription
map(sources: Readonly<I>) => TA function which transforms source values, as a tuple, before they are applied to the target.
sourcesMappedSubscribableInputs<I>The sources of the binding.
targetMutableSubscribable<any, T>The target of the binding.

Defined in

src/sdk/components/mapsystem/controllers/MapBindingsController.ts:36


MapNearestWaypointsLayerSearchTypes

Ƭ MapNearestWaypointsLayerSearchTypes: Airport | Vor | Ndb | Intersection | User

Facility search types supported by MapAbstractNearestWaypointsLayer.

Defined in

src/sdk/components/map/layers/MapNearestWaypointsLayer.tsx:18


MapOwnAirplanePropsKey

Ƭ MapOwnAirplanePropsKey: Extract<keyof MapOwnAirplanePropsModule, string>

A key for a property in MapOwnAirplanePropsModule.

Defined in

src/sdk/components/mapsystem/controllers/MapOwnAirplanePropsController.ts:24


MapProjectionParameters

Ƭ MapProjectionParameters: Object

A parameter object for MapProjection.

Type declaration

NameTypeDescription
projectedSize?ReadonlyFloat64ArrayThe size of the projected window, in pixels.
range?numberThe range of the projection, in great-arc radians. The range is measured between the projection's two range endpoints.
rangeEndpoints?ReadonlyFloat64ArrayThe endpoints used to measure the range of the projection, as a 4-tuple [relX1, relY1, relX2, relY2]. Each component is expressed in relative projected coordinates, where 0 is the left/top of the projected window, and 1 is the right/bottom of the projected window.
rotation?numberThe post-projected rotation angle, in radians.
target?GeoPointInterfaceThe target of the projection. The target is guaranteed to be projected to a specific point in the projected window defined by the center of the window plus the target projected offset.
targetProjectedOffset?ReadonlyFloat64ArrayThe projected offset from the center of the projected window of the projection's target, in pixels.

Defined in

src/sdk/components/map/MapProjection.ts:10


MapSimpleBinding

Ƭ MapSimpleBinding<T>: Object

A binding from a source to a target.

Type parameters

Name
T

Type declaration

NameTypeDescription
sourceSubscribable<T>The source of the binding.
targetMutableSubscribable<any, T>The target of the binding.

Defined in

src/sdk/components/mapsystem/controllers/MapBindingsController.ts:11


MapSystemContext

Ƭ MapSystemContext<Modules, Layers, Controllers, Context>: { bus: EventBus ; deadZone: Subscribable<ReadonlyFloat64Array> ; model: MapModel<Modules> ; projectedSize: Subscribable<ReadonlyFloat64Array> ; projection: MapProjection ; getController: <K>(key: K) => Controllers[K] ; getLayer: <K>(key: K) => Layers[K] } & Readonly<Context>

A context which holds data related to a compiled MapSystem map.

Type parameters

NameType
Modulesextends ModuleRecord = EmptyRecord
Layersextends LayerRecord = EmptyRecord
Controllersextends ControllerRecord = EmptyRecord
Contextextends ContextRecord = EmptyRecord

Defined in

src/sdk/components/mapsystem/MapSystemContext.ts:13


MapSystemCustomBuilder

Ƭ MapSystemCustomBuilder<Args, RequiredModules, RequiredLayers, RequiredContext>: (mapBuilder: MapSystemBuilder<RequiredModules, RequiredLayers, any, RequiredContext>, ...args: Args) => MapSystemBuilder<any, any, any, any>

A function which defines a custom build step.

Type parameters

NameType
Argsextends any[] = any[]
RequiredModulesextends ModuleRecord = any
RequiredLayersextends LayerRecord = any
RequiredContextextends ContextRecord = any

Type declaration

▸ (mapBuilder, ...args): MapSystemBuilder<any, any, any, any>

Parameters
NameType
mapBuilderMapSystemBuilder<RequiredModules, RequiredLayers, any, RequiredContext>
...argsArgs
Returns

MapSystemBuilder<any, any, any, any>

Defined in

src/sdk/components/mapsystem/MapSystemBuilder.tsx:64


MapSystemGenericControllerCallbacks

Ƭ MapSystemGenericControllerCallbacks<Context>: Object

Callbacks supported by MapSystemGenericController.

Type parameters

NameType
Contextextends MapSystemContext<any, any, any, any>

Type declaration

NameType
onAfterMapRender?(context: Context) => void
onAfterUpdated?(context: Context, time: number, elapsed: number) => void
onBeforeUpdated?(context: Context, time: number, elapsed: number) => void
onDeadZoneChanged?(context: Context, deadZone: ReadonlyFloat64Array) => void
onDestroyed?(context: Context) => void
onMapDestroyed?(context: Context) => void
onMapProjectionChanged?(context: Context, mapProjection: MapProjection, changeFlags: number) => void
onSleep?(context: Context) => void
onWake?(context: Context) => void

Defined in

src/sdk/components/mapsystem/MapSystemGenericController.ts:10


MapTrafficIntruderIconFactory

Ƭ MapTrafficIntruderIconFactory<Modules, Layers, Controllers, Context>: (intruder: TcasIntruder, context: MapSystemContext<Modules, Layers, Controllers, Context>) => MapTrafficIntruderIcon

A function which creates map icons for TCAS intruders.

Type parameters

NameType
Modulesextends ModuleRecord = any
Layersextends LayerRecord = any
Controllersextends ControllerRecord = any
Contextextends ContextRecord = any

Type declaration

▸ (intruder, context): MapTrafficIntruderIcon

Parameters
NameTypeDescription
intruderTcasIntruderThe intruder for which to create an icon.
contextMapSystemContext<Modules, Layers, Controllers, Context>The context of the icon's parent map.
Returns

MapTrafficIntruderIcon

Defined in

src/sdk/components/mapsystem/layers/MapSystemTrafficLayer.tsx:51


MapTransformedBinding

Ƭ MapTransformedBinding<S, T>: Object

A binding from a transformed source to a target.

Type parameters

Name
S
T

Type declaration

NameTypeDescription
map(source: S) => TA function which transforms source values before they are applied to the target.
sourceSubscribable<S>The source of the binding.
targetMutableSubscribable<any, T>The target of the binding.

Defined in

src/sdk/components/mapsystem/controllers/MapBindingsController.ts:22


MapWaypointRenderRoleDef

Ƭ MapWaypointRenderRoleDef<W>: Object

A render role definition.

Type parameters

NameType
Wextends MapWaypoint

Type declaration

NameTypeDescription
canvasContextCanvasRenderingContext2D | nullThe canvas rendering context used to draw icons and labels for the render role.
iconFactoryMapWaypointRendererIconFactory<W> | nullThe icon factory used to create icons for the render role.
labelFactoryMapWaypointRendererLabelFactory<W> | nullThe label factory used to create labels for the render role.
visibilityHandler(waypoint: W) => booleanA function which determines whether a waypoint is visible under the render role.

Defined in

src/sdk/components/map/MapWaypointRenderer.ts:38


MapWaypointRenderRoleSelector

Ƭ MapWaypointRenderRoleSelector<W>: (entry: MapWaypointRendererEntry<W>, roleDefinitions: ReadonlyMap<number, Readonly<MapWaypointRenderRoleDef<W>>>) => number

A function which selects roles under which to render waypoints.

Type parameters

NameType
Wextends MapWaypoint

Type declaration

▸ (entry, roleDefinitions): number

Parameters
NameType
entryMapWaypointRendererEntry<W>
roleDefinitionsReadonlyMap<number, Readonly<MapWaypointRenderRoleDef<W>>>
Returns

number

Defined in

src/sdk/components/map/MapWaypointRenderer.ts:55


MapWaypointRendererType

Ƭ MapWaypointRendererType<Renderer>: Renderer extends MapWaypointRenderer<infer W> ? W : never

Gets the waypoint type supported by a waypoint renderer.

Type parameters

Name
Renderer

Defined in

src/sdk/components/map/MapWaypointRenderer.ts:63


MappedSubscribableInputs

Ƭ MappedSubscribableInputs<Types>: { [Index in keyof Types]: Subscribable<Types[Index]> } & TupleLength<Types>

A type which maps a tuple of input types to a tuple of subscribables that provide the input types.

Type parameters

NameType
Typesextends readonly any[]

Defined in

src/sdk/sub/MappedSubject.ts:15


MappedValueInputs

Ƭ MappedValueInputs<Types>: { [Index in keyof Types]: Accessible<Types[Index]> } & TupleLength<Types>

A type which maps a tuple of input types to a tuple of accessibles that provide the input types.

Type parameters

NameType
Typesextends readonly any[]

Defined in

src/sdk/sub/MappedValue.ts:12


MetricAltitudeSelectSetting

Ƭ MetricAltitudeSelectSetting: Object

Metric Altitude Select Setting.

Type declaration

NameTypeDescription
altMetricbooleanWhether the altimeter is set to Metric

Defined in

src/sdk/autopilot/managers/AltitudeSelectManager.ts:20


MetricAltitudeSettingsManager

Ƭ MetricAltitudeSettingsManager: UserSettingManager<MetricAltitudeSelectSetting>

A type describing a settings manager that at least has the metric altimeter setting.

Defined in

src/sdk/autopilot/managers/AltitudeSelectManager.ts:28


MinimumsEvents

Ƭ MinimumsEvents: MinimumsSimVarEvents & MinimumsControlEvents

A common type for all minimums events.

Defined in

src/sdk/instruments/MinimumsManager.ts:41


ModuleRecord

Ƭ ModuleRecord: Record<string, any>

A record of string-keyed map model modules.

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:10


ModuleUnion

Ƭ ModuleUnion<Modules, New>: Omit<Modules, keyof New> & New

Adds all modules from a new module record to an existing record. Modules from the new record will overwrite the ones in the existing record if there are key collisions.

Type parameters

NameType
Modulesextends ModuleRecord
Newextends ModuleRecord

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:36


MutableAccessibleInputType

Ƭ MutableAccessibleInputType<A>: A extends MutableAccessible<any, infer I> ? I : never

Utility type to retrieve the input value of a MutableAccessible.

Type parameters

Name
A

Defined in

src/sdk/sub/Accessible.ts:32


MutableMapContext

Ƭ MutableMapContext<T>: T extends MapSystemContext<any, infer Layers, infer Controllers, any> ? T & { setController: <K>(key: K, controller: Controllers[K]) => void ; setLayer: <K>(key: K, layer: Layers[K]) => void } : never

A mutable version of MapSystemContext which allows adding layers and controllers.

Type parameters

Name
T

Defined in

src/sdk/components/mapsystem/MapSystemContext.ts:53


MutableSubscribableInputType

Ƭ MutableSubscribableInputType<S>: S extends MutableSubscribable<any, infer I> ? I : never

Utility type to retrieve the input value of a MutableSubscribable.

Type parameters

Name
S

Defined in

src/sdk/sub/Subscribable.ts:137


Ƭ NavAngleUnitFamily: "navangle"

The navigation angle unit family type.

Defined in

src/sdk/geo/NavAngle.ts:10


Ƭ NavComSimVars: NavComEvents

Events related to nav, com, and ADF radios.

Defined in

src/sdk/instruments/NavCom.ts:290


Ƭ NavMagneticVariation: Object

The magnetic variation for a tuned nav station.

Type declaration

NameTypeDescription
sourceNavSourceIdthe nav source id
variationnumberthe magnetic variation value

Defined in

src/sdk/instruments/NavProcessor.ts:328


Ƭ NavRadioIndex: 1 | 2 | 3 | 4

Nav radio index.

Defined in

src/sdk/instruments/RadioCommon.ts:11


Ƭ NavSourceId: Object

Specified for a particular navigation source

Type declaration

NameTypeDescription
indexnumberThe index of this in the given source type.
typeNavSourceType | nullThe type of source it is.

Defined in

src/sdk/instruments/NavProcessor.ts:256


NearestLodBoundarySearchResults

Ƭ NearestLodBoundarySearchResults: Object

Results of a nearest LodBoundary search.

Type declaration

NameTypeDescription
addedreadonly LodBoundary[]The boundaries found in these search results that were not returned in the last search.
removedreadonly number[]The unique IDs of the boundaries returned in the last search that are not found in these search results.

Defined in

src/sdk/navigation/NearestLodBoundarySearchSession.ts:9


NearestSubscriptionFacilityType

Ƭ NearestSubscriptionFacilityType<S>: S extends NearestSubscription<infer T> ? T : never

Gets the facility type returned by a nearest subscription.

Type parameters

NameType
Sextends NearestSubscription<any>

Defined in

src/sdk/navigation/NearestSubscription.ts:28


NodeInstance

Ƭ NodeInstance: HTMLElement | SVGElement | DisplayComponent<any> | string | number | null | Subscribable<any>

A union of possible types of a VNode instance.

Defined in

src/sdk/components/FSComponent.ts:31


NumberFormatterOptions

Ƭ NumberFormatterOptions: Object

Options for creating a number formatter.

Type declaration

NameTypeDescription
cache?booleanWhether to cache and reuse the previously generated string when possible. Defaults to false.
forceDecimalZeroes?booleanWhether to force trailing zeroes to the right of the decimal point. The number of trailing zeroes is determined by the precision option. Specifically, trailing zeroes are added to the least significant decimal place required to represent the value of precision (and therefore, any possible output rounded to precision) with no rounding. Defaults to true.
forceSign?booleanWhether to force the display of a positive sign. Ignored if hideSign is true. Defaults to false.
hideSign?booleanWhether to hide the display of the positive/negative sign. Overrides forceSign. Defaults to false.
maxDigits?numberThe maximum number of digits to enforce. Digits to the right of the decimal point will be omitted (with proper rounding behavior) as necessary until the total number of digits in the output is less than or equal to the value of this option or until there are no more digits to omit. Digits to the left of the decimal point are always preserved, even if it means the number of digits in the output will exceed the value of this option. Defaults to Infinity.
nanString?stringThe string to output for an input of NaN. Defaults to 'NaN'.
pad?numberThe number of digits to which to pad with zeroes to the left of the decimal point. Defaults to 1.
precision?numberThe precision to which to round the number. A value of 0 denotes no rounding. Defaults to 0.
round?-1 | 0 | 1Rounding behavior. Always round down = -1. Always round up = +1. Normal rounding = 0. Defaults to 0.
showCommas?booleanWhether to show commas. Defaults to false.
useMinusSign?booleanWhether to use a minus sign () in place of a dash (-) in front of negative numbers. Defaults to false.

Defined in

src/sdk/graphics/text/NumberFormatter.ts:4


NumberToRangeUnion

Ƭ NumberToRangeUnion<E>: E extends 1 ? 1 : E extends 2 ? 1 | 2 : E extends 3 ? 1 | 2 | 3 : E extends 4 ? 1 | 2 | 3 | 4 : E extends 5 ? 1 | 2 | 3 | 4 | 5 : E extends 6 ? 1 | 2 | 3 | 4 | 5 | 6 : E extends 7 ? 1 | 2 | 3 | 4 | 5 | 6 | 7 : E extends 8 ? 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 : number

Takes a number type from 1 to 8 and returns a union type ranging from 1 to E inclusive, 8 is the limit.

Type parameters

NameType
Eextends number | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8

Defined in

src/sdk/utils/types/UtilityTypes.ts:2


ObjectSubjectHandler

Ƭ ObjectSubjectHandler<T>: (v: Readonly<T>, key: keyof T, newValue: T[keyof T], oldValue: T[keyof T]) => void

A function which handles changes in an ObjectSubject's state.

Type parameters

NameType
Textends Record<string, any>

Type declaration

▸ (v, key, newValue, oldValue): void

Parameters
NameType
vReadonly<T>
keykeyof T
newValueT[keyof T]
oldValueT[keyof T]
Returns

void

Defined in

src/sdk/sub/ObjectSubject.ts:11


ObsSetting

Ƭ ObsSetting: Object

The OBS setting for a nav source.

Type declaration

NameTypeDescription
headingnumber | nullthe setting in degrees
sourceNavSourceIdthe nav source

Defined in

src/sdk/instruments/NavProcessor.ts:264


PerformancePlan

Ƭ PerformancePlan: Object

Contains performance data tied to a flight plan

Index signature

[k: string]: MutableSubscribable<any, any>

Defined in

src/sdk/performance/PerformancePlan.ts:6


PerformancePlanDefinitionObject

Ƭ PerformancePlanDefinitionObject<P>: { [k in keyof P]: PerformancePlanDefinition<P[k] extends MutableSubscribable<infer U> ? U : never> }

An object containing definitions for each of a performance plan type's properties

Type parameters

NameType
Pextends PerformancePlan

Defined in

src/sdk/performance/PerformancePlanDefinitions.ts:22


PerformancePlanProxy

Ƭ PerformancePlanProxy<P>: P & { [k in keyof P]: ProxiedPerformancePlanProperty<P, k> } & PerformancePlanProxyCallbacks<P> & { defaultValuesPlan: P ; switchToPlan: (plan: P, initial: boolean) => void }

Proxy for accessing the performance plan data for the currently used flight plan.

This exposes all mutable subscribables defined in PerformancePlan, but allows "switching" the backing performance plan that the mutable subscribables reflect.

This is useful to tie CDU pages and CDU components to the relevant mutable subscribables without having to manually switch them around depending on MOD/ACT, for example.

Type parameters

NameType
Pextends PerformancePlan

Defined in

src/sdk/performance/PerformancePlanProxy.ts:22


PerformancePlanSyncEventsForId

Ƭ PerformancePlanSyncEventsForId<ID>: { [P in keyof BasePerformancePlanSyncEvents as `${P}${FlightPlannerEventSuffix<ID>}`]: BasePerformancePlanSyncEvents[P] }

Events published by a PerformancePlanRepository with a specific ID.

Type parameters

NameType
IDextends string

Defined in

src/sdk/performance/PerformancePlanRepository.ts:34


PidOptions

Ƭ PidOptions: Object

Options for PidController.

Type declaration

NameTypeDescription
kDnumberkP
kInumberkP
kPnumberkP
maxI?numbermaxI (optional)
maxOutnumbermaxOut
minI?numberminI (optional)
minOutnumberminOut

Defined in

src/sdk/utils/controllers/PidController.ts:4


PitotEvents

Ƭ PitotEvents: PitotNonIndexedEvents & PitotIndexedEvents

Events related to pitot tubes.

Defined in

src/sdk/instruments/Pitot.ts:35


PitotIndexedEvents

Ƭ PitotIndexedEvents: { [P in keyof PitotIndexedTopics as IndexedEventType<P>]: PitotIndexedTopics[P] }

Indexed events related to pitot tubes.

Defined in

src/sdk/instruments/Pitot.ts:28


PositionedFmcColumn

Ƭ PositionedFmcColumn: [content: string | FmcComponent, columnIndex: number, alignment?: "left" | "right"]

A positionable FMC column.

Defined in

src/sdk/fmc/FmcRenderer.ts:8


PowerCommand

Ƭ PowerCommand: Object

A command issued by an autothrottle power controller.

Type declaration

NameTypeDescription
isOverpowerProtEngagedbooleanWhether overpower protection is engaged.
isOverspeedProtEngagedbooleanWhether overspeed protection is engaged.
isUnderspeedProtEngagedbooleanWhether underspeed protection is engaged.
speednumber | undefinedThe commanded throttle position adjustment speed.
targetPosnumber | undefinedThe commanded throttle position.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:296


Radio

Ƭ Radio: Object

Encapsulates a single radio's state.

Type declaration

NameTypeDescription
activeFrequencynumberThe current active frequency.
identstring | nullThe ident of the active station
indexnumberIndex number of the radio.
radioTypeRadioTypeThe appropriate RadioType for this radio.
selectedbooleanWhether this radio is selected for changes.
signalnumberSignal strength of the active station.
standbyFrequencynumberThe current standby frequency.

Defined in

src/sdk/instruments/RadioCommon.ts:26


ReadonlyConsumerValue

Ƭ ReadonlyConsumerValue<T>: Pick<ConsumerValue<T>, "get" | "isAlive" | "isPaused">

A read-only ConsumerValue.

Type parameters

Name
T

Defined in

src/sdk/data/ConsumerValue.ts:8


ReadonlyFloat64Array

Ƭ ReadonlyFloat64Array: Readonly<Omit<Float64Array, "set" | "copyWithin" | "sort">>

A readonly version of a Float64Array.

Defined in

src/sdk/math/VecMath.ts:4


ReadonlySubEvent

Ƭ ReadonlySubEvent<SenderType, DataType>: Omit<SubEventInterface<SenderType, DataType>, "notify" | "clear">

An event to which handlers can be subscribed to be notified whenever the event is emitted.

Type parameters

Name
SenderType
DataType

Defined in

src/sdk/sub/SubEvent.ts:7


ReadonlyTransform2D

Ƭ ReadonlyTransform2D: Pick<Transform2D, "getParameters" | "apply" | "copy">

A readonly 2D affine transformation.

Defined in

src/sdk/math/Transform2D.ts:4


ReadonlyTransform3D

Ƭ ReadonlyTransform3D: Pick<Transform3D, "getParameters" | "apply" | "copy">

A readonly 3D affine transformation.

Defined in

src/sdk/math/Transform3D.ts:4


ReadonlyTransformPerspective

Ƭ ReadonlyTransformPerspective: Pick<TransformPerspective, "getCameraPosition" | "getCameraRotation" | "getSurfacePosition" | "apply" | "copy">

A readonly perspective transformation.

Defined in

src/sdk/math/TransformPerspective.ts:7


RequiredControllerContext

Ƭ RequiredControllerContext<Controller>: Controller extends MapSystemController<any, any, any, infer Context> ? Context : never

Retrieves a map controller's required context.

Type parameters

Name
Controller

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:77


RequiredControllerLayers

Ƭ RequiredControllerLayers<Controller>: Controller extends MapSystemController<any, infer L, any, any> ? L : never

Retrieves a map controller's required layers.

Type parameters

Name
Controller

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:72


RequiredControllerModules

Ƭ RequiredControllerModules<Controller>: Controller extends MapSystemController<infer M, any, any, any> ? M : never

Retrieves a map controller's required modules.

Type parameters

Name
Controller

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:67


RequiredCustomBuilderContext

Ƭ RequiredCustomBuilderContext<Builder>: Builder extends MapSystemCustomBuilder<any, any, any, infer Context> ? Context : never

Retrieves a custom map builder's required context.

Type parameters

Name
Builder

Defined in

src/sdk/components/mapsystem/MapSystemBuilder.tsx:89


RequiredCustomBuilderLayers

Ƭ RequiredCustomBuilderLayers<Builder>: Builder extends MapSystemCustomBuilder<any, any, infer L> ? L : never

Retrieves a custom map builder's required layers.

Type parameters

Name
Builder

Defined in

src/sdk/components/mapsystem/MapSystemBuilder.tsx:84


RequiredCustomBuilderModules

Ƭ RequiredCustomBuilderModules<Builder>: Builder extends MapSystemCustomBuilder<any, infer M> ? M : never

Retrieves a custom map builder's required modules.

Type parameters

Name
Builder

Defined in

src/sdk/components/mapsystem/MapSystemBuilder.tsx:79


RequiredLayerModules

Ƭ RequiredLayerModules<Layer>: Layer extends MapLayer<infer P> ? P extends MapLayerProps<infer M> ? M : never : never

Retrieves a map layer's required modules.

Type parameters

Name
Layer

Defined in

src/sdk/components/mapsystem/MapSystemTypes.ts:62


ResourceConsumer

Ƭ ResourceConsumer<T>: Object

A consumer of a resource.

Type parameters

NameType
Tvoid

Type declaration

NameTypeDescription
onAcquired(resource: T) => voidA callback function which is called when this consumer gains access to its desired resource.
onCeded(resource: T) => voidA callback function which is called when this consumer loses access to its desired resource.
prioritynumberThis consumer's priority for its desired resource. Consumers with higher priority will gain access to the resource over consumers with lower priority.

Defined in

src/sdk/utils/resource/ResourceModerator.ts:6


ScrollDirection

Ƭ ScrollDirection: "forward" | "backward"

A requested scroll direction.

Defined in

src/sdk/components/controls/HardwareUiControl.tsx:12


SearchTypeMap

Ƭ SearchTypeMap: Object

A type map of search type to facility type.

Type declaration

NameTypeDescription
0FacilityAll facilities.
1AirportFacilityAirports.
2IntersectionFacilityIntersections.
3VorFacilityVORs.
4NdbFacilityNDBs.
5BoundaryFacilityBoundaries.
6UserFacilityUser facilities.
7VisualFacilityVisual facilities.
8FacilityAll facilities except visual facilities.

Defined in

src/sdk/navigation/FacilityLoader.ts:67


SearchableFacilityTypes

Ƭ SearchableFacilityTypes: USR | VIS

Facility types for which FacilityRepository supports spatial searches.

Defined in

src/sdk/navigation/FacilityRepository.ts:97


SessionTypeMap

Ƭ SessionTypeMap: Object

A type map of search type to concrete search session type.

Type declaration

NameTypeDescription
0NearestSearchSession<any, any>All facilities search session.
1NearestAirportSearchSessionAirport search session.
2NearestIntersectionSearchSessionIntersection search session.
3NearestVorSearchSessionVOR search session.
4NearestSearchSession<string, string>NDB search session.
5NearestBoundarySearchSessionBoundary search session.
6NearestRepoFacilitySearchSession<UserFacility>Nearest user facility search session.
7NearestRepoFacilitySearchSession<VisualFacility>Nearest visual facility search session.
8NearestSearchSession<any, any>All facilities search session.

Defined in

src/sdk/navigation/FacilityLoader.ts:35


SimVarDefinition

Ƭ SimVarDefinition: Object

The definition of a simvar and associated value type.

Type declaration

NameTypeDescription
namestringThe name of the simvar.
typeSimVarValueTypeThe value to be used to retrieve this simvar.

Defined in

src/sdk/data/SimVars.ts:54


SimVarPublisherEntry

Ƭ SimVarPublisherEntry<T>: SimVarDefinition & { defaultIndex?: number | null ; indexed?: boolean | Iterable<number> ; map?: (value: any) => T }

An entry for a sim var publisher topic.

Type parameters

Name
T

Defined in

src/sdk/instruments/BasePublishers.ts:98


SmoothingPathCalculatorOptions

Ƭ SmoothingPathCalculatorOptions: Object

Options for a SmoothingPathCalculator.

Type declaration

NameTypeDescription
defaultFpa?numberThe default flight path angle, in degrees, for descent paths. Increasingly positive values indicate steeper descents. Defaults to 3 degrees.
directToLegOffset?numberThe index offset of a lateral direct-to leg from its direct-to target leg. Defaults to 3.
forceFirstApproachAtConstraint?booleanWhether to force the first constraint in the approach to an AT constraint. Defaults to false.
index?numberThe VNAV index to assign to the path calculator. The VNAV index determines the index of the control events used to control the calculator. Defaults to 0.
invalidateClimbConstraint?(constraint: VNavConstraint, index: number, constraints: readonly VNavConstraint[], firstDescentConstraintIndex: number, priorMinAltitude: number, priorMaxAltitude: number) => booleanA function which checks whether a climb constraint should be invalidated. Invalidated constraints will not appear in the vertical flight plan. If not defined, no climb constraints will be invalidated.
invalidateDescentConstraint?(constraint: VNavConstraint, index: number, constraints: readonly VNavConstraint[], priorMinAltitude: number, priorMaxAltitude: number, requiredFpa: number, maxFpa: number) => booleanA function which checks whether a descent constraint should be invalidated. Invalidated constraints will not appear in the vertical flight plan. If not defined, no descent constraints will be invalidated.
isLegEligible?(lateralLeg: LegDefinition) => booleanA function which checks whether a lateral flight plan leg is eligible for VNAV. VNAV descent paths will not be calculated through VNAV-ineligible legs. If not defined, a leg will be considered eligible if and only if it does not contain a discontinuity.
maxFpa?numberThe maximum allowed flight path angle, in degrees, for descent paths. Increasingly positive values indicate steeper descents. Paths that require angles greater than the maximum value will have their FPAs clamped to the maximum value, even if this would create a discontinuity in the vertical profile. Defaults to 6 degrees.
minFpa?numberThe minimum allowed flight path angle, in degrees, for descent paths. Increasingly positive values indicate steeper descents. Paths that require angles less than the minimum value will be assigned the default flight path angle instead to create a step-down descent. Vertical direct-to paths are exempt from the minimum FPA requirement. Defaults to 1.5 degrees.
shouldUseConstraint?(lateralPlan: FlightPlan, lateralLeg: LegDefinition, globalLegIndex: number, segment: FlightPlanSegment, segmentLegIndex: number) => booleanA function which checks whether an altitude constraint defined for a lateral flight plan leg should be used for VNAV. If not defined, all constraints will be used.

Defined in

src/sdk/autopilot/calculators/SmoothingPathCalculator.ts:20


SoundPacket

Ƭ SoundPacket: Object

A sound packet that can be played by SoundServer.

Type declaration

NameTypeDescription
continuousbooleanWhether this packet should loop from the beginning when its sequence is finished playing.
keystringThe key of this packet. Only one packet with any given key can be playing at a time.
sequencestring | readonly string[]The sequence of sound atoms to play for this packet, as either a single ID or an array of IDs. Each atom is a single sound file.
timeout?numberThe amount of time, in milliseconds, after this packet starts playing at which to forcibly stop this packet. This value is required in case any sound atoms could not be played or sim does not notify the sound server that a sound atom has stopped playing. It is recommended to set this value to be at least several seconds longer than the expected length of this packet's entire sequence. If this packet is continuous, the timeout is reset with each loop. Defaults to 10000 milliseconds.

Defined in

src/sdk/utils/sound/SoundServer.ts:10


SpeedCommand

Ƭ SpeedCommand: Object

A command issued by an autothrottle speed controller.

Type declaration

NameTypeDescription
isOverspeedbooleanWhether the airplane is currently in overspeed.
isUnderspeedbooleanWhether the airplane is current in underspeed.
overspeedProtPowerTargetnumber | undefinedThe engine power commanded by the overspeed protection controller.
selectedSpeedPowerTargetnumber | undefinedThe engine power commanded by the selected speed controller.
underspeedProtPowerTargetnumber | undefinedThe engine power commanded by the underspeed protection controller.

Defined in

src/sdk/autothrottle/AbstractAutothrottle.ts:276


SpeedConstraint

Ƭ SpeedConstraint: Pick<VerticalData, "speedDesc" | "speed" | "speedUnit">

Just the speed constraint fields from the VerticalData interface.

Defined in

src/sdk/flightplan/FlightPlanning.ts:322


SpeedConstraintDetails

Ƭ SpeedConstraintDetails: Object

The current speed constraint details including the currently applicable speed constraint (if any), the next speed constraint (if any) and the distance to the next speed constraint (if any).

Type declaration

NameTypeDescription
currentSpeedConstraintSpeedConstraintThe currently applicable speed constraint.
distanceToNextSpeedConstraint?numberThe distance to the next speed constraint, in NM.
nextSpeedConstraintSpeedConstraintThe next applicable speed constraint.

Defined in

src/sdk/autopilot/VerticalNavigation.ts:302


SubscribableArrayHandler

Ƭ SubscribableArrayHandler<T>: (index: number, type: SubscribableArrayEventType, item: T | readonly T[] | undefined, array: readonly T[]) => void

A function which handles changes in a SubscribableArray's state.

Type parameters

Name
T

Type declaration

▸ (index, type, item, array): void

Parameters
NameType
indexnumber
typeSubscribableArrayEventType
itemT | readonly T[] | undefined
arrayreadonly T[]
Returns

void

Defined in

src/sdk/sub/SubscribableArray.ts:20


SubscribableMapHandler

Ƭ SubscribableMapHandler<K, V>: (map: ReadonlyMap<K, V>, type: SubscribableMapEventType, key: K, value: V) => void

A function which handles changes in a SubscribableMap's state.

Type parameters

Name
K
V

Type declaration

▸ (map, type, key, value): void

Parameters
NameType
mapReadonlyMap<K, V>
typeSubscribableMapEventType
keyK
valueV
Returns

void

Defined in

src/sdk/sub/SubscribableMap.ts:20


SubscribableSetHandler

Ƭ SubscribableSetHandler<T>: (set: ReadonlySet<T>, type: SubscribableSetEventType, key: T) => void

A function which handles changes in a SubscribableSet's state.

Type parameters

Name
T

Type declaration

▸ (set, type, key): void

Parameters
NameType
setReadonlySet<T>
typeSubscribableSetEventType
keyT
Returns

void

Defined in

src/sdk/sub/SubscribableSet.ts:17


SubscribableType

Ƭ SubscribableType<S>: S extends Subscribable<infer T> ? T : never

Utility type to retrieve the value type of a Subscribable.

Type parameters

Name
S

Defined in

src/sdk/sub/Subscribable.ts:127


SystemPowerKey

Ƭ SystemPowerKey: keyof AvionicsSystemPowerEvents

An ElectricalEvents topic to which avionics system power can be connected.

Defined in

src/sdk/system/BasicAvionicsSystem.ts:25


Task

Ƭ Task: () => void

A task.

Type declaration

▸ (): void

Returns

void

Defined in

src/sdk/utils/task/TaskQueue.ts:2


TcasResolutionAdvisoryOptions

Ƭ TcasResolutionAdvisoryOptions: Object

Options to adjust how resolution advisories are calculated by TCAS.

Type declaration

NameTypeDescription
allowClimb(simTime: number) => booleanA function which determines whether to allow a CLIMB resolution advisory.
allowDescend(simTime: number) => booleanA function which determines whether to allow a DESCEND resolution advisory.
allowIncreaseClimb(simTime: number) => booleanA function which determines whether to allow an INCREASE CLIMB resolution advisory.
allowIncreaseDescent(simTime: number) => booleanA function which determines whether to allow an INCREASE DESCENT resolution advisory.
initialAccelerationNumberUnitInterface<Acceleration>The assumed acceleration of the own airplane following an initial resolution advisory.
initialResponseTimeNumberUnitInterface<Duration>The assumed response time of the own airplane following an initial resolution advisory.
subsequentAccelerationNumberUnitInterface<Acceleration>The assumed acceleration of the own airplane following an updated resolution advisory.
subsequentResponseTimeNumberUnitInterface<Duration>The assumed response time of the own airplane following an updated resolution advisory.

Defined in

src/sdk/traffic/Tcas.ts:415


TcasSensitivityParameters

Ƭ TcasSensitivityParameters: Object

A full set of TCAS sensitivity parameters.

Type declaration

NameTypeDescription
parametersPATcasAdvisoryParametersProtected zone parameters for proximity advisories. If any parameters have a value of NaN, proximity advisories will not be issued.
parametersRATcasTcaParametersParameters for time-of-closest-approach calculations for resolution advisories. If any parameters have a value of NaN, resolution advisories will not be issued.
parametersTATcasTcaParametersParameters for time-of-closest-approach calculations for traffic advisories. If any parameters have a value of NaN, traffic advisories will not be issued.

Defined in

src/sdk/traffic/Tcas.ts:188


ToSubscribable

Ƭ ToSubscribable<S>: S extends Subscribable<infer T> ? Subscribable<T> : never

Utility type to convert a type of Subject into a Subscribable.

Type parameters

Name
S

Defined in

src/sdk/sub/Subscribable.ts:132


TrafficInstrumentOptions

Ƭ TrafficInstrumentOptions: Object

Initialization options for TrafficInstrument.

Type declaration

NameTypeDescription
contactDeprecateTimenumberThe maximum amount of sim time elapsed, in milliseconds, since last contact allowed before a contact is deprecated.
realTimeUpdateFreqnumberThe maximum update frequency (Hz) in real time.
simTimeUpdateFreqnumberThe maximum update frequency (Hz) in sim time.

Defined in

src/sdk/instruments/Traffic.ts:65


TrafficOffScaleOobOptions

Ƭ TrafficOffScaleOobOptions: Object

Options for handling off-scale and out-of-bounds traffic intruders on a traffic layer.

Type declaration

NameTypeDescription
offScaleIntruders?MutableSubscribableSet<TcasIntruder>A subscribable set to update with off-scale intruders.
oobIntruders?MutableSubscribableSet<TcasIntruder>A subscribable set to update with intruders that are not off-scale but whose projected positions are considered out-of-bounds.
oobOffset?ReadonlyFloat64Array | Subscribable<ReadonlyFloat64Array>A subscribable which provides the offset of the intruder out-of-bounds boundaries relative to the boundaries of the map's projected window, as [left, top, right, bottom] in pixels. Positive offsets are directed toward the center of the map. Defaults to [0, 0, 0, 0].

Defined in

src/sdk/components/mapsystem/MapSystemBuilder.tsx:161


UiControlEventHandler

Ƭ UiControlEventHandler<T, Args>: (source: T, ...args: Args) => boolean

A handler for events emitted by UiControl2.

Type parameters

NameTypeDescription
Textends HardwareUiControl<any, any>The type of event sources.
Argsextends any[] = []A tuple type describing additional arguments for an event after the source control. Defaults to an empty (zero-length) tuple.

Type declaration

▸ (source, ...args): boolean

Parameters
NameType
sourceT
...argsArgs
Returns

boolean

Defined in

src/sdk/components/controls/HardwareUiControl.tsx:9


UiControlEventHandlers

Ƭ UiControlEventHandlers<Events>: { [Event in keyof Events as `on${Event & string}`]: Events[Event] }

Maps an event definition type to an event handler interface. Each event in the definition type is mapped to a handler with the name on[Event].

Type parameters

Name
Events

Defined in

src/sdk/components/controls/HardwareUiControl.tsx:18


UiControlPropEventHandlers

Ƭ UiControlPropEventHandlers<Events>: Partial<UiControlEventHandlers<Events>>

Maps an event definition type to a prop event handler interface. Each event in the definition type is mapped to an optional handler with the name on[Event].

Type parameters

Name
Events

Defined in

src/sdk/components/controls/HardwareUiControl.tsx:26


UnitOfNumber

Ƭ UnitOfNumber<N>: N extends NumberUnitInterface<string, infer U> ? U : never

Utility type to get the Unit type from a NumberUnit type.

Type parameters

NameType
Nextends NumberUnitInterface<string>

Defined in

src/sdk/math/NumberUnit.ts:10


UserSettingFromRecord

Ƭ UserSettingFromRecord<R, K>: K extends keyof R ? R[K] extends NonNullable<R[K]> ? UserSetting<R[K]> : UserSetting<NonNullable<R[K]>> | undefined : undefined

A user setting type derived from a user setting record. If the provided key does not exist in the record, a type of undefined is returned. If the provided key is optional in the record, a union type of UserSetting<T> | undefined is returned, where T is the value type mapped to the key in the record.

Type parameters

NameType
Rextends UserSettingRecord
Kextends string

Defined in

src/sdk/settings/UserSetting.ts:52


UserSettingManagerEntry

Ƭ UserSettingManagerEntry<T>: Object

An entry for a user setting in UserSettingManager.

Type parameters

NameType
Textends UserSettingValue

Type declaration

NameTypeDescription
initSubSubscriptionThe initialization subscription for the setting.
initUidnumberThe unique ID attached to this entry's setting's initialization sync event.
settingSyncableUserSetting<T>A user setting.
syncTimenumberThe timestamp of the most recent sync event.
syncTopic`usersetting_sync_${string}`The event topic used to sync the setting.

Defined in

src/sdk/settings/UserSetting.ts:111


UserSettingManagerInitData

Ƭ UserSettingManagerInitData<T>: Object

Data provided for a setting sync event.

Type parameters

NameType
Textends UserSettingValue

Type declaration

NameTypeDescription
syncTimenumberThe timestamp of this initialization event.
uidnumberA unique ID attached to this initialization event.
valueTThe initialized value of the setting.

Defined in

src/sdk/settings/UserSetting.ts:131


UserSettingManagerSyncData

Ƭ UserSettingManagerSyncData<T>: Object

Data provided for a setting sync event.

Type parameters

NameType
Textends UserSettingValue

Type declaration

NameTypeDescription
initUid?numberThe unique ID of the initialization event to which this sync event is responding. Only defined if this sync event is an initialization response.
syncTimenumberThe timestamp of this sync event.
valueTThe synced value of the setting.

Defined in

src/sdk/settings/UserSetting.ts:145


UserSettingMap

Ƭ UserSettingMap<Aliased, Original>: { [Property in keyof Aliased]?: keyof Original }

An entry that maps one set of setting definitions to another.

Type parameters

Name
Aliased
Original

Defined in

src/sdk/settings/UserSetting.ts:60


UserSettingRecord

Ƭ UserSettingRecord: Record<any, UserSettingValue>

A record which maps user setting names to user setting value types.

Defined in

src/sdk/settings/UserSetting.ts:38


UserSettingValue

Ƭ UserSettingValue: boolean | number | string

The supported data types for a user setting.

Defined in

src/sdk/settings/UserSetting.ts:8


UserSettingValueFilter

Ƭ UserSettingValueFilter<T, V>: { [Property in keyof T as T[Property] extends V ? Property : never]: T[Property] }

Filters a record of user settings to just those settings whose values extend a certain type.

Type parameters

NameType
Textends UserSettingRecord
VV

Defined in

src/sdk/settings/UserSetting.ts:43


VectorStyleHandler

Ƭ VectorStyleHandler: (vector: CircleVector, isIngress: boolean, isEgress: boolean) => FlightPathRenderStyle

A handler that takes some vector data and returns the appropriate flight path rendering style.

Type declaration

▸ (vector, isIngress, isEgress): FlightPathRenderStyle

Parameters
NameType
vectorCircleVector
isIngressboolean
isEgressboolean
Returns

FlightPathRenderStyle

Defined in

src/sdk/components/mapsystem/MapSystemPlanRenderer.ts:12


VectorTurnDirection

Ƭ VectorTurnDirection: "left" | "right"

A flight path vector turn direction.

Defined in

src/sdk/flightplan/FlightPlanning.ts:6


VorToFromSetting

Ƭ VorToFromSetting: Object

The to/from value for a vor radio.

Type declaration

NameTypeDescription
sourceNavSourceIdthe nav source id
toFromVorToFromthe to/from setting for the VOR

Defined in

src/sdk/instruments/NavProcessor.ts:280


WildcardHandler

Ƭ WildcardHandler: (topic: string, data: any) => void

A handler for handling wildcard multiple subscription data.

Type declaration

▸ (topic, data): void

Parameters
NameType
topicstring
dataany
Returns

void

Defined in

src/sdk/data/EventBus.ts:10


XMLExtendedGaugeConfig

Ƭ XMLExtendedGaugeConfig: Object

A full set of gauges.

Type declaration

NameTypeDescription
enginePageXMLGaugeSpec[]The engine page.
functionsMap<string, XMLFunction>Any configured functions.
leanPage?XMLGaugeSpec[]The lean page, if it exists.
overridebooleanWhether this should override the temporary enhanced default configs.
systemPage?XMLGaugeSpec[]The system page, if it exists.

Defined in

src/sdk/components/XMLGauges/XMLGaugeAdapter.ts:48


XMLFunction

Ƭ XMLFunction: Object

The data for a function.

Type declaration

NameTypeDescription
logicCompositeLogicXMLElementThe XML logic the function runs.
namestringThe function's name.

Defined in

src/sdk/components/XMLGauges/XMLGaugeAdapter.ts:38


XMLGaugeSpec

Ƭ XMLGaugeSpec: Object

The specification for a single gauge configuration.

Type declaration

NameTypeDescription
configurationXMLGaugeProps | GaugeColumnProps | GaugeColumnGroupProps | XMLTextElementPropsThe correct configuration interface for this gauge type.
gaugeTypeXMLGaugeTypeThe type of gauge this is.

Defined in

src/sdk/components/XMLGauges/XMLGaugeAdapter.ts:28


XmlAuralAlertCasDefinition

Ƭ XmlAuralAlertCasDefinition: XmlAuralAlertBaseDefinition & { casIncludeAcknowledged: boolean ; casPriority: AnnunciationType ; casSuffix?: string ; casUuid: string ; type: "cas" }

An XML-defined aural alert whose state is bound to whether a CasSystem alert is displayed.

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:58


XmlAuralAlertDefinition

Ƭ XmlAuralAlertDefinition: XmlAuralAlertLogicDefinition | XmlAuralAlertCasDefinition

An XML-defined aural alert.

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:78


XmlAuralAlertLogicDefinition

Ƭ XmlAuralAlertLogicDefinition: XmlAuralAlertBaseDefinition & { logic: CompositeLogicXMLElement ; type: "logic" }

An XML-defined aural alert whose state is bound to XML logic.

Defined in

src/sdk/utils/sound/AuralAlertSystemXmlAdapter.ts:44

Variables

FacilityTypeSearchType

Const FacilityTypeSearchType: Object

A type map of facility type to facility search type.

Type declaration

NameTypeDescription
LOAD_AIRPORTAirportAirport facility type.
LOAD_INTERSECTIONIntersectionIntersection facility type.
LOAD_NDBNdbNDB facility type.
LOAD_VORVorVOR facility type.
USRUserUSR facility type.
VISVisualVisual facility type.

Defined in

src/sdk/navigation/FacilityLoader.ts:99


RawFormatter

Const RawFormatter: Formatter<string | number | null>

Formatter for displaying raw string values

Defined in

src/sdk/fmc/FmcFormat.ts:57


RawValidator

Const RawValidator: Validator<string | null>

Validator for parsing raw string values

Defined in

src/sdk/fmc/FmcFormat.ts:15


SimOvrd

Const SimOvrd: Object

Type declaration

NameType
GetSimVarValue(name: string, unit: string, dataSource?: string) => any
SetSimVarValue(name: string, unit: string, value: any, dataSource?: string) => Promise<any>

Defined in

src/sdk/data/SimVars.ts:151

Functions

Fragment

Fragment(props): DisplayChildren[] | undefined

A fragment of existing elements with no specific root.

Parameters

NameTypeDescription
propsComponentPropsThe fragment properties.

Returns

DisplayChildren[] | undefined

The fragment children.

Defined in

src/sdk/components/FSComponent.ts:1493


registerPlugin

registerPlugin<T>(plugin): void

Registers a plugin with the plugin system.

Type parameters

Name
T

Parameters

NameTypeDescription
plugin(binder: T) => AvionicsPlugin<T>The plugin to register.

Returns

void

Defined in

src/sdk/components/FSComponent.ts:1473