On Friday 15 February 2008 16:36, ricardo freitasfilho wrote: > Hi, > I'm doing some simulations of a airship using the aerosim > blockset and the flightgear. It is usefull if there is a may to > get the information of the scenery buildings so we can avoid > these building in the simulation. I was reading one of your > answers and I got interested in how can I send these information > to the blockset. Can you help me with that?
I found, while working on a terrain following/avoidance system for some of the aircraft I've done, that the Nasal geo.elevation(<lat>, <lon>) function will return the height of buildings or other structures e.g. bridges located at that <lat>,<lon>. There are not any in-built FG scanning schemes/mechanisms though, so you'll have to design and implement one in Nasal to fit your needs. Have a look at the cvs BAC-TSR2 TFA nasal stuff to see the simple look-ahead scanning schemes I've done. Both of the schemes I've used just perform a single track look-ahead scan, compensated for yaw but not for turning flight (yet). LeeE ------------------------------------------------------------------------- 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