Hi to all!

I'm using Kubuntu 10.04 and I've installed Flightgear downloading and 
compiling the latest git code as suggested here:
http://wiki.flightgear.org/index.php/Scripted_Compilation_on_Linux_Debian/Ubuntu

I would like to use Flightgear as an "Image generator" to visualize the 
flight data generated by an external simulation.
The external simulation will take input data from the joystick and will 
send to Flightgear the latitude, longitude, altitude above MSL, roll, 
pitch and heading angles to flight gear and will receive back the 
altitude above terrain from Flightgear so that to be able to detect 
ground collision and to perform landing and take offs.
As a second phase of the interfacing project I would like to be able to 
send to flight gear the status and positions of landing gears, control 
surfaces and so on only to achieve a better visual representation.
Moreover I would like to send out from flight gear the multiplayer 
packet so that to simulate more than an airplane using more computer 
connected via LAN (each pc will have a running instance of the external 
simulation and Flightgear and will send multiplayer data to the others).
Finally I would like to be able to represent additional "objects" in the 
scenery like missiles and gun tracers whose position and orientation 
will be calculated by a function included in each external simulation 
which however may need to have the return of the altitude above terrain 
of each sent object.

So, I suppose that it should be possible to fix the --fdm option to 
external (or null?) and send an udp packet to Flightgear containing the 
needed data, but I don't know:
1) if I have/it's better to use the net_fdm protocol sending all the 
data or to create a specific protocol
2) how to get back the altitude above terrain from Flightgear
3) how to activate the multiplayer to send data from Flightgear to other 
"LAN players"
4) how to mange the additional objects (maybe I can send from the each 
simulation an UDP packet "formatted" like a multiplayer one so that to 
avoid the necessity to have too much running Flightgear instances. The 
only problems may be related with time alignment since mpmessanges.hxx 
require to specify the time and lag and it may be difficult to align the 
external simulation time with the Flightgear one/ones).
Can you help me and give me some hint on how to proceed?
Thank you,
Xwang

PS for the time "issue" is it sufficient to use the time() linux 
function to populate the time attribute of the mpmessanges.hxx structure?

------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software 
be a part of the solution? Download the Intel(R) Manageability Checker 
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to