1
0
Fork 0
fgdata/Aircraft/c172p/Systems/c172p-ground-effects.xml

149 lines
5.4 KiB
XML
Raw Normal View History

<?xml version="1.0"?>
<!--
c172p damage effects for JSBSim.
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 ground effects">
<channel name="groundeffects">
<fcs_function name="ground/tail-ground-effect-speed-kt">
<function>
<product>
<property>/fdm/jsbsim/contact/unit[3]/WOW</property>
<property>/velocities/groundspeed-kt</property>
</product>
</function>
</fcs_function>
<fcs_function name="ground/left-wing-ground-effect-speed-kt">
<function>
<product>
<property>/fdm/jsbsim/contact/unit[4]/WOW</property>
<property>/velocities/groundspeed-kt</property>
<eq>
<property>/fdm/jsbsim/wing-damage/left-wing</property>
<value>0.0</value>
</eq>
</product>
</function>
</fcs_function>
<fcs_function name="ground/right-wing-ground-effect-speed-kt">
<function>
<product>
<property>/fdm/jsbsim/contact/unit[5]/WOW</property>
<property>/velocities/groundspeed-kt</property>
<eq>
<property>/fdm/jsbsim/wing-damage/right-wing</property>
<value>0.0</value>
</eq>
</product>
</function>
</fcs_function>
<fcs_function name="ground/nose-gear-ground-effect-speed-kt">
<function>
<product>
<property>/fdm/jsbsim/contact/unit[6]/WOW</property>
<property>/velocities/groundspeed-kt</property>
</product>
</function>
</fcs_function>
<fcs_function name="ground/left-gear-ground-effect-speed-kt">
<function>
<product>
<property>/fdm/jsbsim/contact/unit[7]/WOW</property>
<property>/velocities/groundspeed-kt</property>
</product>
</function>
</fcs_function>
<fcs_function name="ground/right-gear-ground-effect-speed-kt">
<function>
<product>
<property>/fdm/jsbsim/contact/unit[8]/WOW</property>
<property>/velocities/groundspeed-kt</property>
</product>
</function>
</fcs_function>
<fcs_function name="ground/nose-tyre-smoke-ground-effect-speed-kt">
<function>
<or>
<property>/gear/gear[0]/tyre-smoke</property>
<product>
<property>/gear/gear[0]/wow</property>
<gt>
<property>/velocities/groundspeed-kt</property>
<value>20.0</value>
</gt>
<gt>
<property>/fdm/jsbsim/ground/rolling_friction-factor</property>
<value>1</value>
</gt>
</product>
</or>
</function>
</fcs_function>
<fcs_function name="ground/left-tyre-smoke-ground-effect-speed-kt">
<function>
<or>
<property>/gear/gear[1]/tyre-smoke</property>
<product>
<property>/gear/gear[1]/wow</property>
<gt>
<property>/velocities/groundspeed-kt</property>
<value>20.0</value>
</gt>
<gt>
<property>/fdm/jsbsim/ground/rolling_friction-factor</property>
<value>1</value>
</gt>
</product>
</or>
</function>
</fcs_function>
<fcs_function name="ground/right-tyre-smoke-ground-effect-speed-kt">
<function>
<or>
<property>/gear/gear[2]/tyre-smoke</property>
<product>
<property>/gear/gear[2]/wow</property>
<gt>
<property>/velocities/groundspeed-kt</property>
<value>20.0</value>
</gt>
<gt>
<property>/fdm/jsbsim/ground/rolling_friction-factor</property>
<value>1</value>
</gt>
</product>
</or>
</function>
</fcs_function>
</channel>
</system>