1
0
Fork 0
No description
Find a file
ehofman fa7f2468c2 Roy Vegard Ovesen:
I've added some digital filters to the autopilot. They are all low-pass
filters that filter away high frequency signals/noise. There are 4 different
filters:

1. Exponential - The algorithm is essentially the same as the one used in the
   fgGetLowPass() function.

2. Double exponential - Two exponential filters in series. This filter has a
   "steeper" frequency response curve. It filters "better" than the single
   exponential.

3. Moving average - Averages a number of inputs.

4. Noise spike - limits the amount that the output value can change from one
   sample to the next.

Filters 1 and 2 are characterised by it's filter-time in seconds. For filter 3
you have to set the number of input samples to average over. For filter 4 you
set the maximum allowed rate of change as [1/s]. Since the sampling interval
(dt) isn't constant we have to calculate the maximum allowed change for every
update.

Example of a double exponential filter with filter time 0.1 seconds, that is
1/0.1 = 10 Hz.

  <filter>
    <name>pressure-rate-filter</name>
    <debug>true</debug>
    <type>double-exponential</type>
    <input>/autopilot/internal/pressure-rate</input>
    <output>/autopilot/internal/filtered-pressure-rate</output>
    <filter-time>0.1</filter-time>
  </filter>

This would go in the autopilot configuration file.

I've also removed the filtering of the "pressure-rate" helper value, use the
new filters if you want to filter it!  ;-)
2004-10-14 09:19:44 +00:00
docs-mini Adjustments 2004-09-27 14:29:54 +00:00
examples/netfdm Add an example implementation for the NetFDM structure. 2004-04-27 08:55:04 +00:00
man Cameron Moore: 2003-10-23 15:53:32 +00:00
package Incorporate some of the changes from the Linspire diff. 2004-06-06 14:28:45 +00:00
scripts A couple tweaks/optimizations to the script. 2004-09-13 21:47:32 +00:00
src Roy Vegard Ovesen: 2004-10-14 09:19:44 +00:00
tests Incorporate some of the changes from the Linspire diff. 2004-06-06 14:28:45 +00:00
utils Various tweaks for v0.9.5-pre1. 2004-07-15 18:07:02 +00:00
.cvsignore Ignore generated GPL. 2004-04-04 20:56:26 +00:00
acinclude.m4 Fix a typo. 2002-09-03 04:52:32 +00:00
am2dsp.cfg Updated am2dsp.cfg from Bernie. 2002-04-22 22:42:23 +00:00
AUTHORS Initial revision. 1998-05-23 18:09:09 +00:00
autogen.sh Fixes to better support the native irix compilers. 2002-09-06 17:30:21 +00:00
ChangeLog Updated ... 2001-06-18 22:25:59 +00:00
configure.ac Changes for v0.9.6 2004-10-12 16:18:05 +00:00
FlightGear.dsp Changes for v0.9.6 2004-10-12 16:18:05 +00:00
FlightGear.dsw Initial revision. 2000-10-16 22:02:10 +00:00
Makefile.am Changes for v0.9.6 2004-10-12 16:18:05 +00:00
NEWS Changes for v0.9.6 2004-10-12 16:18:05 +00:00
README Updates. 2000-02-15 23:32:26 +00:00
Thanks Add Maik Justus 2004-10-06 08:30:40 +00:00

Welcome to the FlightGear Flight Simulator project.
===================================================

The primary web page for this project is: http://www.flightgear.org

For basic installation instructions see the "INSTALL" file.

Before you can run FlightGear you will also need to download and
install the "base" package which is a collection of textures, sounds,
sample scenery, and other data files need by the sim.

For additional install help for specific platforms please browse the
"docs-mini/" subdirectory.

More complete documentation is available from our web page as a
separate distribution.

Please take a look at the "Thanks" file for a list of people who have
contributed to this project.  If you have contributed something but
don't find your name in this file.  Please send a polite reminder to
curt@flightgear.org

For a summary of changes/additions by version see the "NEWS" file.

This project is GPL'd.  For complete details on our licensing please
see the "COPYING" file.

For information on available mailing lists, mailing list archives, and
other available source code and documenation, please visit our web
site.

FlightGear is a product of the collaboration of large international
group of volunteers.  FlightGear is a work in progress.  FlightGear
comes with no warrantee.  We hope you enjoy FlightGear and/or find it
of some value!