Board index FlightGear Support Tools FGRun

FGRun and Matlab Simulink question

FGRun is a graphical frontend to run FlightGear.

FGRun and Matlab Simulink question

Postby jgaboo » Mon Mar 06, 2017 7:44 pm

I have successfully integrated FlightGear and Simulink. One small issue - when my simulation runs, the aircraft flies in Flight gear but there is no scenery or a definable horizon. Like I'm flying IFR. I don't see any command line entries that I can add to my FGRun file that would help.

Any ideas? Thanks.
jgaboo
 
Posts: 4
Joined: Thu Feb 16, 2017 7:04 pm

Re: FGRun and Matlab Simulink question

Postby Johan G » Tue Mar 07, 2017 4:27 am

What version of FlightGear are you using? FGRun is no longer supported since a few FlightGear releases back.

Also, have you made sure that FlightGear knows where to look for scenery?
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5292
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit

Re: FGRun and Matlab Simulink question

Postby jgaboo » Tue Mar 07, 2017 12:06 pm

I have 2016.4.4. If FGRun is no longer supported then how does one integrate FlightGear with Matlab Simulink?
jgaboo
 
Posts: 4
Joined: Thu Feb 16, 2017 7:04 pm

Re: FGRun and Matlab Simulink question

Postby Johan G » Tue Mar 07, 2017 1:39 pm

I have no experience with Simulink, but FlightGear allow configuration in a few other ways than FGRun. FlightGear is all about properties, and for interfacing, protocols.

On the top of my head you can set up properties either using command line options (in particular "--prop:name=value"), a separate configuration file (in turn invoked through the command line, specifically "--config=path"), or by editing the startup configuration files (less recommended).

I think that these FlightGear wiki articles may be of help:

Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Johan G
Moderator
 
Posts: 5292
Joined: Fri Aug 06, 2010 5:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 3.0.0
OS: Windows 7, 32 bit


Return to FGRun

Who is online

Users browsing this forum: No registered users and 2 guests