1
0
Fork 0
fgdata/Aircraft/c172p/Systems/yoke-cord.xml
Stuart Buchanan 73a67f2328 c172p-detailed sync for 2018.3
from https://github.com/c172p-team/c172p/tree/release/2018.3
commit 0ddd75dbb7431f955d1dd8f468b30300bad6b9d1
2018-09-02 20:58:05 +01:00

62 lines
1.9 KiB
XML

<?xml version="1.0"?>
<!--
c172p yoke cord animations.
Copyright (c) 2018 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
-->
<PropertyList>
<filter>
<name>yoke-rotation</name>
<type>gain</type>
<input>
<expression>
<abs>
<property>/sim/model/c172p/cockpit/yoke-aileron</property>
</abs>
</expression>
</input>
<output>
<property>/sim/model/c172p/cockpit/yoke-aileron-abs</property>
</output>
</filter>
<filter>
<name>yoke-normalization</name>
<type>gain</type>
<gain>1.0</gain>
<input>
<expression>
<table>
<property>/sim/model/c172p/cockpit/yoke-elevator</property>
<entry><ind>-1.0</ind><dep>1.8 </dep></entry>
<entry><ind> 0.0</ind><dep>1.0 </dep></entry>
<entry><ind> 1.0</ind><dep> .26</dep></entry>
</table>
</expression>
</input>
<output>
<property>/sim/model/c172p/cockpit/yoke-elevator-norm</property>
</output>
</filter>
</PropertyList>