Hi everyone,
I have a little problem. Here it is
I want to control a FlighGear instance through generic input using UDP
socket.
It's OK when I try to receive FlightGear output using generic UDP socket
output. In order to do this I start FlightGear with the following
parameters:
fgfs --generic=socket,out,1000,127.0.0.1,7755,udp,udptest
I wrote a simple C++ code to handle the incoming UDP messages and it works
fine.
But now I want to control the simulator over external commands which I will
send as UDP packets and through generic input interface.
To test the external fdm controls I tried the master-slave model with native
i/o interface. I started the master FG instance with the following command
line options:
fgfs --native-fdm=socket,out,60,127.0.0.1,5500,udp
And the slave comes:
fgfs --natvie-fdm=socket,in,60,,5500,udp --fdm=external
It worked!
But;
How can I run the master-slave model with generic i/o interface?
How can I control a FG instance with over network using generic interface
with socket input option? (I failed doing this one. maybe my input format in
the xml configuration is invalid. but it's ok for the output stuff.)
Any help will be appreciated.
Cheers,
Haluk
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel