50 lines
1.5 KiB
XML
50 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>
|