> > Perhaps downwash and hinge force calculations should be the subject of a > > section in the xml aerodynamics file so that they can be tailored on a > > per-aircraft basis. > > > > Alan > > the xml files should be used to load the respective aircraft data for aero > coefficients, tail geometry, and metrics. For speed and efficiency the > actual calculations should reside in the JSBSim code > > John
Actually, Alan is correct, as Ron also mentioned in the JSBSim-devel list, where this topic is cross-posted. I think it is quite possible that we can already do this using <function> definitions in the <aerodynamics> section of an aircraft spec. file. There is no perceptible performance hit to using <function> definitions. The functions are implemented in C++, are fairly efficient, and calculations are cached per-frame. I'd prefer not to see possibly type-specific hard-coded calculations going into the codebase - I think we can implement this in the current codebase using existing capabilities. Jon ------------------------------------------------------------------------------ Create and publish websites with WebMatrix Use the most popular FREE web apps or write code yourself; WebMatrix provides all the features you need to develop and publish your website. http://p.sf.net/sfu/ms-webmatrix-sf _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel