mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-09 22:49:53 +08:00
[simulator] add easystar FlightGear model
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,114 @@
|
||||
<?xml version="1.0"?>
|
||||
<PropertyList>
|
||||
|
||||
<!--Plane-->
|
||||
<path>easystar.ac</path>
|
||||
<offsets>
|
||||
<z-m>0.0</z-m>
|
||||
<y-m>0</y-m>
|
||||
<x-m>0.0</x-m>
|
||||
<pitch-deg>0</pitch-deg>
|
||||
</offsets>
|
||||
|
||||
<!--Elevator-->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Elevator</object-name>
|
||||
<property>/surface-positions/elevator-pos-norm</property>
|
||||
<factor>22.5</factor>
|
||||
<axis>
|
||||
<x1-m>0.701</x1-m>
|
||||
<y1-m>-0.174</y1-m>
|
||||
<z1-m>-0.010</z1-m>
|
||||
<x2-m>0.701</x2-m>
|
||||
<y2-m>0.0174</y2-m>
|
||||
<z2-m>-0.010</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!--Rudder-->
|
||||
<animation>
|
||||
<type>rotate</type>
|
||||
<object-name>Rudder</object-name>
|
||||
<property>/surface-positions/rudder-pos-norm</property>
|
||||
<factor>25</factor>
|
||||
<axis>
|
||||
<x1-m>0.716</x1-m>
|
||||
<y1-m>0.000</y1-m>
|
||||
<z1-m>0.000</z1-m>
|
||||
<x2-m>0.715</x2-m>
|
||||
<y2-m>0.000</y2-m>
|
||||
<z2-m>0.083</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
|
||||
<!-- Propeller -->
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>Propeller.Spinning</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>material</type>
|
||||
<object-name>Propeller.Spinning</object-name>
|
||||
<threshold>0.001</threshold>
|
||||
<transparency>
|
||||
<alpha>0.2</alpha>
|
||||
<factor-prop>/engines/engine[0]/rpm-norm-inv</factor-prop>
|
||||
<min>0.0</min>
|
||||
<max>1.0</max>
|
||||
</transparency>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Propeller.Spinning</object-name>
|
||||
<condition>
|
||||
<greater-than>
|
||||
<property>/engines/engine[0]/rpm</property>
|
||||
<value>350</value>
|
||||
</greater-than>
|
||||
</condition>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>spin</type>
|
||||
<object-name>Propeller.Spinning</object-name>
|
||||
<property>/engines/engine[0]/rpm</property>
|
||||
<factor>1</factor>
|
||||
<axis>
|
||||
<x1-m>0.277</x1-m>
|
||||
<y1-m>0.000</y1-m>
|
||||
<z1-m>0.078</z1-m>
|
||||
<x2-m>0.309</x2-m>
|
||||
<y2-m>0.000</y2-m>
|
||||
<z2-m>0.086</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>noshadow</type>
|
||||
<object-name>Propeller</object-name>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>spin</type>
|
||||
<object-name>Propeller</object-name>
|
||||
<property>/engines/engine[0]/rpm</property>
|
||||
<factor>1</factor>
|
||||
<axis>
|
||||
<x1-m>0.277</x1-m>
|
||||
<y1-m>0.000</y1-m>
|
||||
<z1-m>0.078</z1-m>
|
||||
<x2-m>0.309</x2-m>
|
||||
<y2-m>0.000</y2-m>
|
||||
<z2-m>0.086</z2-m>
|
||||
</axis>
|
||||
</animation>
|
||||
<animation>
|
||||
<type>select</type>
|
||||
<object-name>Propeller</object-name>
|
||||
<condition>
|
||||
<less-than>
|
||||
<property>/engines/engine[0]/rpm</property>
|
||||
<value>400</value>
|
||||
</less-than>
|
||||
</condition>
|
||||
</animation>
|
||||
|
||||
</PropertyList>
|
||||
Reference in New Issue
Block a user