----- Original Message ----- From: "Curtis L. Olson" <[EMAIL PROTECTED]> To: "FlightGear developers discussions" <[EMAIL PROTECTED]> Sent: Friday, October 31, 2003 8:27 AM Subject: Re: [Flightgear-devel] Sending flight data to external processes.
> 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-mark up > > 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 Hi Don, Since it appears you are using glass displays, you might also peek at the OpenGC site for an alternative approach. There is a basic UDP network package and defined interface to FG. Suspect it might require a little massaging to work with the current FG/OpenGC release but, at least, it wll show you an approach to do what you want Regards JW _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
