| 1 |
|
| 2 |
I will explain assumptions I have made: |
| 3 |
|
| 4 |
All global vars, such as Alpha, Alpha_dot, Density, Altitude, so on, |
| 5 |
have correct values in the moment cherokee functions are called. |
| 6 |
|
| 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. |
| 12 |
|
| 13 |
If strange behaviour is experienced, (like impossibility of level |
| 14 |
flight), it is probably misused coord system. Let me know and fix |
| 15 |
the error. |
| 16 |
|
| 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 |
| 20 |
convention. |
| 21 |
|
| 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). |
| 25 |
|
| 26 |
All initialization files are *.ic: |
| 27 |
mass = 74.53 slugs |
| 28 |
Ixx = 1070 slugs |
| 29 |
Iyy = 1249 slugs |
| 30 |
Izz = 2312 slugs |
| 31 |
Ixz = 0.0 slugs |
| 32 |
above changes are writen in *.ic included in cherokee.zip. However, |
| 33 |
other data in *.ic files are not changed in any way. |
| 34 |
|
| 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 |
| 40 |
|
| 41 |
|
| 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. |
| 44 |
|
| 45 |
Good Luck! |
| 46 |
Gordan |
| 47 |
[email protected] |
| 48 |
|
| 49 |
|
| 50 |
PS |
| 51 |
|
| 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), |
| 57 |
Efect of ground, |
| 58 |
Flaps, |
| 59 |
....... |
| 60 |
|