73a67f2328
from https://github.com/c172p-team/c172p/tree/release/2018.3 commit 0ddd75dbb7431f955d1dd8f468b30300bad6b9d1
109 lines
3.4 KiB
XML
109 lines
3.4 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<PropertyList>
|
|
|
|
<path>tc.ac</path>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/lm-tcr</inherits-from>
|
|
<object-name>Airplane</object-name>
|
|
<object-name>Ball</object-name>
|
|
</effect>
|
|
|
|
<effect>
|
|
<inherits-from>../../../../Effects/interior/lm-tc</inherits-from>
|
|
<object-name>Face</object-name>
|
|
<object-name>Background</object-name>
|
|
<object-name>Flag</object-name>
|
|
<object-name>Case</object-name>
|
|
</effect>
|
|
|
|
<animation>
|
|
<type>material</type>
|
|
<object-name>Ball</object-name>
|
|
<object-name>Face</object-name>
|
|
<object-name>Airplane</object-name>
|
|
<object-name>Background</object-name>
|
|
<object-name>Case</object-name>
|
|
<condition>
|
|
<not>
|
|
<property>/sim/rendering/shaders/skydome</property>
|
|
</not>
|
|
</condition>
|
|
<emission>
|
|
<red> 1.0</red>
|
|
<green>0.8</green>
|
|
<blue> 0.5</blue>
|
|
<factor-prop>/sim/model/material/instruments/integral-factor</factor-prop>
|
|
</emission>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>Airplane</object-name>
|
|
<property>/instrumentation/turn-indicator/indicated-turn-rate</property>
|
|
<factor>20.0</factor>
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
<center>
|
|
<x-m>-0.37583</x-m>
|
|
<y-m>-0.31098</y-m>
|
|
<z-m>-0.00261</z-m>
|
|
</center>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>rotate</type>
|
|
<object-name>Ball</object-name>
|
|
<property>/instrumentation/slip-skid-ball/indicated-slip-skid</property>
|
|
<factor>5.729</factor>
|
|
<!--
|
|
From the source for slip_skid_ball.cxx, the number returned is (-z_accel/y_accel)*10.
|
|
For small theta, theta~=tan(theta) when theta is in radians. So the angle of a "ball"
|
|
undergoing z_accel and y_accel hung on the end of a string makes with the verticle
|
|
will be approximately -z_accel/y_accel radians. Converting to degrees, multiply by
|
|
180/pi=57.29, or 5.729 times the returned value. Edited by Dave Perry, 2/26/06.
|
|
|
|
Edit by Daniel Dubreuil june 2014: I'd rather say
|
|
Angle with the verticle (radians) -y_accel/z_accel
|
|
FG indicated-slip-skid = -(y_accel/z_accel)*10
|
|
-->
|
|
<min-deg>-9.3</min-deg>
|
|
<max-deg>9.3</max-deg>
|
|
<!--center>
|
|
<x-m>0</x-m>
|
|
<y-m>0</y-m>
|
|
<z-m>0.10</z-m-->
|
|
<!-- 0.10 is fitted to the drawing. Initial 0.25 makes the
|
|
radius of curvature for the glass tube ~10 inches and
|
|
the angle +-4 deg (more sensitive)
|
|
-->
|
|
<!--/center-->
|
|
<axis>
|
|
<x>-1</x>
|
|
<y>0</y>
|
|
<z>0</z>
|
|
</axis>
|
|
<center>
|
|
<x-m>-0.37878</x-m>
|
|
<y-m>-0.31098</y-m>
|
|
<z-m> 0.08383</z-m>
|
|
</center>
|
|
</animation>
|
|
|
|
<animation>
|
|
<type>translate</type>
|
|
<object-name>Flag</object-name>
|
|
<property>/instrumentation/turn-indicator/spin</property>
|
|
<factor>0.0040</factor>
|
|
<axis>
|
|
<x>0</x>
|
|
<y>0</y>
|
|
<z>1</z>
|
|
</axis>
|
|
</animation>
|
|
|
|
</PropertyList>
|