* [EMAIL PROTECTED] (Olivier Grisel) [2002.05.17 16:34]:
> On Fri, 17 May 2002 15:58:17 -0500
> Cameron Moore <[EMAIL PROTECTED]> wrote:
> 
> > 
> > I think the trace options are a bit of an overkill for this unless you
> > can tell it how often to trace (I haven't looked).  You could, however,
> > use the telnet interface with an external script that retrieves the data
> > you need ever second and saves it to a file.
> 
> Telnet ? What is the server ? The fgfs processus ?
> On which port should I try to connect (23 ?) and with which login/passwd ?
> 
> Is there any other docs on IO except README.IO ?
> 
> This kind of script could interest me very much.

FlightGear has what we (now) call a "telnet" interface to the property
tree.  You start FG like this (in versions 0.7.10 and earlier):

  $ fgfs --props=socket,bi,5,localhost,5500,tcp

Then open a telnet client to localhost port 5500.  Type 'help' for a
list of commands.

You can use this interface to write a perl/python/whatever script to
get or set any values you want that are mapped to the property tree.
This would be helpful for flight instructors that wish to alter
envirronmental conditions (winds) or activate a component failure (which
we don't have implimented yet).

But, to go back to your original message, I think David Megginson had a
better solution for the specific question you asked.  I had forgotten
about the logging facilities.
-- 
Cameron Moore
/ Why is lemon juice made with artificial flavoring, \
\   and dishwashing liquid made with real lemons?    /

_______________________________________________
Flightgear-users mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-users

Reply via email to