Skip to main content

Class: WT21VnavUtils

Utils for WT21 VNAV

Constructors

constructor

new WT21VnavUtils(): WT21VnavUtils

Returns

WT21VnavUtils

Methods

calculateDescentAdvisoryDistance

calculateDescentAdvisoryDistance(startingAltitude, destinationAirfieldElevation, vpa): number

Calculates the distance from the airport at which to show the DES ADVISORY, given a vpa

Parameters

NameTypeDescription
startingAltitudenumberthe starting altitude of the aircraft (cruise alt) in Feet
destinationAirfieldElevationnumberelevation of the destination airfield in Feet
vpanumberthe vertical path angle of the descent (TODO check if this is actually used here)

Returns

number

DES advisory distance in metres

Defined in

workingtitle-instruments-wt21/shared/Navigation/WT21VnavUtils.ts:42


updateDesAdvisoryDetails

updateDesAdvisoryDetails(details, lateralPlan, lnavTrackingLegIndex, lnavLegDistanceAlong, lnavLegDistanceRemaining, desAdvisoryDistanceFromEnd): void

Edits a DesAdvisoryDetails object to contain up-to-date information about a DES advisory point

Parameters

NameTypeDescription
detailsObjectSubject<DesAdvisoryDetails>ObjectSubject for a DesAdvisoryDetails
lateralPlanFlightPlanlateral flight plan to use for calculations
lnavTrackingLegIndexnumberLNAV tracking leg index
lnavLegDistanceAlongnumberLNAV distance along tracked leg, in metres
lnavLegDistanceRemainingnumberLNAV distance remaining along tracked leg, in metres
desAdvisoryDistanceFromEndnumberDES advisory distance from destination, in metres

Returns

void

Defined in

workingtitle-instruments-wt21/shared/Navigation/WT21VnavUtils.ts:60