Design and Implementation of UAV Simulation System Based on ROS-Unity3D
(School of Computer Science (School of Artificial Intelligence), South-Central Minzu University, Wuhan 430074, China)
Abstract
To address challenges in UAV research and development, including lengthy development cycles, high testing costs, poor fidelity in physical testing, and difficulties in replicating high-risk scenarios, this paper proposes a UAV simulation system based on ROS-Unity3D. The system employs Robot Operating System (ROS) as the core control platform, responsible for handling the UAV's perception, control, and decision-making behaviors. Unity3D serves as the external environment platform, simulating diverse environmental scenarios while receiving real-time control commands from ROS. Leveraging its robust 3D rendering capabilities, physics engine, and UI components, it achieves high-fidelity simulation of the UAV's flight state, environmental interaction capabilities, and decision-making behaviors, enabling real-time presentation of the UAV's dynamic actions and decision responses within the 3D scene. The system receives internal and external messages from Unity3D via ROS, performs UAV decision-making, and issues control commands. Unity3D receives these commands and converts them in real-time into model parameter adjustments, thereby achieving UAV simulation. Under ideal conditions, this system can meet the development requirements for unmanned aerial vehicles, enabling real-time data transmission, synchronized detection, and prompt response.
Keywords
ROS; Unity3D; drone simulation
References
- [1] Cui Jiapeng, Xu Hongyang, Gong Yanfeng The research status of low altitude remote sensing technology in the field of agriculture [J]. Agricultural Machinery Use and Maintenance, 2024 (12): 38-45
- [2] Ma Jianye, Xu Zhihuo, Wang Yuexia Simulation of Express Delivery System Based on Four Axis Drones [J]. Telecommunications Technology, 2024, 64 (8): 1257-1265
- [3] Zheng Xuezhao, Li Tengfei, Wu Peili, etc Research on Fire Fighting Drones Carrying Fire Extinguishing Bullets System for High rise Buildings [J]. Fire Science and Technology, 2021, 40 (9): 1377-1381
- [4] Shi Baiyu, Gao Cen Simulation model of multi rotor unmanned aerial vehicle based on Unity physics engine [J]. Computer System Application, 2022, 31 (9): 409-415
- [5] Xue Zhiling, Meng Lingjun, Wang Jiajun, etc Design of Target Search System Based on ROS [J]. Computer and Digital Engineering, 2023, 51 (8): 1714-17191755
- [6] Yan Jie, Wang Yanzhen, Lin Bin, etc Design of Swarm Robot Simulation System Based on Gazebo and Docker [J]. Modular Machine Tool and Automation Processing Technology, 2021 (11): 105-108113
- [7] Liu Chenlu, Qiao Lei, Peng Fei, etc Design and Implementation of Inter Process Communication Based on Publishing Subscription [J]. Space Control Technology and Applications, 2020, 46 (3): 49-54
- [8] Li Bingjian, Border Software Definition Improvement for ROS Service Communication Mechanism [J]. Computer Technology and Development, 2022, 32 (8): 89-95
- [9] Tu Qiu, Zhao Lei, Wang Feng, etc Research on Improving Image Transmission Efficiency of Robot Operating System (ROS) Multi machine Communication in Embedded Systems [J]. Journal of Shangrao Normal University, 2023, 43 (6): 20-27
- [10] Lu Jingjing, Qin Yunchuan, Liu Zhizhong, etc A Review of ROS Security Research in Robot Operating Systems [J]. Journal of Software, 2024, 35 (2): 1010-1027
- [11] Song Zhiqiang, Zou Jiajia Design and Implementation of ROS based Autonomous Vehicle Control System [J]. Information Technology, 2024 (10): 37-43
- [12] Gong Yunfei Game Design and Implementation Based on Unity3D [J]. Modern Information Technology, 2025, 9 (8): 89-92
About the authors
Wang Yanzhao (2001-), female, Tujia ethnic group, native of Xiangxi, Hunan, master's degree, research direction: development of Unity ROS collaborative simulation environment for robot systems; Hai Chao (2000-), male, Hui ethnic, from Weinan, Shaanxi, currently pursuing a master's degree, research direction: simulation of large-scale intelligent computing network clusters; Zhuge Zhen (2001-), male, Han ethnicity, from Jinhua, Zhejiang Province, is currently pursuing a master's degree. His research direction is large-scale intelligent computing network intelligent scheduling.