f44db83b25
From https://github.com/Juanvvc/c172p-detailed/ release/2016.1 commit 3f33b88bb015a8ee685ab3178932d16d6e072410 A big Thank-You to the c172p-detailed team for their ongoing work.
49 lines
1.5 KiB
XML
49 lines
1.5 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<!--
|
|
|
|
c172p ski animations.
|
|
|
|
Copyright (c) 2015 Wayne Bragg
|
|
|
|
This program is free software; you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation; either version 2 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program; if not, write to the Free Software
|
|
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|
|
|
-->
|
|
|
|
<system name="c172p-skis">
|
|
|
|
<channel name="ski-rotations">
|
|
|
|
<!-- atan(length_ski / alt_agl) -->
|
|
<fcs_function name="ski/atan">
|
|
<function>
|
|
<atan>
|
|
<quotient>
|
|
<value>0.88078</value>
|
|
<sum>
|
|
<difference>
|
|
<property>/position/altitude-agl-m</property>
|
|
<value>1.4779</value>
|
|
</difference>
|
|
<value>1.14886</value>
|
|
</sum>
|
|
</quotient>
|
|
</atan>
|
|
</function>
|
|
</fcs_function>
|
|
|
|
</channel>
|
|
|
|
</system>
|