2015-06-16 21:20:54 +00:00
|
|
|
<?xml version="1.0"?>
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<!--
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
-->
|
2015-07-24 17:37:16 +00:00
|
|
|
|
2015-06-16 21:20:54 +00:00
|
|
|
<system name="c172p ground effects">
|
|
|
|
|
2015-07-24 17:37:16 +00:00
|
|
|
<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>
|
2015-06-16 21:20:54 +00:00
|
|
|
<property>/velocities/groundspeed-kt</property>
|
2015-07-24 17:37:16 +00:00
|
|
|
</product>
|
|
|
|
</function>
|
|
|
|
</fcs_function>
|
|
|
|
|
|
|
|
<fcs_function name="ground/left-gear-ground-effect-speed-kt">
|
|
|
|
<function>
|
|
|
|
<product>
|
|
|
|
<property>/fdm/jsbsim/contact/unit[7]/WOW</property>
|
2015-06-16 21:20:54 +00:00
|
|
|
<property>/velocities/groundspeed-kt</property>
|
2015-07-24 17:37:16 +00:00
|
|
|
</product>
|
|
|
|
</function>
|
|
|
|
</fcs_function>
|
|
|
|
|
|
|
|
<fcs_function name="ground/right-gear-ground-effect-speed-kt">
|
|
|
|
<function>
|
|
|
|
<product>
|
|
|
|
<property>/fdm/jsbsim/contact/unit[8]/WOW</property>
|
2015-06-16 21:20:54 +00:00
|
|
|
<property>/velocities/groundspeed-kt</property>
|
2015-07-24 17:37:16 +00:00
|
|
|
</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>
|
2015-06-16 21:20:54 +00:00
|
|
|
|
|
|
|
</system>
|