FGAircraft¶
- class jsbsim.FGAircraft¶
Encapsulates an Aircraft and its systems.
Owns all the parts (other classes) which make up this aircraft. This includes the Engines, Tanks, Propellers, Nozzles, Aerodynamic and Mass properties, landing gear, etc. These constituent parts may actually run as separate JSBSim models themselves, but the responsibility for initializing them and for retrieving their force and moment contributions falls to FGAircraft.
The <metrics> section of the aircraft configuration file is read here, and the metrical information is held by this class.
Configuration File Format for <metrics> Section:
<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>
- get_xyz_rp() ndarray ¶
Note
This feature is not yet documented.