2 I will explain assumptions I have made:
4 All global vars, such as Alpha, Alpha_dot, Density, Altitude, so on,
5 have correct values in the moment cherokee functions are called.
7 Body coord system is defined as follows:
8 X_body -> from cg to nose
9 Y_body -> along right wing
10 Z_body -> "down" (to make right coord system)
11 All forces and moments act in CG.
13 If strange behaviour is experienced, (like impossibility of level
14 flight), it is probably misused coord system. Let me know and fix
17 All controls are in the range [-1.0, 1.0] If it is not so, values in
18 cherokee_aero.c on lines 119-121 should be changed acordingly. If
19 commands appear to be oposite, this is the place to change sign
22 Engine controls are in range [0.0, 1.0] (I found out later that lower
23 bound is -0.2, so I added fabs(). I know, it is dirty and phisiclly
24 wrong, but it was simply the fastest way to deal with it).
26 All initialization files are *.ic:
32 above changes are writen in *.ic included in cherokee.zip. However,
33 other data in *.ic files are not changed in any way.
35 aditional properties: (if needed)
36 S = 157.5 ft^2 -> wing area
37 b = 30.0 ft -> wing span
38 Ar = 5.71 -> aspect ratio
39 c = 5.25 ft -> midspan chord
42 Once more: Source are TOTALY UNCHECKED. I hope it will work, but I do not
43 dare to claim that ewerything will work first time you compile it.
52 Work to be done (for myself):
53 Landing gear (it is just navion_gear.c copied for now, these are similar
54 class of aircraft, so it should work),
55 Alpha_max is still undone,
56 Spin (if I find any references concerning simulating spin),