Interfacing with FlightGear without Simulink?

Is there a way to interface MATLAB with FlightGear for real time flight simulation visualization without using Simulink? In other words, can it be done using just scripts and not a Simulink model if I am using a joystick for input and not a predefined timeseries? I have a model that is contained in "m" files and it seams inefficient to me to build a Simulink model for it. Thanks,

Answers (1)

Yes it is possible. See for example the discussion at http://wiki.flightgear.org/Howto:Use_Arduino_with_FlightGear of interfacing Arduino and FlightGear . That does not give you any MATLAB code, but it gives C code that you could study to figure out how the FlightGear wants to be be talked to.

Categories

Asked:

on 23 Feb 2017

Answered:

on 23 Feb 2017

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!