~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/FDM/JSBSim/models/flight_control/FGGyro.h

  • Committer: Package Import Robot
  • Author(s): Ove Kaaven
  • Date: 2011-09-03 22:16:12 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110903221612-2cjy0z7ztj5nkln5
Tags: 2.4.0-1
* New upstream release. Closes: #638588.
* Build-Depend on OpenSceneGraph 3.0, and the Subversion library.
* Recommend fgfs-scenery-base.
* Enable parallel builds (shorter compile times on multicore CPUs).
* Removed hack that tried to build without optimizations if
  building with optimizations fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
DEFINITIONS
51
51
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
52
52
 
53
 
#define ID_GYRO "$Id$"
 
53
#define ID_GYRO "$Id: FGGyro.h,v 1.5 2009/12/11 06:03:06 jberndt Exp $"
54
54
 
55
55
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
56
56
FORWARD DECLARATIONS
70
70
 
71
71
@code
72
72
<gyro name="name">
73
 
  <input> property </input>
74
73
  <lag> number </lag>
75
74
  <noise variation="PERCENT|ABSOLUTE"> number </noise>
76
75
  <quantization name="name">
86
85
Example:
87
86
 
88
87
@code
89
 
<gyro name="aero/gyro/qbar">
90
 
  <input> aero/qbar </input>
 
88
<gyro name="aero/gyro/roll">
 
89
  <axis> X </axis>
91
90
  <lag> 0.5 </lag>
92
91
  <noise variation="PERCENT"> 2 </noise>
93
92
  <quantization name="aero/gyro/quantized/qbar">
99
98
</gyro>
100
99
@endcode
101
100
 
102
 
The only required element in the gyro definition is the input element. In that
103
 
case, no degradation would be modeled, and the output would simply be the input.
104
 
 
105
101
For noise, if the type is PERCENT, then the value supplied is understood to be a
106
102
percentage variance. That is, if the number given is 0.05, the the variance is
107
103
understood to be +/-0.05 percent maximum variance. So, the actual value for the gyro
110
106
time.
111
107
 
112
108
@author Jon S. Berndt
113
 
@version $Revision$
 
109
@version $Revision: 1.5 $
114
110
*/
115
111
 
116
112
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%