| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <!-- |
| 4 | |
| 5 | c172p ski animations. |
| 6 | |
| 7 | Wayne Bragg/c172p-detailed 2015 |
| 8 | |
| 9 | This program is free software; you can redistribute it and/or modify |
| 10 | it under the terms of the GNU General Public License as published by |
| 11 | the Free Software Foundation; either version 2 of the License, or |
| 12 | (at your option) any later version. |
| 13 | |
| 14 | This program is distributed in the hope that it will be useful, |
| 15 | but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 17 | GNU General Public License for more details. |
| 18 | |
| 19 | You should have received a copy of the GNU General Public License |
| 20 | along with this program; if not, write to the Free Software |
| 21 | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
| 22 | |
| 23 | --> |
| 24 | |
| 25 | <system name="c172p-skis"> |
| 26 | |
| 27 | <channel name="ski-rotations"> |
| 28 | |
| 29 | <!-- atan(length_ski / alt_agl) --> |
| 30 | <fcs_function name="ski/atan"> |
| 31 | <function> |
| 32 | <atan> |
| 33 | <quotient> |
| 34 | <value>0.88078</value> |
| 35 | <sum> |
| 36 | <difference> |
| 37 | <property>/position/altitude-agl-m</property> |
| 38 | <value>1.4779</value> |
| 39 | </difference> |
| 40 | <value>1.14886</value> |
| 41 | </sum> |
| 42 | </quotient> |
| 43 | </atan> |
| 44 | </function> |
| 45 | </fcs_function> |
| 46 | |
| 47 | </channel> |
| 48 | |
| 49 | </system> |