> By the way. The filtering that will remain in the c172p action-sim.nas
> for the nav radio could be moved to navradio.cxx. Here again, the
> needle damping and the needle behavior when tuned to an out-of-range
> frequency or when the gs is out of range is device dependent. The
> filtered values are used by Aircraft/Instruments-3d/vor/vor.xml and
> vor2.xml. I was afraid that modifying navradio.cxx to achieve realistic
> needle behavior for this vor model might break other vor/gs head or hsi
> models.
We can now easily use the autopilot filters for that, just add a file with the
content
<PropertyList>
<filter>
<name>CDI0 lowpass</name>
<debug>false</debug>
<type>exponential</type>
<filter-time>2.0</filter-time>
<input>instrumentation/nav[0]/heading-needle-deflection-norm</input>
<output>instrumentation/nav[0]/filtered-cdiNAV0-deflection</output>
</filter>
<!--
More filters here
-->
</PropertyList>
And add
<autopilot>
<name>A very descriptive name for this file like Instrument-Filter</name>
<path>Aircraft/c172p/path/to/that/file</path>
</autopilot>
to c172p-set.xml under /sim/systems
No need for coding here, too.
Greetings, Torsten
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel