Hi!

On Friday, April 18, 2008 Haluk Sevener wrote:

>> 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.)

    What options your using to start FlightGear with generic i/o?
    Check your .xml file carefully. It should contain tags <input></input> 
and <output></output> with the similar chunks. Master writes to the socket 
chunks from <output></output> and the Slave reads from <input></input>. If 
input chunks does not correspond to output chunks, your can get "strange" 
results.
    If your have wrote a C++ code to handle incoming messages, now try to 
change your C++ code to drive FG using position and orientation only.
    I am using generic protocol to drive FlightGear from external program. 
Protocol was changed to use binary i/o, not only binary output as it is done 
in current CVS code.


With respect,
            Alex


-------------------------------------------------------------------------
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

Reply via email to