On Tue, 25 Jul 2006 [EMAIL PROTECTED] wrote: > Hi, > I have designed a new aircraft on my own and I want to test the aircraft > performance in FlightGear. I would like to assign JSBSim as the FDM. How do I > build the aircraft into FlightGear? What are the necessary files that I need > to create? Where can I obtain information and knowledge on how to create these > files?
Hi, One way is to look at the files for existing FlightGear aircraft - that's what I did. Basically, what you need in addition to your JSBSim file(s) is a <aircraft>-set.xml file and probably some files for the visual model. A simple example aircraft (written by a beginner) could be my balloon. The files are available online here: http://www.gidenstam.org/FlightGear/JSBSim-LTA/Aircraft/GasBalloon/ The minimum -set.xml file needed is something like the <sim> element of http://www.gidenstam.org/FlightGear/JSBSim-LTA/Aircraft/GasBalloon/gas-balloon-set.xml (The <nasal> and <keyboard> elements are optional.) The FDM selection is done by these to elements: <flight-model>jsb</flight-model> <aero>ZF_Navy_free_balloon</aero> where the latter specifies that the flightmodel is a JSBSim one and is located in the file ZF_Navy_free_balloon.xml. FlightGear expects the <aircraft>-set.xml file to reside in a subdirectory to $FGBASE/Aircraft/ (this is also where you'll find many more examples to study). Uh.. on second thought I realize that you probably do not have a JSBSim model of your aircraft yet, and, well, to create a realistic/true one will be quite challenging since JSBSim models are (as I have understood it, I'm not an expert) best created from windtunnel or testflight data. It is not a tool where you insert the aircraft geometry and get the aircraft behaviour out. The experts over at the JSBSim-devel list might know about such tools, though. Cheers, Anders -- "In a world without fences, who needs gates?" --------------------------------------------------------------------- Anders Gidenstam Email: anders(at)gidenstam.org WWW: http://www.gidenstam.org/FlightGear/JSBSim-LTA/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Flightgear-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-users
