hi.xml 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. <?xml version="1.0"?>
  2. <!--
  3. Basic gyro-based heading indicator
  4. Gary "Buckaroo" Neely
  5. -->
  6. <PropertyList>
  7. <path>hi.ac</path>
  8. <animation>
  9. <type>material</type>
  10. <object-name>CompassPoints</object-name>
  11. <object-name>Needle</object-name>
  12. <object-name>CompassRose</object-name>
  13. <emission>
  14. <red>0.8</red>
  15. <green>0.4</green>
  16. <blue>0.2</blue>
  17. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  18. </emission>
  19. </animation>
  20. <animation>
  21. <type>material</type>
  22. <object-name>KnobHdg</object-name>
  23. <emission>
  24. <red>0.2</red>
  25. <green>0.1</green>
  26. <blue>0.05</blue>
  27. <factor-prop>/systems/electrical/outputs/panel-norm</factor-prop>
  28. </emission>
  29. </animation>
  30. <animation>
  31. <type>rotate</type>
  32. <object-name>CompassRose</object-name>
  33. <property>/instrumentation/heading-indicator/indicated-heading-deg</property>
  34. <factor>-1</factor>
  35. <axis>
  36. <x>-1</x>
  37. <y>0</y>
  38. <z>0</z>
  39. </axis>
  40. </animation>
  41. <animation>
  42. <type>rotate</type>
  43. <object-name>KnobHdg</object-name>
  44. <property>/instrumentation/heading-indicator/offset-deg</property>
  45. <factor>2</factor>
  46. <center>
  47. <x-m>0</x-m>
  48. <y-m>-0.031</y-m>
  49. <z-m>-0.031</z-m>
  50. </center>
  51. <axis>
  52. <x>-1</x>
  53. <y>0</y>
  54. <z>0</z>
  55. </axis>
  56. </animation>
  57. <animation>
  58. <type>pick</type>
  59. <object-name>KnobHdg</object-name>
  60. <action>
  61. <button>0</button>
  62. <repeatable>true</repeatable>
  63. <binding>
  64. <command>property-adjust</command>
  65. <property>/instrumentation/heading-indicator/offset-deg</property>
  66. <step>1</step>
  67. <min>0</min>
  68. <max>360</max>
  69. <wrap>true</wrap>
  70. </binding>
  71. </action>
  72. </animation>
  73. <animation>
  74. <type>pick</type>
  75. <object-name>KnobHdg</object-name>
  76. <action>
  77. <button>1</button>
  78. <repeatable>true</repeatable>
  79. <binding>
  80. <command>property-adjust</command>
  81. <property>/instrumentation/heading-indicator/offset-deg</property>
  82. <step>-1</step>
  83. <min>0</min>
  84. <max>360</max>
  85. <wrap>true</wrap>
  86. </binding>
  87. </action>
  88. </animation>
  89. <animation>
  90. <type>pick</type>
  91. <object-name>KnobHdg</object-name>
  92. <action>
  93. <button>3</button>
  94. <repeatable>true</repeatable>
  95. <binding>
  96. <command>property-adjust</command>
  97. <property>/instrumentation/heading-indicator/offset-deg</property>
  98. <step>1</step>
  99. <min>0</min>
  100. <max>360</max>
  101. <wrap>true</wrap>
  102. </binding>
  103. </action>
  104. <action>
  105. <button>4</button>
  106. <repeatable>true</repeatable>
  107. <binding>
  108. <command>property-adjust</command>
  109. <property>/instrumentation/heading-indicator/offset-deg</property>
  110. <step>-1</step>
  111. <min>0</min>
  112. <max>360</max>
  113. <wrap>true</wrap>
  114. </binding>
  115. </action>
  116. </animation>
  117. </PropertyList>