1
0
Fork 0

Stby compass

This commit is contained in:
Jonathan Redpath 2022-05-01 20:27:03 +01:00
parent 5c8a0d2e39
commit 4abf04a8c0
3 changed files with 47 additions and 0 deletions

View file

@ -898,6 +898,7 @@
<park-brk-translate type="double">0</park-brk-translate>
<qnh-cpt-knb-translate type="double">0.0015</qnh-cpt-knb-translate>
<qnh-fo-knb-translate type="double">0.0015</qnh-fo-knb-translate>
<stby-compass type="bool">false</stby-compass>
</cockpit>
<CVR>
<erase type="bool">0</erase>

View file

@ -21848,6 +21848,47 @@
<!-- Overhead Panel -->
<!-- Standby Compass -->
<animation>
<type>pick</type>
<object-name>compass_box</object-name>
<action>
<button>0</button>
<repeatable>false</repeatable>
<binding>
<command>property-toggle</command>
<property>controls/cockpit/stby-compass</property>
</binding>
</action>
<hovered>
<binding>
<command>set-tooltip</command>
<tooltip-id>stby-compass-lbl</tooltip-id>
<label>Standby compass</label>
</binding>
</hovered>
</animation>
<animation>
<type>translate</type>
<object-name>compass_box</object-name>
<object-name>compass_box.wheel</object-name>
<property>controls/cockpit/stby-compass-pos</property>
<factor>0.055</factor>
<axis>
<z>-1</z>
</axis>
</animation>
<animation>
<type>rotate</type>
<object-name>compass_box.wheel</object-name>
<property>/orientation/heading-magnetic-deg</property>
<axis>
<object-name>compass_box.wheel.axis</object-name>
</axis>
</animation>
<!-- Rain protection -->
<animation>
<type>pick</type>

View file

@ -529,6 +529,11 @@
<input>/controls/radio/rmp[1]/nav-protect</input>
<c1>20</c1>
</lag_filter>
<lag_filter name="/controls/cockpit/stby-compass-pos">
<input>/controls/cockpit/stby-compass</input>
<c1>5</c1>
</lag_filter>
</channel>