摘要
基于六轴陀螺仪MPU6050和集成WiFi芯片的Arduino设计,搭建了对Unreal Engine4(虚幻引擎)中3D模型进行角度姿态控制的硬件设备,该设备可嵌入到实际物体与虚拟3D模型进行实时交互。空间角度数据由DMP姿态解算器分析处理,MPU6050与Arduino等用串口通信,将数据打包,通过UDP协议将数据上传至Unreal Engine4(虚幻引擎)独立线程处理。测试结果表明,硬件设备与3D模型可以实现实时角度姿态控制,以低成本的投入提高了用户的体验感与沉浸感。
In the paper,a hardware device is built based on MPU6050and Arduino,which can control the3D model angle attitude of Unreal Engine4,and the hardware device can be embedded into real object and real time interaction with3D model.The spatial angle data is analyzed and processed by the DMP gesture solver.The MPU6050communicates with the Arduino serial port to upload the data to the Unreal Engine4independent thread processing via the UDP protocol.The test results show that the hardware device and the3D model can realize the real time angle attitude control.The interactive way of the hardware greatly enhances the user's sense of experience and immersion with low cost investment.
作者
韩进
许雯雯
Han Jin;Xu Wenwen(College of Computer Science and Engineering,Shandong University of Science and Technology,Qingdao266590,China)
出处
《单片机与嵌入式系统应用》
2017年第12期43-47,共5页
Microcontrollers & Embedded Systems
基金
国家自然科学基金(41572244)
山东省自然科学基金项目(ZR2015DM013)
山东科技大学优秀教学团队支持计划(JXTD20170503)