RE: [Flightgear-devel] Getting data out of FlightGear

2004-11-30 Thread Chuck Cole
As promised, I've attached the files that I modified to make FlightGear work with my client software. These modifications allow my client software to receive the correct values out of FlightGear using the native-fdm network setting. I started with the FlightGear v0.9.6 release files to make the

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-30 Thread Gerhard Wesp
On Tue, Nov 30, 2004 at 09:21:23AM -0500, Chuck Cole wrote: As promised, I've attached the files that I modified to make FlightGear work with my client software. These modifications allow my client software to Hi Chuck, this is already a lot better than the old solution. (Specifically, the

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-30 Thread Gerhard Wesp
... and _do_ bump the version number!! Cheers -Gerhard -- Gerhard Wesp o o Tel.: +41 (0) 43 5347636 Bachtobelstrasse 56 | http://www.cosy.sbg.ac.at/~gwesp/ CH-8045 Zuerich \_/ See homepage for email address! net_fdm.hxx Description: Binary data

RE: [Flightgear-devel] Getting data out of FlightGear

2004-11-29 Thread Chuck Cole
First of all, thanks to all for your responses and help with this. I have made some progress with this and just wanted to report back for those interested. I went through the net_fdm.hxx and native_fdm.cxx files and set all variables to either long or double, as appropriate. I also made sure

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-29 Thread Steven Beeckman
Chuck Cole wrote: First of all, thanks to all for your responses and help with this. I have made some progress with this and just wanted to report back for those interested. I went through the net_fdm.hxx and native_fdm.cxx files and set snip Anyway, I'm real interested in getting this to

RE: [Flightgear-devel] Getting data out of FlightGear

2004-11-29 Thread Frederic Bouvier
Quoting Chuck Cole : Also, I uncommented out a line in the code in the process() method to print out the size of the buffer that is being sent. According to this statement, the size of the buffer (or the class structure in this case) is 640 bytes. However, when I do the same thing on my side

RE: [Flightgear-devel] Getting data out of FlightGear

2004-11-29 Thread Chuck Cole
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Hofman Sent: Monday, November 29, 2004 1:41 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Getting data out of FlightGear Chuck Cole wrote: Also, I uncommented out a line in the code

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-23 Thread Martin Spott
Martin Spott wrote: Just my personal view, Please forgive me all those typos, it's a bit early in the morning, Martin. -- Unix _IS_ user friendly - it's just selective about who its friends are ! --

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-23 Thread Gerhard Wesp
On Mon, Nov 22, 2004 at 02:55:15PM -0600, Curtis L. Olson wrote: What's wrong with network byte order? Nothing, I guess. Doesn't define floating point representation, though. What's wrong with ASCII? Cheers -Gerhard ___ Flightgear-devel mailing

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-23 Thread Erik Hofman
Gerhard Wesp wrote: On Mon, Nov 22, 2004 at 02:55:15PM -0600, Curtis L. Olson wrote: What's wrong with network byte order? Nothing, I guess. Doesn't define floating point representation, though. Ah, this gives me a hint. There are functions called htond() and htonf() in the following files

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Erik Hofman
Chuck Cole wrote: Has anyone tried to use the output of FlightGear (v.0.9.6)? Ive seen in the archives where people have tried to drive the flight model (i.e., as input), but I havent been able to find any posts regarding getting data from the model. Specifically, Im trying to get the

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Boris Koenig
Erik Hofman wrote: Chuck Cole wrote: [...] Any help would be greatly appreciated. If someone could give me some instructions on building the projects myself, I should be able to debug myself, but again, Ive been unable to do so (Ive already gone through the Getting Started documents on the

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Curtis L. Olson
Chuck Cole wrote: Has anyone tried to use the output of FlightGear (v.0.9.6)? Ive seen in the archives where people have tried to drive the flight model (i.e., as input), but I havent been able to find any posts regarding getting data from the model. Specifically, Im trying to get the surface

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Curtis L. Olson
Martin Spott wrote: Erik Hofman wrote: Currently there is a problem where different platforms, different OS's or even different compilers can get different output due to the fact that structs are used to send data across the network. This can create endian-problems as well as packed/unpacked

RE: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Chuck Cole
defined as float and int. chuck -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Erik Hofman Sent: Monday, November 22, 2004 3:11 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Getting data out of FlightGear Chuck Cole wrote: Has

RE: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Chuck Cole
, November 22, 2004 3:49 PM To: FlightGear developers discussions Subject: Re: [Flightgear-devel] Getting data out of FlightGear Chuck Cole wrote: Has anyone tried to use the output of FlightGear (v.0.9.6)? I've seen in the archives where people have tried to drive the flight model (i.e., as input

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Erik Hofman
Curtis L. Olson wrote: What's wrong with network byte order? I wouldn't know. I was never able to test it because I have one x86 machine and one MIPS machine. The difference in handling of the structs prevented me from testing the network byte order issue. Erik

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Jorge Van Hemelryck
On Mon, 22 Nov 2004 22:46:55 +0100 Erik Hofman wrote: I wouldn't know. I was never able to test it because I have one x86 machine and one MIPS machine. The difference in handling of the structs prevented me from testing the network byte order issue. Actually, I've seen it work with a FDM

Re: [Flightgear-devel] Getting data out of FlightGear

2004-11-22 Thread Martin Spott
Curtis L. Olson wrote: Martin Spott wrote: Erik Hofman wrote: Currently there is a problem where different platforms, different OS's or even different compilers can get different output due to the fact that structs are used to send data across the network. This can create endian-problems