Don Lafontaine writes:
> Hi Curtis and gang            
> 
> Is there a way yet to send flight data to external programs?  I'm
> thinking of linking my freefd gauges to flightgear,  and have yet to
> dive into your source code.
> 
> Don Lafontaine
> http://www.avsim.com/hangar/utils/freefd

Hi Don,

There are several ways to export information across the net (or even
via a serial port or to a file) depending on your needs.

We have several pre-defined structures that are already supported.  If
certain fields you need are missing, you might be able to talk us into
adding them.  It's also possible with a little code hacking to define
your own specialized structure that has just the fields you need.

Here are some structures that are currently available.  FlightGear can
blast these out via UDP at any rate you want (limited by frame rate.)

http://cvs.flightgear.org/cgi-bin/viewcvs/viewcvs.cgi/source/src/Network/net_fdm.hxx?rev=1.7&cvsroot=FlightGear-0.9&content-type=text/vnd.viewcvs-markup

http://cvs.flightgear.org/cgi-bin/viewcvs/viewcvs.cgi/source/src/Network/net_ctrls.hxx?rev=1.6&cvsroot=FlightGear-0.9&content-type=text/vnd.viewcvs-markup

http://cvs.flightgear.org/cgi-bin/viewcvs/viewcvs.cgi/source/src/Network/net_gui.hxx?rev=1.5&cvsroot=FlightGear-0.9&content-type=text/vnd.viewcvs-markup

We've developed the current structures to meet our current needs, but
we expect that we will expand them over time as new needs are
identified.

There is also a mechanism to grab a specific value (or change it
remotely) when ever your external program wants to.  For instance if
you want to support setting radio frequencies, adjusting autopilot,
dial in your vor, etc.  all in your external code, that's pretty
straightforward to do.

Best regards,

Curt.
-- 
Curtis Olson   HumanFIRST Program               FlightGear Project
Twin Cities    curt 'at' me.umn.edu             curt 'at' flightgear.org
Minnesota      http://www.flightgear.org/~curt  http://www.flightgear.org

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to