本文利用MATLAB/Simulink和X-plane 11接口对VTOL飞机(e-Starling)进行了仿真研究。由于Logitech freedom 2.4没有足够的按钮,因此购买了Logitech X-56 H.O.T.a.S飞行控制器。

安装所有Logitech驱动程序后,您可以使用以下SIMULINK文件。

这里添加了两个不同的SIMULINK实现,以及Windows USB游戏控制器设置(查找)中显示的按钮。

This work is intended for Simulation of A VTOL aircraft (e-Starling) via MATLAB/Simulink and X-Plane 11 Interface. Since having Logitech freedom 2.4 did not have enough buttons a Logitech X-56 H.O.T.A.S flight controller was purchased.

After having all the Logitech drivers installed you can use the following SIMULINK Files.

Two Different SIMULINK Implementation added here along with the buttons displayed from Windows USB Game Controller setup (look it up).

1-X56HOTAS Cyclic StickJoy

Comes with:

Axes ()

Roll, Pitch, Yaw , MiniStick X axis, MiniStick Y Axis in Axes control

Buttons:

8 way switches known as H1, H2 and POV

MiniStick

A,B,D,Trigger and Pinkie

2-X56HOTAS Throttle Collective JoyStick

Comes with:

Axes ()

Throttle 1

Throttle 2

(these throttle are from -1 to 1 and A MATLAB Function and a Simulink function has implemented for conversion - Use either if you are happy with it )

RTY Dials (RTY F, RTY G, RTY 3 and RTY 4)

MiniStick X axis, MiniStick Y Axis in Axes control

Buttons:

8 way switch buttons known as H3, H4

E,F,G,I,H,K,

Other Controls:

Slider (next to your thumb)

Scroller bar (next to left hand pinkie )

K1 (up & down)

TGL1 (up & down)

TGL2 (up & down)

TGL3 (up & down)

TGL4 (up & down)

SW1, SW2, SW3, SW4, SW5, SW6,

Mode Shift Button: M1,M2 and S1

All Controls are generated by standard MATLAB Joystick input, However the Demux is decoded to accommodate the X-56 buttons.Below is the signal analogy of the controllers.

Axes (X,Y,Z):

Vector of doubles in the range < -1; 1 >

Buttons:

Vector of doubles

0 — Button released

1 — Button pressed

Point of View (POV):

-1 — Selector inactive

<0; 360> — The angle of the POV selector, in degrees

Forces:

Vector of doubles

in the range

< -1; 1 >

Acknowledgement :

This work was carried out on Flight controls implementation of a VTOL aircraft (e-Starling) at Cranfield University between MATLAB/SIMULINK and X-Plane 11 interface. I have published only the controller buttons within SIMULINK and will update the main UDP Platform once finished.

This is free for those who would like to use it and please let me know in the comments if this was helpful.

I will be glad to hear from your future implementation and development of X-56 HOTAS Flight controllers.

This will allow you to programmes an infinite combination of Flight Interface commands.

Let me know if you need help or have a similar project and I will be glad to update and integrate the code if you have made any commitments to it.

E-mail: M.Hosseinipour@Crandfield.ac.uk

E-mail: m.a.hosseinipour@Gmail.com

WhatsApp: +447748632002

Best Wishes

Ali Hosseinipour

更多精彩文章请关注公众号:

【源码】SIMULINK中的Logitech X-56 H.O.T.A.S飞行控制器相关推荐

  1. 游戏陪玩app源码开发中,摄像头的调用及视频处理

    摄像头是游戏陪玩app源码进行视频连麦时的重要移动设备之一,在开发时,我们需要实现游戏陪玩app源码对摄像头的调用权限,这就涉及到相关接口的开发了,不过今天我们主要来了解一下在游戏陪玩app源码开发中 ...

  2. 直播系统源码App中Android酷炫礼物动画直播平台源码搭建教程(上篇)

    直播系统源码App中Android酷炫礼物动画直播平台源码搭建教程(上篇) 在当下移动直播火爆的年代,如果你曾经使用过移动端直播应用,相信会被里面那令人惊叹的礼物动画效果迷住,比如像下面这样的效果. ...

  3. 聊天室软件源码开发中,该如何实现多线程同步?

    问题背景 在聊天室软件源码开发中,需执行多线程任务:任务1.任务2并行执行:等全部执行完成后,执行任务3. // 每个 任务 通过 sleep 模拟耗时 val task1: () -> Str ...

  4. 游戏陪玩平台源码开发中阿里云云存储OSS功能介绍

    游戏陪玩平台源码开发中阿里云阿里云文件存储(Network Attached Storage,简称 NAS)是面向阿里云 ECS 实例.HPC 和 Docker 等计算节点的文件存储服务. 1.游戏陪 ...

  5. 源码解析中看到的奇淫巧技

    源码解析中看到的奇淫巧技 一. 数组重置 let arr = [123,123] arr.length // 2 arr.length = 0 arr // [] 当我们给数组的length 属性设置 ...

  6. Nginx源码完全注释(4)ngx_queue.h / ngx_queue.c

    Nginx源码完全注释(4)ngx_queue.h / ngx_queue.c 作者:柳大·Poechant(钟超) 邮箱:zhongchao.ustc#gmail.com(# -> @) 博客 ...

  7. Nginx源码完全注释(1)ngx_alloc.h / ngx_alloc.c

    Nginx源码完全注释(1)ngx_alloc.h / ngx_alloc.c 作者:柳大·Poechant 时间:2012年7月1日 博客:Blog.CSDN.net/Poechant 首先看 ng ...

  8. Ubuntu 14.04 64bit上curl-7.37源码包中的sample 源码示例研究

    curl是Linux平台上(本人不考虑其他平台)很好用的一个工具软件,它有命令行,有C接口API,更常见的编程用途是php和python版本.如果在C/C++平台上使用curl,可以直接去官网 htt ...

  9. java 克隆对象工具类_关于dorado-core源码包中CloneUtils克隆工具类对对象进行克隆复制操作...

    一.前言 基于dorado.core.jar开源包中的com.bstek.dorado.util.CloneUtils克隆工具类,对对象进行通过java.lang.reflect.Method映射克隆 ...

最新文章

  1. php 哲学家进餐,IPC问题-哲学家就餐(示例代码)
  2. AngularJs--过滤器(filter)
  3. pthread_join
  4. Koa与Node.js开发实战(1)——Koa安装搭建(视频演示)
  5. linux 下设置定时任务
  6. ssl提高组周四备考赛【2018.10.18】
  7. java不同类间调用数组_请问:JAVA中两个类中的方法都需要调用另一个类的数组进行对数组的初始化和调用。...
  8. 4008-基于邻接矩阵的新边的增加(C++,附思路)
  9. c# 批量mqtt_Paho-MQTT C#接入示例
  10. 使用freemarker模板生成html文件(一)
  11. jsp测试mysql_求一段jsp连接mysql的测试程序
  12. 系统辨识matlab程序,系统辨识部分算法matlab程序
  13. 2021年,某云盘最新版不限速下载工具教程,亲测有效!
  14. css 鼠标变成小手
  15. php程序员工作日记,PHP程序员战地日记
  16. 有哲理有关java的_从Java到“浑沌之死”再到人生哲理
  17. mac brew 启动服务时报错“Bootstrap failed: 5: Input/output error”
  18. js等待加载转圈圈效果
  19. 网站信息的采集系列(一)--基本流程
  20. U盘常见病毒或木马解决篇

热门文章

  1. 论文笔记:Template-free Prompt Tuning for Few-shot NER
  2. 软件测试学习资料大全
  3. 洛谷 2678 跳石头
  4. 和python有关的转换音素的网址
  5. 备份恢复Lesson 11. Performing Recovery I
  6. 全国大学生数学建模大赛入门1——赛前准备及注意事项
  7. 将你的现实生活照片变成卡通头像
  8. python 合成gif与拆分gif为png图片
  9. 有了它,将大大丰富VR内容,3D VR摄像机Vuze VR开启预定
  10. 安卓 获取rtsp流 截屏_安卓星雨视频+星火电视盒子版+安卓文件闪传+安卓截屏大师...