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
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
... 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
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
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
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
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
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 !
--
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
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
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
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
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
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
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
, 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
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
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
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
19 matches
Mail list logo