Bureaucrats, checkuser, Administrators
304
edits
Hellosimon (talk | contribs) (→AI Models: formatting + tables) |
Hellosimon (talk | contribs) |
||
Line 125: | Line 125: | ||
AI aircraft have no pilots to control flaps nor does the flight plan <flaps-down>true/false</flaps-down> parameter effect the /AI property tree parameter, a relationship to the IAS is the next best choice. | AI aircraft have no pilots to control flaps nor does the flight plan <flaps-down>true/false</flaps-down> parameter effect the /AI property tree parameter, a relationship to the IAS is the next best choice. | ||
To effect this relationship (IAS/flap-position) using factors/offsets and min/max would be quite difficult and non-intuitive. Using interpolation tables allows the following scenario to be setup very easily and intuitively | To effect this relationship (IAS/flap-position) using factors/offsets and min/max would be quite difficult and non-intuitive. Using interpolation tables allows the following scenario to be setup very easily and intuitively: | ||
: '''C172P''' | : '''C172P''' | ||
Line 192: | Line 192: | ||
For sim animations, the actual physical rotation of the control surface in the real world needs to be researched; this may reveal a linear or non-linear relationship between "nominal flap extension indicator" and physical rotation of the surface. That is, "10 degrees of flap" might only involve rotating the flap surface 5 degrees around its axis in the wing structure. In our 0,10,20,30 scenarios, assuming a linear relationship, 30 degrees of flap would result in the flap being rotated 15 degrees around its wing axis. Therefore the normalised /surface-positions/flap-pos-norm property would have a factor of 15 applied to the rotate animation | For sim animations, the actual physical rotation of the control surface in the real world needs to be researched; this may reveal a linear or non-linear relationship between "nominal flap extension indicator" and physical rotation of the surface. That is, "10 degrees of flap" might only involve rotating the flap surface 5 degrees around its axis in the wing structure. In our 0,10,20,30 scenarios, assuming a linear relationship, 30 degrees of flap would result in the flap being rotated 15 degrees around its wing axis. Therefore the normalised /surface-positions/flap-pos-norm property would have a factor of 15 applied to the rotate animation | ||
The way to change a linear relationship that uses "factor, offset, min/max" in the sim animation to a interpolation table in the AI animation is best understood by examining how "factor, offset, min/max" approach works | The way to change a linear relationship that uses "factor, offset, min/max" in the sim animation to a interpolation table in the AI animation is best understood by examining how "factor, offset, min/max" approach works: | ||
# Take normalised value of the flaps (0=retracted, 1=extended) | # Take normalised value of the flaps (0=retracted, 1=extended) | ||
Line 205: | Line 205: | ||
max+10 | max+10 | ||
these figures are nonsense but are used to illustrate a point | these figures are nonsense but are used to illustrate a point: | ||
flaps retracted(0*) = 0 x 60 = 0, (offset=-30) = -30, (min= -10) = -10 | flaps retracted(0*) = 0 x 60 = 0, (offset=-30) = -30, (min= -10) = -10 | ||
Line 223: | Line 223: | ||
from this it can be seen that the 3-D object will be rotated 0, 9, 18 & 27* to represent the 0, 10, 20 & 30* deployment of the flaps. | from this it can be seen that the 3-D object will be rotated 0, 9, 18 & 27* to represent the 0, 10, 20 & 30* deployment of the flaps. | ||
Relating this back to the speeds above | Relating this back to the speeds above: | ||
{| border="1" | {| border="1" | ||
Line 266: | Line 266: | ||
this gives a stepped effect, where the movement is limited to 1knt of airspeed. That is the 3-D object will linearly move from 9* to 18* while the aircraft looses speed from 70knts to 69knts. This behaviour will make the need for an upper and lower limit of a stepped value obvious. | this gives a stepped effect, where the movement is limited to 1knt of airspeed. That is the 3-D object will linearly move from 9* to 18* while the aircraft looses speed from 70knts to 69knts. This behaviour will make the need for an upper and lower limit of a stepped value obvious. | ||
a simplified table of | a simplified table of: | ||
{| border="1" | {| border="1" |