Re: Using flightgear with SIMULINK

bass pumped <[email protected]> Sun, 22 May 2005 13:07:35 -0500
Newsgroups gmane.games.flightgear.flightmodel
Message-ID <[email protected]>
Hi all,

Elaborating on my initial question... I think it can actually be split
into two...

The first one is about the networking options on Flightgear.  I have
already been able to use Flightgear on two boxes, one with JBsim and
the other with a null FDM and taking input from the first box.  The
problem is that any variations on that have failed.  Trying to do the
same thing with the native-ctrls for example leads to the aircraft in
the second to be stuck half in the sea at dusk.  The point is that I
need a bidirectional data stream from the first box which runs
Flightgear.  The pilot would use that box; it would send out current
conditions which would then be processed by Simulink.  On the return
side, Simulink would act as a damper, smoothening out the pilot's
inputs and making sure the aircraft stays within a certain flight
envelope.  My question is on setting up Flightgeat to accept data in
this manner.

The second one is about sequence in which data is sent out from the
Flightgear box to the other.  I looked at the FDM hxx and cxx file,
and correct me if I am wrong, the data has to be 64 bit data and in
order starting from the latitude and longitude of the aircraft and so
on and so forth......   The reason I need to know this is so that I
maybe able to modify my MATLAB code to read this right.  I have output
the above into a file and tried to read it in VC++ but all I see is
hex code in a sequence.

Any guidance would be greatly appreciated.

Thanks all,

Sayeed

_______________________________________________
Flightgear-flightmodel mailing list
[email protected]
http://mail.flightgear.org/mailman/listinfo/flightgear-flightmodel
2f585eeea02e2c79d7b1d8c4963bae2d