As you seem to be more experienced users, I have another question (well, the answer is going to be straightforward to you). Is it possible to get data from flightgear to simulink (without using aerosim or aerospace blocksets)? I thought I could use the block tcp/ip_receive from the Instrument Control Toolbox to get real-time data from Flightgear. But it is not working for me. I created a simple xml file (called myout.xml) to get only the groundspeed from Flightgear. Also I created a simulink file that contained just the udp_receive block and a scoop. It was just a simple test, but I see nothing in the scoop. I am launching Flightgear using the following aditional properties: --generic=socket,bi,5,,8550,tcp,myout. Or by the command line
./fgfs.sh --generic=socket,bi,5,,8550,tcp,myout (I don't know why, but I can't use the option 'out' instead of 'bi' - is there any explanation for that??) Either way I can't see my groundspeed in Simulink. I scanned my ports and I see that port 8550 is open. Do you have any idea of what is going on? Thank you for your pacience. And forgive my poor english... I'm brazilian. Have a nice weekend!!! Fabio P Benjovengo PS: I use a Mac, running Snow Leopard... but I don't think it is a matter of operational system.
receive_data.mdl
Description: Binary data
<?xml version="1.0"?> <PropertyList> <generic> <output> <line_separator>newline</line_separator> <var_separator>tab</var_separator> <chunk> <node>/velocities/groundspeed-kt</node> <name>speed</name> <type>float</type> <format>%f</format> </chunk> </output> </generic> </PropertyList>
------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________ Flightgear-users mailing list Flightgear-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-users