#include <FGAircraft.h>
Inherits FGModel.
The <metrics> section of the aircraft configuration file is read here, and the metrical information is held by this class.
<metrics>
<wingarea unit="{FT2 | M2}"> {number} </wingarea>
<wingspan unit="{FT | M}"> {number} </wingspan>
<chord unit="{FT | M}"> {number} </chord>
<htailarea unit="{FT2 | M2}"> {number} </htailarea>
<htailarm unit="{FT | M}"> {number} </htailarm>
<vtailarea unit="{FT2 | M}"> {number} </vtailarea>
<vtailarm unit="{FT | M}"> {number} </vtailarm>
<wing_incidence unit="{RAD | DEG}"> {number} </wing_incidence>
<location name="{AERORP | EYEPOINT | VRP}" unit="{IN | M}">
<x> {number} </x>
<y> {number} </y>
<z> {number} </z>
</location>
{other location blocks}
</metrics>
D. M. Henderson, "Euler Angles, Quaternions, and Transformation Matrices", JSC 12960, July 1977
Richard E. McFarland, "A Standard Kinematic Model for Flight Simulation at NASA-Ames", NASA CR-2497, January 1975
Barnes W. McCormick, "Aerodynamics, Aeronautics, and Flight Mechanics", Wiley & Sons, 1979 ISBN 0-471-03032-5
Bernard Etkin, "Dynamics of Flight, Stability and Control", Wiley & Sons, 1982 ISBN 0-471-08936-2
Definition at line 110 of file FGAircraft.h.
Public Member Functions | |
| void | bind (void) |
| FGAircraft (FGFDMExec *Executive) | |
| Constructor. | |
| string | GetAircraftName (void) |
| Gets the aircraft name. | |
| double | GetBodyAccel (int idx) |
| FGColumnVector3 & | GetBodyAccel (void) |
| double | Getcbar (void) const |
| Gets the average wing chord. | |
| double | GetForces (int idx) const |
| FGColumnVector3 & | GetForces (void) |
| int | GetHoldDown (void) const |
| double | GetHTailArea (void) const |
| double | GetHTailArm (void) const |
| double | Getlbarh (void) const |
| double | Getlbarv (void) const |
| double | GetMoments (int idx) const |
| FGColumnVector3 & | GetMoments (void) |
| double | GetNcg (int idx) |
| FGColumnVector3 & | GetNcg (void) |
| double | GetNlf (void) const |
| FGColumnVector3 & | GetNwcg (void) |
| double | Getvbarh (void) const |
| double | Getvbarv (void) const |
| double | GetVTailArea (void) const |
| double | GetVTailArm (void) const |
| double | GetWingArea (void) const |
| Gets the wing area. | |
| double | GetWingIncidence (void) const |
| double | GetWingIncidenceDeg (void) const |
| double | GetWingSpan (void) const |
| Gets the wing span. | |
| double | GetXYZep (int idx) const |
| FGColumnVector3 & | GetXYZep (void) |
| double | GetXYZrp (int idx) const |
| FGColumnVector3 & | GetXYZrp (void) |
| double | GetXYZvrp (int idx) const |
| FGColumnVector3 & | GetXYZvrp (void) |
| bool | InitModel (void) |
| bool | Load (Element *el) |
| Loads the aircraft. | |
| bool | Run (void) |
| Runs the Aircraft model; called by the Executive. | |
| void | SetAircraftName (string name) |
| void | SetHoldDown (int hd) |
| void | SetWingArea (double S) |
| void | SetXYZrp (int idx, double value) |
| void | unbind (void) |
| ~FGAircraft () | |
| Destructor. | |
| FGAircraft | ( | FGFDMExec * | Executive | ) |
| Executive | a pointer to the parent executive object |
Definition at line 74 of file FGAircraft.cpp.
| string GetAircraftName | ( | void | ) | [inline] |
| bool Load | ( | Element * | el | ) | [virtual] |
The executive calls this method to load the aircraft into JSBSim.
| el | a pointer to the element tree |
Reimplemented from FGModel.
Definition at line 150 of file FGAircraft.cpp.
| bool Run | ( | void | ) | [virtual] |
Reimplemented from FGModel.
Definition at line 108 of file FGAircraft.cpp.
1.5.5