Frederic Bouvier wrote:

Quoting "Curtis L. Olson" :



Rahul Prasad wrote:



Can someone help me configure FlightGear to run on multiple PC’s? I am
trying to set up a master node that is connected to the input device,
and slave nodes that take there input from the master. I’m running
FlightGear under Linux and using the command line options pasted
below. FlightGear starts normally (except for audio initialization…I
have not installed OpenAL). However, the input of the slave does not
get tied to the master, and after exiting FlightGear, the console
prints an error message stating that the command
–native=socket,in,30,204.85.191,13001,udp is not recognized.

I took a look at the FlightGear command line options, and noticed the
documentation for the –native switch, but could not find any
documentation for the protocol of the parameters required by –native.

Thanks!

fgfs --fg-root=/usr/lib/FlightGear/data
--fg-scenery=/usr/lib/FlightGear/data/Scenery --disable-random-objects
--enable-horizon-effect --enable-enhanced-lighting --telnet=5501

--native=socket,in,30,204.85.191.49,13001,udp --enable-ai-models
--httpd=5502 --view-offset=-180.0



If you are reading data in, you don't need (want?) to specify a host name/ip.
Something like the following should work:

For the master:

--native-fdm=socket,out,60,192.0.0.101,5505,udp

And then for the slave:

--native-fdm=socket,in,60,,5505,udp



Do you need --fdm=null or --fdm=external on the slave, or is it implied by
--native-fdm ?



Yes, I believe you want to include --fdm=null on the slave command lines to disable the internal dynamics calculations.


Thanks for pointing that out.

Curt.

--
Curtis Olson        http://www.flightgear.org/~curt
HumanFIRST Program  http://www.humanfirst.umn.edu/
FlightGear Project  http://www.flightgear.org
Unique text:        2f585eeea02e2c79d7b1d8c4963bae2d


_______________________________________________ Flightgear-users mailing list Flightgear-users@flightgear.org http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to