Hello,
I have seen some answers relating to interfacing JSBSim with FlightGear. Someone said that there is a way to do it. The issue is that I don't know some kind of things about the next things:
Run FlightGear with
Code: Select all
fgfs --fdm=external --native-fdm=socket,in,120,,5550,udp --airport=SP01 --aircraft=Short_Empire
Then start JSBSim (in this case from the root of the JSBSim directory, otherwise you need a --root= argument) with
Code: Select all
JSBSim --logdirectivefile=data_output/flightgear.xml --realtime --script=scripts/Short_S23_4.xml
The questions are:
-The name of the airport in the first code (SP01), where I can find the name of the airport where the aircraft has to be ? i.e. the code name of the airport
-Where I can put the second code ? When I put it in the cmd of windows it doesn't work.
-In the second code, Short_S23_4 what means ?
Thank you very much.
Kind regards