湖北农业科学 ›› 2025, Vol. 64 ›› Issue (10): 226-232.doi: 10.14088/j.cnki.issn0439-8114.2025.10.035

• 信息工程 • 上一篇    下一篇

基于ROS3DJS的农业机器人竞赛仿真可视化技术研究

吕轩豪1, 迪力夏提·多力昆1,2,3, 孟小艳1,2,3, 赵新苗1,2,3, 徐金1,2,3   

  1. 1.新疆农业大学计算机与信息工程学院,乌鲁木齐 830052;
    2.智能农业教育部工程研究中心,乌鲁木齐 830052;
    3.新疆农业信息化工程技术研究中心,乌鲁木齐 830052
  • 收稿日期:2025-04-16 出版日期:2025-10-25 发布日期:2025-11-14
  • 通讯作者: 迪力夏提·多力昆(1993-),男(维吾尔族),新疆莎车县人,讲师,硕士,主要从事计算机软件及计算机应用研究,(电话)15199099067(电子信箱)dlxt.dlk@xjau.edu.cn。
  • 作者简介:吕轩豪(2005-),男,浙江温州人,在读本科生,专业方向为计算机软件及计算机应用,(电话)13025006626(电子信箱)1585864898@qq.com。
  • 基金资助:
    科技部专项资金项目(2022ZD0115805); 新疆维吾尔自治区重大科技专项(2022A02013-4-5); 新疆维吾尔自治区重大科技专项(子课题)(2022A02011-4; 2022A02011-4-1); 2024年度新疆农业大学大学生创新训练计划项目(dxscx2024357)

Research on simulation and visualization technology for agricultural robot competition based on ROS3DJS

LYU Xuan-hao1, Dilixiati Duolikun1,2,3, MENG Xiao-yan1,2,3, ZHAO Xin-miao1,2,3, XU Jin1,2,3   

  1. 1. College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi 830052, China;
    2. Engineering Research Center of Intelligent Agriculture, Ministry of Education, Urumqi 830052, China;
    3. Xinjiang Engineering Research Center for Agricultural Informatization, Urumqi 830052, China
  • Received:2025-04-16 Published:2025-10-25 Online:2025-11-14

摘要: 农业机器人竞赛作为智能农机技术验证的重要场景,普遍面临硬件开发门槛高、多模块协同效率低的技术瓶颈。现有的仿真平台虽支持高精度物理仿真,但其跨平台兼容性差,且依赖于本地部署,难以实现低延迟的远程协同。针对该问题,提出了一种基于ROS3DJS框架的轻量化仿真可视化方法,构建浏览器/服务器(B/S)架构的仿真系统,实现机器人本体运动状态、传感器数据流与竞赛场景的三维动态映射。该系统通过WebSocket协议实时捕获ROS环境中的导航定位、环境感知等多源话题数据,完成机器人位姿、作业轨迹及场景要素的同步渲染与交互控制。验证试验表明,该平台可在网页端实现机器人运动状态的低延迟可视化监控与远程指令传输,有效降低对物理硬件的依赖度,解决传统本地平台中远程多机互动困难的问题,为农业机器人竞赛提供可扩展的虚拟化技术验证方案。

关键词: ROS3DJS, 农业机器人, 竞赛仿真, WebSocket, 可视化技术

Abstract: Agricultural robot competitions, serving as important scenarios for validating intelligent agricultural machinery technologies, generally faced technical bottlenecks such as high hardware development thresholds and low multi-module collaboration efficiency. Although existing simulation platforms supported high-precision physical simulation, their poor cross-platform compatibility and reliance on local deployment made low-latency remote collaboration difficult to achieve. To address this issue, a lightweight simulation and visualization method based on the ros3djs framework was proposed, which constructed a browser/server(B/S) architecture simulation system and achieved three-dimensional dynamic mapping of the robot's motion state, sensor data streams, and the competition scene. This system utilized the WebSocket protocol to capture multi-source topic data, such as navigation positioning and environmental perception, from the ROS environment in real-time, and accomplished synchronous rendering and interactive control of the robot's pose, operation trajectory, and scene elements. Validation experiments showed that this platform achieved low-latency visual monitoring and remote command transmission of the robot's motion state on the web client, effectively reduced reliance on physical hardware, solved the problem of difficult remote multi-robot interaction in traditional local platforms, and provided an extensible virtualization technology verification solution for agricultural robot competitions.

Key words: ROS3DJS, agricultural robot, competition simulation, WebSocket, visualization technology

中图分类号: