Attached below is issue 1.002 (19/04/2012) of my 6DOF A/C model and issue 1.00 of the “User Manual”.
This work demonstrates, in my opinion, that blender is very well suited for making a “realistic” flight simulator.
The entire simulation is also incredibly fast: on my PC it takes less than 5 microseconds to perform the entire computations including user input processing, air data, aerodynamic and propulsive forces & moments computations, 6 DoF rigid body equations of motion integration, flight control/ actuator dynamics, navigation and autopilot control laws processing.
Thanks.
I’ve not tested any of them yet, but as far as I know scipy comes with 1d & 2d linear grid interpolation an spline/rbf multivariate interpolation, as claimed here: http://docs.scipy.org/scipy/docs/scipy.interpolate/.
I’m currently considering an overall lift coefficient (CL) due to Wing + Body + Tailplane, which depends only on incidence angle. The “delta-lift” due to elevator deflection is neglected for now.
Pitching moment due to elevetor deflection is accounted for with a constant coefficient (CmdE).
Earlier I tried a wing & tailplane combined forces via flight mechanics, but it was very keen to oscillate and run away too often.
I found a interesting InterpolatedUnivariateSpline scipy method, which providing a nice linear interpolation between two points.
In this example the lift and drag curves are very coarse.
I did exprience a closed-loop instability too, but in the latero-directional axis. It was due too the overall loop gain being too high. I’ve reduced some coefficients and now it seems stable over the entire envelope.
In the next days (…or may be hours?) I hope I will be able to upload a new version of the model. Major changes are a full translation to english of all code comments, a basic lateral autopilot and a trim capability in pitch and roll.
In addition, your comments about wing and tailplane forces made me decide to introduce a lift contribution due to elevator deflection, called CLdE.
Issue 1.00 of my Flight Simulator for Blender and related pdf document have been uploaded.
A very large number of improvements and new functions have been included: have a look at the log history script.
Uploaded a new version of the documentation: more detailed, with much more information about the use of the autopilot. A few errors have been rectified.
Better English too? May be…
Sofware version 1.002 and manual issue 1 are on line.
Major changes:
some bugs have been corrected and the autopilot mode logic transitions are now handled entirely with logic bricks, through expression controllers, resulting in a much cleaner design.
all autopilot modes have now the same priority, i.e. the last pressed button determines which mode becomes active.
a functional block schematic of the simulation software has been included in the manual.