Description Usage Arguments Value
This function calculates the current NVU orthodromic coordinates (Z and S) based on radial and distance from a VOR/DME beacon.
1 2 | corrNVU_VOR(plan, leg, VOR, radialTo, dist, S = NA, cols = c("fix",
"fixLat", "fixLon", "ZPY"))
|
plan |
A flight plan, as a data.frame. Plans created with |
leg |
The current leg of the flight plan, whose NVU parameters are to be corrected. It is specified either as a number or as the initial fix. |
VOR |
ID of the VOR to use.If multiple stations match, the correct one is determined based on proximity to the initial fix of the leg. |
radialTo |
Current inbound radial (as indicated on the UShDB instrument of the Tu-154). |
dist |
Distance in km, as measured by the DME |
S |
Along track distance S, as currently indicated in the NVU computer. If supplied, it must always be negative (as is the NVU convention). |
cols |
An optional vector of column names, if these are named differently in |
Returns the current orthodromic coordinates Z (cross track error) and S (along track distance) as a named vector.These can be fed into the NVU computer to correct the course of the aircraft.
Because S is changing rapidly as the aircraft travels, for convenience if S is supplied as an argument, an extra element dS is added to the return vector indicating the difference between actual (corrected) S minus indicated S. Add dS to the current S indication of the NVU to correct it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.