vnCorrNVU_VOR: "Virtual Navigator": Correct NVU orthodromic coordinates...

Description Usage Arguments

Description

Through the FlightGear props (telnet) interface and on the Tu-154B, obtain radial and distance from a certain VOR/DME beacon, calculate the current orthodromic coordinates S and Z, and (optionally) tune them into the active NVU device.

Usage

1
2
vnCorrNVU_VOR(con, plan, leg, VOR, UShDB = 2, DME = UShDB, apply = TRUE,
  cols = c("fix", "fixLat", "fixLon", "ZPY"))

Arguments

con

A socket connection object created with fgfsConnect

plan

A flight plan, as a data.frame. Plans created with planRoute are accepted as input. At a minimum, the data frame.should have three columns: waypoint names, orthodromic course headings (ZPY) and leg distances (S).

leg

The next (i.e. upcoming) leg of the flight plan. Specified as waypoint name.

VOR

The 3-letter identifier of the VOR beacon.

UShDB

Which of the two UShDB needles shows the current VOR radial? Either 1 or 2.

DME

Which DME radio to use? Either 1 or 2.

apply

Tune the active NVU device to the calculated orthodromic coordinates? If FALSE, these are returned without adjusting the NVU device.

cols

An optional vector of column names, if these are named differently in plan


thlytras/rfgfs documentation built on May 31, 2019, 10:44 a.m.