Hi! On Sun, Mar 9, 2008 José Ignacio Cogolludo Galán wrote: > I am trying to do a simulation of the flight of an aircfraft in Simulink > to visualize in FlightGear. My model > flights correctly, but when it is on the ground, the model can't stay > here. I mean, my aircraft doesn't > recognize the level of the ground and it can fly under the ground!, so it > won't be able to land. I suppose > is a problem with the above ground level (AGL) between my model in > Simulink and Flightgear. > Nevertheless, I don't know what I need to do. Does anybody how to solve > this problem?
I connect FlightGear with my programm (which is external FDM) through generic protocol. Generic protocol was changed to accept in/out in binary form (not corresponding to that one in CVS tree which does binary output only). From FG property tree I take "/position/ground-elev-m" and my FDM programm calculates altitude above ground level. Landing gear wheels at FG moves a bit under the ground, but I think this is because LG struts compression is calculated in my programm but the airplane model does not simulate strut compression. With respect, Alex ------------------------------------------------------------------------- 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