FGAccelerometer Class Reference

#include <FGAccelerometer.h>

Inherits FGSensor.

List of all members.


Detailed Description

Syntax:

<accelerometer name="name">
  <input> property </input>
  <lag> number </lag>
  <noise variation="PERCENT|ABSOLUTE"> number </noise>
  <quantization name="name">
    <bits> number </bits>
    <min> number </min>
    <max> number </max>
  </quantization>
  <drift_rate> number </drift_rate>
  <bias> number </bias>
</accelerometer>

Example:

<accelerometer name="aero/accelerometer/qbar">
  <input> aero/qbar </input>
  <lag> 0.5 </lag>
  <noise variation="PERCENT"> 2 </noise>
  <quantization name="aero/accelerometer/quantized/qbar">
    <bits> 12 </bits>
    <min> 0 </min>
    <max> 400 </max>
  </quantization>
  <bias> 0.5 </bias>
</accelerometer>

The only required element in the accelerometer definition is the input element. In that case, no degradation would be modeled, and the output would simply be the input.

For noise, if the type is PERCENT, then the value supplied is understood to be a percentage variance. That is, if the number given is 0.05, the the variance is understood to be +/-0.05 percent maximum variance. So, the actual value for the accelerometer will be *anywhere* from 0.95 to 1.05 of the actual "perfect" value at any time - even varying all the way from 0.95 to 1.05 in adjacent frames - whatever the delta time.

Author:
Jon S. Berndt
Version:
Revision
1.1

Definition at line 118 of file FGAccelerometer.h.


Public Member Functions

 FGAccelerometer (FGFCS *fcs, Element *element)
bool Run (void)

The documentation for this class was generated from the following files:

Generated on Tue May 26 00:55:08 2009 for JSBSim Flight Dynamics Model by  doxygen 1.5.5