1
0
Fork 0

c172p: magnetic compass tweaks

- add compass deviation table
- set compass "pitch" to compensate for wrong indication
This commit is contained in:
Torsten Dreyer 2013-11-05 22:23:35 +01:00
parent 730145eec0
commit bb1443f96e
3 changed files with 60 additions and 0 deletions

View file

@ -88,6 +88,60 @@ file, these values will be used (they are hardcoded).
<magnetic-compass>
<name>magnetic-compass</name>
<number>0</number>
<!-- use either deviation property or deviation table for compass deviation -->
<!--deviation>/instrumentation/magnetic-compass/deviation-deg</deviation-->
<deviation>
<table>
<entry>
<ind>0</ind>
<dep>0</dep>
</entry>
<entry>
<ind>30</ind>
<dep>2</dep>
</entry>
<entry>
<ind>60</ind>
<dep>3</dep>
</entry>
<entry>
<ind>90</ind>
<dep>4</dep>
</entry>
<entry>
<ind>120</ind>
<dep>3</dep>
</entry>
<entry>
<ind>150</ind>
<dep>2</dep>
</entry>
<entry>
<ind>180</ind>
<dep>0</dep>
</entry>
<entry>
<ind>210</ind>
<dep>-2</dep>
</entry>
<entry>
<ind>240</ind>
<dep>-3</dep>
</entry>
<entry>
<ind>270</ind>
<dep>-4</dep>
</entry>
<entry>
<ind>300</ind>
<dep>-3</dep>
</entry>
<entry>
<ind>330</ind>
<dep>-2</dep>
</entry>
</table>
</deviation>
</magnetic-compass>
<nav-radio>

View file

@ -213,6 +213,9 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<nav n="1">
<volume type="double">0.7</volume>
</nav>
<magnetic-compass>
<pitch-offset-deg type="double">-2.7</pitch-offset-deg>
</magnetic-compass>
</instrumentation>
<engines>

View file

@ -233,6 +233,9 @@ Started October 23 2001 by John Check, fgpanels@rockfish.net
<nav n="1">
<volume type="double">0.7</volume>
</nav>
<magnetic-compass>
<pitch-offset-deg type="double">-2.7</pitch-offset-deg>
</magnetic-compass>
</instrumentation>
<engines>