Board index FlightGear Support Interfacing

problem with socket

Connecting two computers, using generic protocol, connecting with Matlab?

problem with socket

Postby sgb110 » Thu Sep 29, 2011 10:11 pm

how send command option (such as --timefday) with socket?

Posts: 6
Joined: Thu Sep 29, 2011 10:06 pm

Re: problem with socket

Postby Hooray » Sun Oct 02, 2011 5:21 pm

You don't. Instead, you can directly access the underlying properties in the property tree.

Really, this isn't complicated at all - all variables in FlightGear will at some point end up in the property tree, that is where things are stored and can be accessed/read and modified later on.

So, if you don't have any background knowledge at all, the easiest thing to get started would be looking at similar (or possibly even identical features) in FlightGear and simply check what properties are being used. This could be done by inspecting the source code, or -in your case- by simply looking at the "time of day" dialog in $FG_ROOT/gui/dialogs:

Specifically, you need to have a look at timeofday.xml: ... eofday.xml

There, you can see all properties being used.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Posts: 10583
Joined: Tue Mar 25, 2008 8:40 am

Return to Interfacing

Who is online

Users browsing this forum: Google [Bot] and 2 guests