Class: WT21VnavUtils
Utils for WT21 VNAV
Constructors
constructor
• new WT21VnavUtils(): WT21VnavUtils
Returns
Methods
calculateDescentAdvisoryDistance
▸ calculateDescentAdvisoryDistance(startingAltitude
, destinationAirfieldElevation
, vpa
): number
Calculates the distance from the airport at which to show the DES ADVISORY, given a vpa
Parameters
Name | Type | Description |
---|---|---|
startingAltitude | number | the starting altitude of the aircraft (cruise alt) in Feet |
destinationAirfieldElevation | number | elevation of the destination airfield in Feet |
vpa | number | the 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
Name | Type | Description |
---|---|---|
details | ObjectSubject <DesAdvisoryDetails > | ObjectSubject for a DesAdvisoryDetails |
lateralPlan | FlightPlan | lateral flight plan to use for calculations |
lnavTrackingLegIndex | number | LNAV tracking leg index |
lnavLegDistanceAlong | number | LNAV distance along tracked leg, in metres |
lnavLegDistanceRemaining | number | LNAV distance remaining along tracked leg, in metres |
desAdvisoryDistanceFromEnd | number | DES advisory distance from destination, in metres |
Returns
void
Defined in
workingtitle-instruments-wt21/shared/Navigation/WT21VnavUtils.ts:60