You may want to double check that you are reading and writing the file in binary mode on windows.  This doesn't make a difference on linux where the feature was developed, but dos's carriage return/new-line translation might be biting you?

Curt.


On Wed, Jan 30, 2008 at 4:03 PM, wsacul <wsacul@gmail.com> wrote:
I tried the option to write out the native_fdm to a file from the Windows 1.0 release of flightgear, and loaded the result into matlab.   Initially I thought there was a structure with a regular size of 408 bytes, and I was able to extract altitude correctly from the first few dozen instances, but that seemed to change as the simulation progressed and it all got out of sync.  Is there a byte or two being sent in addition to the FGNetFDM structure that is not sent every update?

Thanks,

Luke

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel




--
Curtis Olson: http://baron.flightgear.org/~curt/