I want to run a FG simulation by using my simulink project in which I've used "FlightGear Preconfigured 6DoF Animation" block and the "Generate Run Script (for FligthGear simulation)" block. The problem is that I've installed aircraft and sceney within a custmoized folder at this path: "D:\FlightGear\Downloads". Here I've the two folders: "Aircrfat","TerraSync".
In "TerraSync" i've downloaded the airport "LIRN", instead in the first folder I have the Mig-29 (D:\FlightGear\Downloads\Aircraft\org.flightgear.fgaddon.stable_2020\Aircraft\Mig-29).
How I can generate the runscript file (.bat) in order to use the Mig-29 and LIRN airport or, in general, aircraft and scenery stored in my download folder (D:\FlightGear\Downloads).
This is the default .bat file in which I've used the deafult aircraft c172p and the LIRN airport but it has been downloaded again and saved in the path "C:\Users\peppe\FlightGear":
-------------------------------------------
- Code: Select all
D:
cd D:\Programmi HDD\FlightGear 2020.3
SET FG_ROOT=D:\Programmi HDD\FlightGear 2020.3\data
.\\bin\fgfs --aircraft=c172p --fdm=null --native-fdm=socket,in,30,localhost,5502,udp --fog-fastest --disable-clouds --start-date-lat=2004:06:01:09:00:00 --disable-sound --in-air --enable-freeze --airport=LIRN --runway=24 --altitude=0 --heading=0 --offset-distance=0 --offset-azimuth=0 --prop:/sim/rendering/shaders/quality-level=0
-----------------------------------------------
This is the default setting of the "Generate Run Script (for FligthGear simulation)" block: