FGGroundReactions Class Reference

#include <FGGroundReactions.h>

Inherits FGModel.

List of all members.


Detailed Description

Maintains a list of landing gear and ground contact points, all instances of FGLGear. Sums their forces and moments so that these may be provided to FGPropagate. Parses the <ground_reactions> section of the aircraft configuration file.

Configuration File Format of <ground_reactions> Section:

    <ground_reactions>
        <contact>
           ... {see FGLGear for specifics of this format}
        </contact>
        ... {more contacts}
    </ground_reactions>

Definition at line 81 of file FGGroundReactions.h.


Public Member Functions

 FGGroundReactions (FGFDMExec *)
double GetForces (int idx) const
FGColumnVector3GetForces (void)
FGLGearGetGearUnit (int gear)
 Gets a gear instance.
string GetGroundReactionStrings (string delimeter)
string GetGroundReactionValues (string delimeter)
double GetMoments (int idx) const
FGColumnVector3GetMoments (void)
int GetNumGearUnits (void) const
bool GetWOW (void)
bool InitModel (void)
bool Load (Element *el)
 Loads this model.
bool Run (void)
 Runs the model; called by the Executive.

Member Function Documentation

FGLGear* GetGearUnit ( int  gear  )  [inline]

Parameters:
gear index of gear instance
Returns:
a pointer to the FGLGear instance of the gear unit requested

Definition at line 103 of file FGGroundReactions.h.

bool Load ( Element el  )  [virtual]

Parameters:
el a pointer to the element
Returns:
true if model is successfully loaded

Reimplemented from FGModel.

Definition at line 121 of file FGGroundReactions.cpp.

bool Run ( void   )  [virtual]

See also:
JSBSim.cpp documentation
Returns:
false if no error

Reimplemented from FGModel.

Definition at line 84 of file FGGroundReactions.cpp.


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

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