NikolaiVChr / f16

General Dynamics F-16 for Flightgear flight simulator
GNU General Public License v2.0
121 stars 39 forks source link

Copy the aerodynamic model to JSBsim #471

Open sinizu opened 2 years ago

sinizu commented 2 years ago

Hi! I am used to using JSBsim to simulate aircraft dynamic model, can I copy FlightGear f16 aircraft dynamic model into JSBsim? And if so, how?

SammySkycrafts commented 2 years ago

The F-16 already has a JSBsim FDM, which is based on real world windtunnel data, so I'm not exactly sure what you mean. Please clarify.

sinizu commented 2 years ago

The F-16 already has a JSBsim FDM, which is based on real world windtunnel data, so I'm not exactly sure what you mean. Please clarify.

Thanks for your reply! Yes, the F-16 already has a JSBsim FDM, but I compared the F16 flight control system in JSBsim to the One in Flightgear. As a result, the flight control system is more perfectly implemented in Flightgear, so I wanted to directly replace the entire dynamics model of F16 in JSBsim to achieve better simulation. But because I don't know much about XML files, I come here for help.

sinizu commented 2 years ago

The F-16 already has a JSBsim FDM, which is based on real world windtunnel data, so I'm not exactly sure what you mean. Please clarify.

So if I just want to migrate the FLIGHT control system of the F16 in Flightgear to JSBsim, what should I do? Your reply would be greatly appreciated, thanks!

SP-NTX commented 2 years ago

wtf do you mean? In FlightGear' F16 the FDM is JSBsim, this is the same aircraft as the one in launcher, the launcher one is slighty out of date, but the launcher one have JSBSim too, but the github one is probably better than the launcher one

NikolaiVChr commented 2 years ago

He mean use it as standalone in JSBSim without Flightgear I think.

Basically, what you want to do is disconnect all the properties that is fed into JSBSim from FG and convert them to jsbsim properties (constants in most cases should be fine).

Entirely doable, but if XML is foreign to you, then it might be a daunting task.