Closed Jaeyoung-Lim closed 3 years ago
Name the aircraft XML file exactly the same as the aircraft directory is highly impractical. Because many aircraft models have multiple variants (which is common to FlightGear to select it by XML file name).
Therefore the best solution would be a workaround in JSBSim API.
This was fixed in https://github.com/Auterion/px4-jsbsim-bridge/pull/10 with the jsbsim integration separately.
I can see that the aircraft configs under
models
directory in this repo is not compatible with the path that JSBSim is assuming.See: https://github.com/JSBSim-Team/jsbsim/blob/ecb79520a50d0f04ca095801f39c3bdb3ea36a16/src/FGFDMExec.h#L280
As far as I understand this is handled in the json file when launching with the python script, but seems like this doesn't work when using the cpp API of jsbsim.
Any ideas on how to get this working? @kaklik @slimonslimon
@RomanBapst FYI