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 Exchange에서 Get 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