FGSummer Class Reference

#include <FGSummer.h>

Inherits FGFCSComponent.

List of all members.


Detailed Description

The Summer component sums two or more inputs. These can be pilot control inputs or state variables, and a bias can also be added in using the BIAS keyword. The form of the summer component specification is:
    <summer name="{string}">
      <input> {string} </input>
      <input> {string} </input>
      <bias> {number} </bias>
      <clipto>
         <min> {number} </min>
         <max> {number} </max>
      </clipto>
      <output> {string} </output>
    </summer>

Note that in the case of an input property the property name may be immediately preceded by a minus sign. Here's an example of a summer component specification:

    <summer name="Roll A/P Error summer">
      <input> velocities/p-rad_sec </input>
      <input> -fcs/roll-ap-wing-leveler </input>
      <input> fcs/roll-ap-error-integrator </input>
      <clipto>
         <min> -1 </min>
         <max>  1 </max> 
      </clipto>
    </summer>

    Notes:

    There can be only one BIAS statement per component.

    There may be any number of inputs.

Author:
Jon S. Berndt
Version:
Id
FGSummer.h,v 1.7 2008/07/22 02:44:42 jberndt Exp

Definition at line 116 of file FGSummer.h.


Public Member Functions

 FGSummer (FGFCS *fcs, Element *element)
 Constructor.
bool Run (void)
 The execution method for this FCS component.
 ~FGSummer ()
 Destructor.

Constructor & Destructor Documentation

FGSummer ( FGFCS fcs,
Element element 
)

Parameters:
fcs a pointer to the parent FGFCS object.
element a pointer to the configuration file node.

Definition at line 51 of file FGSummer.cpp.


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

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