1
0
Fork 0

METAR: transfer the snow/rain intensity to /environment

This commit is contained in:
Torsten Dreyer 2010-12-21 09:53:03 +01:00
parent 02e06a5670
commit 3d6d0cb172

View file

@ -112,6 +112,40 @@
<output>/environment/config/aloft/entry[0]/visibility-m</output>
</filter>
<filter>
<!--
transfer the rain intensity to the target environment
-->
<name>MetarController:rain-norm</name>
<type>noise-spike</type>
<max-rate-of-change>1.0</max-rate-of-change>
<enable>
<condition>
<property>/environment/metar/valid</property>
<property>/environment/params/metar-updates-environment</property>
</condition>
</enable>
<input>/environment/metar/rain-norm</input>
<output>/environment/rain-norm</output>
</filter>
<filter>
<!--
transfer the snow intensity to the target environment
-->
<name>MetarController:snow-norm</name>
<type>noise-spike</type>
<max-rate-of-change>1.0</max-rate-of-change>
<enable>
<condition>
<property>/environment/metar/valid</property>
<property>/environment/params/metar-updates-environment</property>
</condition>
</enable>
<input>/environment/metar/snow-norm</input>
<output>/environment/snow-norm</output>
</filter>
<!-- interpolate the wind vector's components -->
<filter>
<name>MetarController:wind-from-north-fps</name>