From: TJ on
I am using Simulink interfaced with Flight Gear and the Aerospace
blockset. Is it possible to have simulink recieve data from Flight
gear. Is there away instead of haing the Send net_fdm Packet to
FlightGear send data to flight gear, have it recieve data from flight
gear?
From: Andreas Gaeb on
TJ schrieb:
> I am using Simulink interfaced with Flight Gear and the Aerospace
> blockset. Is it possible to have simulink recieve data from Flight
> gear. Is there away instead of haing the Send net_fdm Packet to
> FlightGear send data to flight gear, have it recieve data from flight
> gear?
In theory there is, though you would have to implement the way yourself.
You need to create an s-function which sets up a UDP connection
listening to your flightgear host and propagates the received data to
Simulink.
I am using Unmanned Dynamics' AeroSim Blockset, which is free for
academic use. Analysing its sources helped me a lot in that matter. I
don't know if the sources for the Aerospace Blockset are available, but
if they are, the flightgear interface should look pretty much the same
and would show you where to go.

HTH,
Andreas G?b
 | 
Pages: 1
Prev: Building COM objects
Next: Replacing ',' with '.'