<!-- This guage is for Posky 777-200V2 for making the Left gear shrink action   -->
<Gauge Name="PkyRightgearboggie" Version="1.0">
<copyright>(c)2007 Hiroshi Igami</copyright>

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

(A:GEAR RIGHT POSITION,percent) 99 &gt; if{

  (L:PkyRIGHTGEARHEIGHT,percent) 100 &gt; if{
       (A:PLANE PITCH DEGREES, degree) -1 * 5.26315 * 300 + (>L:PkyRIGHTGEARBOGGIE,percent) 
  }
  els{ 

  5.419  (A:PLANE ALT ABOVE GROUND, meter) - (A:PLANE PITCH DEGREES, radian)  tan  4.41 * - (A:PLANE BANK DEGREES, degree )  tan  5.365 * + 200.956 * 300 + 232 max  (>L:PkyRIGHTGEARBOGGIE,percent)
  }

}
els{ 
    232   100 (A:GEAR RIGHT POSITION,percent) - 4 *  + 326 min    (>L:PkyRIGHTGEARBOGGIE,percent)
}




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