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,

回答 (1 件)

Walter Roberson
Walter Roberson 2017 年 2 月 23 日

0 投票

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.

カテゴリ

ヘルプ センター および File ExchangeGet Started with Aerospace Blockset についてさらに検索

質問済み:

2017 年 2 月 23 日

回答済み:

2017 年 2 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by