fgfsGet: Get (read) FlightGear property via telnet

Description Usage Arguments Value

Description

This function reads a property from the FlightGear property tree, via the props (telnet) interface

Usage

1
fgfsGet(con, var, wait = 2)

Arguments

con

A socket connection object created with fgfsConnect

var

The property to read.

wait

Maximum time waiting for a server response.

Value

The value of the property. This is always a string. If the property does not exist on the tree, an empty string is returned. If the server does not respond, a character vector of length zero is returned.


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