Simulink-Xplane10 Communication Via UDP

Communication between MATLAB/Simulink and X-Plane 10 via UDP
3.8K 次下载
更新时间 2015/11/1

查看许可证

These Simulink models allow communication between MATLAB/Simulink and X-Plane10. This can be used to test control designs, that are implemented in MATLAB/Simulink, in a flight simulator, specifically X-Plane 10.
It is tested successfully on both Mac OS 10.8 and Windows platforms.
Three files are included:
1- Setup model: sends commands to x-plane via UDP to choose/tell what data x-plane 10 should spit out. You can choose as many data indices as available in the 'Data Input & Output' tab in x-plane 10.
2- Send model: Sends commands to control surfaces only via UDP.
3- Get model: receives data that was chosen by the 'setup model' from x-plane 10

引用格式

Mohamed Abdelkader Zahana (2024). Simulink-Xplane10 Communication Via UDP (https://www.mathworks.com/matlabcentral/fileexchange/47144-simulink-xplane10-communication-via-udp), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Simulink Coder 的更多信息
致谢

参考作品: Real-Time Pacer for Simulink

Community Treasure Hunt

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

Start Hunting!

Simulink_Xplane10_communication/Example_straight_Takeoff_control/RealTime_Pacer/RealTime_Pacer/

Simulink_Xplane10_communication/Example_straight_Takeoff_control/

Simulink_Xplane10_communication/Example_straight_Takeoff_control/RealTime_Pacer/RealTime_Pacer/

Simulink_Xplane10_communication/get_data_from_xplane10/

Simulink_Xplane10_communication/send_commands_to_xplane10/

Simulink_Xplane10_communication/setup_xplane_data/

版本 已发布 发行说明
1.2.0.0

- Fixed an error in the getData model
- Added a sampleTime field in the getData model in order to control the frequency of receiving data
- Added a PID example for takeoff control ( keep the plane in straight line during takeoff).

1.1.0.0

.

1.0.0.0