On 7/15/05, John Gagne <[EMAIL PROTECTED]> wrote: > Sir, > > I figured out how to dump the data by setting FlightGear to use > native-fdm with this command: --native-fdm=socket,out,5,jrg,5500,udp > (constructed using the 'Advanced...' button on the gui). But I can't > find the native_FDM.cxx file that you mentioned.
Are you looking in the source code? You will need to download that and look for it in /src/network/ (I think that was the directory!) Does this file have an > alias perhaps? I assume that it contains the information necessary to > interpret the hexidecimal data that I observe with my port sniffer > (PortPeeker). Yes, atleast that is how I did it. Looking at the sequence in which the data is sent from the cxx file would give you an idea of what each set of data is. Using Ethereal I am able to strip of the header data, leaving only the data being sent over the wire. I also used a IEEE converter to try and correlate the seperate blocks of data with the numbers on the internal browser when I was in doubt (I'm not at all that great at programming.) You can also modify that cxx file to better suit your needs and then compile flightgear so that it sends only specific data (I haven't had any luck with that. Flightgear refuses to compile for me lol!) Also, is the toolbox that you mentioned called the > "Instrument Control Toolbox"? It looks like that one has has the 'udp' > function in it. The toolbox I specifically used is TCP/UDP/IP Toolbox 2.0.5 by Peter Rydesäter. You can download and install it very easily from MATLAB CENTRAL. Let me know how it goes! _______________________________________________ Flightgear-users mailing list [email protected] http://mail.flightgear.org/mailman/listinfo/flightgear-users 2f585eeea02e2c79d7b1d8c4963bae2d
