Seeing numbers scroll is boring. To see the plane fly:
Navigate to aircraft/c172/. The main file is c172.xml. Open it. jsbsim tutorial
Every JSBSim aircraft file has the same skeleton: Mastering Flight Dynamics: The Ultimate JSBSim Tutorial 2
To configure the aircraft, follow these steps: Download and install FlightGear
<metrics>
<wingarea unit="FT2"> 174.0 </wingarea>
<wingspan unit="FT"> 35.83 </wingspan>
<chord unit="FT"> 4.9 </chord>
<htailarea unit="FT2"> 27.0 </htailarea>
<vtailarea unit="FT2"> 12.5 </vtailarea>
<location name="AERORP" unit="IN">
<x> 128.0 </x> <y> 0.0 </y> <z> 0.0 </z>
</location>
</metrics>
AERORP is the Aerodynamic Reference Point. Moments are calculated around this point.unit="FT2". JSBSim will convert internally. Be explicit.JSBSim does not have "aircraft files." It has aircraft directories. Every vehicle is a folder containing XML configuration files. The minimal structure of an aircraft (e.g., my_plane/) looks like this:
my_plane/
├── my_plane.xml # The main configuration file
├── engines/ # Engine models (reciprocating, turbine, rocket)
│ └── my_engine.xml
├── systems/ # Electrical, hydraulic, fuel systems
│ └── fuel_system.xml
└── inertia/ # Mass and inertia moments
└── my_plane.xml
Information about the plane: name, author, type.
Currently there are no comments in this discussion, be the first to comment!