<!-- This guage is for Posky 767V5 for making Left Wings tip flex    -->
<Gauge Name="Pky6WINGFLEX" Version="1.0">
<copyright>(c)2007 Hiroshi Igami</copyright>

<Size X="20" Y="20"/>
<Element>
<Select>
<Value>


<!-- Left wing root flex  -->
(A:PLANE PITCH DEGREES,degrees) -0.05 *  (A:TRAILING EDGE FLAPS LEFT ANGLE,degrees) 0.0075 * 1.0 + + (A:AIRSPEED INDICATED,knot) * 2 +
(A:RELATIVE WIND VELOCITY BODY Y,knot) 4 *  (L:PkyGROUNDWIND,enum) * +
2 / (L:PkyGROUNDEFFECT,enum) * s0
l0 (L:PkyWEIGHTPERCENT,enum) * +
50 (L:PkyWEIGHTPERCENT,enum) 50 * - +
 0 max  (>L:PkyWINGROOTFLEX,percent)



<!-- Left wing mid flex  -->
(A:PLANE PITCH DEGREES,degrees) -0.075 *  1 + (A:AIRSPEED INDICATED,knot) *
(A:RELATIVE WIND VELOCITY BODY Y,knot) 10 * (A:RELATIVE WIND VELOCITY BODY X,knot) 2 * + 
(L:PkyGROUNDWIND,enum) * +
2 /  (L:PkyGROUNDEFFECT,enum) * s0
l0 (L:PkyWEIGHTPERCENT,enum) * +
50 (L:PkyWEIGHTPERCENT,enum) 50 * - +
 0 max  (>L:PkyLWINGMIDFLEX,percent) 


<!-- Right wing mid flex  -->

(A:PLANE PITCH DEGREES,degrees) -0.075 *  1 + (A:AIRSPEED INDICATED,knot) *
(A:RELATIVE WIND VELOCITY BODY Y,knot) 10 * (A:RELATIVE WIND VELOCITY BODY X,knot) 2 * - 
(L:PkyGROUNDWIND,enum) * +
2 /  (L:PkyGROUNDEFFECT,enum) * s0
l0 (L:PkyWEIGHTPERCENT,enum) * +
50 (L:PkyWEIGHTPERCENT,enum) 50 * - +
 0 max  (>L:PkyRWINGMIDFLEX,percent) 

<!-- Left wing tip flex  -->
(A:PLANE PITCH DEGREES,degrees) -0.2 *  1 + (A:AIRSPEED INDICATED,knot) *
(A:RELATIVE WIND VELOCITY BODY Y,knot) 9 * (A:RELATIVE WIND VELOCITY BODY X,knot) 3 * + (L:PkyGROUNDWIND,enum) * +
2 / s0
l0 (L:PkyWEIGHTPERCENT,enum) * +
50 (L:PkyWEIGHTPERCENT,enum) 50 * - +
 0 max (>L:PkyLWINGTIPFLEX,percent) 

<!-- Right wing tip flex  -->
(A:PLANE PITCH DEGREES,degrees) -0.2 *  1 + (A:AIRSPEED INDICATED,knot) *
(A:RELATIVE WIND VELOCITY BODY Y,knot) 9 * (A:RELATIVE WIND VELOCITY BODY X,knot) 3 * - (L:PkyGROUNDWIND,enum) * +
2 / s0
l0 (L:PkyWEIGHTPERCENT,enum) * +
50 (L:PkyWEIGHTPERCENT,enum) 50 * - +
 0 max (>L:PkyRWINGTIPFLEX,percent) 
 

</Value>
</Select>
</Element>  
</Gauge>
