Agri-Sim: Agricultural Simulation Platform for Embodied Intelligence Evaluation in Greenhouse Robotics
Organizations: School of Mechatronic Engineering and Automation, Shanghai University, Shanghai 200444, China · Sino-European School of Technology of Shanghai University, Shanghai University, Shanghai 200444, China · School of Future Technology (Institute of Artificial Intelligence), Shanghai University, Shanghai 200444, China
Abstract
Agricultural-robot development requires simulation environments that can jointly support realistic scene construction, virtual sensing, autonomous navigation, motion planning, and manipulation-task execution. This paper presents Agri-Sim, a Unity and ROS2-based simulation platform for the closed-loop development and functional evaluation of agricultural robots. The platform contains a configurable tomato-greenhouse environment, a mobile dual-arm harvesting robot, virtual RGB-D, LiDAR, IMU, and joint sensors, and a bidirectional communication interface between Unity and ROS2. Unity is responsible for scene rendering, rigid-body dynamics, collision detection, virtual sensing, and task-state execution, whereas ROS2 and MoveIt 2 provide localization, navigation, collision-aware motion planning, inverse kinematics, and trajectory generation. Autonomous greenhouse navigation and dual-arm tomato harvesting were used to evaluate the complete simulation workflow. The experiments covered virtual sensor publication, ROS2-based navigation, collision-aware motion planning, mobile-base control, tomato acquisition, inter-arm handover, and box placement. The results demonstrate that Agri-Sim supports closed-loop integration and repeatable functional evaluation of navigation and manipulation workflows in a controlled virtual greenhouse, providing a practical foundation for subsequent algorithm development and Sim-to-Real studies.
Figures & tables
| System or study | Primary platform | Agricultural scene | Multimodal sensing | Ground navigation | Manipulation | ROS integration | Unified closed loop |
| Iqbal et al. [ 12 ] | Robot simulator | Yes | Partial | Yes | – | Partial | – |
| Ivanovic et al. [ 13 ] | Gazebo–Blender | Yes | Yes | – | – | Yes | Partial |
| Agri-fly [ 30 ] | Custom UAV simulator | Yes | Yes | – | – | Partial | Partial |
| Gazebo Plants [ 6 ] | Gazebo | Yes | – | – | Yes | Yes | Partial |
| Li and Xiang [ 16 ] | Unreal Engine–ROS | Yes | Partial | Partial | – | Yes | Partial |
| DigiHortiRobot [ 8 ] | Digital-twin framework | Yes | Yes | Partial | Yes | Yes | Partial |
| Data | Direction | ROS2 message type |
| RGB/depth images | Unity ROS2 | sensor_msgs/msg/ Image |
| Camera parameters | Unity ROS2 | sensor_msgs/msg/ CameraInfo |
| Point cloud | Unity ROS2 | sensor_msgs/msg/ PointCloud2 |
| IMU data | Unity ROS2 | sensor_msgs/msg/ Imu |
| Joint states | Unity ROS2 | sensor_msgs/msg/ JointState |
| Coordinate transforms | Unity ROS2 | tf2_msgs/msg/ TFMessage |
| Item | Configuration |
| Unity operating system | Windows 11 Pro |
| Unity CPU | Intel Core i7-14700KF |
| Unity GPU | NVIDIA RTX 5090 GPU |
| ROS operating system | Ubuntu 22.04 |
| ROS distribution | ROS2 Humble |
| ROS GPU | NVIDIA RTX 3080 Ti |
| Navigation outcome | Trials | Rate | 95% CI |
| Success | 45 | 90% | 78.6–95.7% |
| Failure | 5 | 10% | — |
| Total | 50 | 100% | — |
| Outcome | Trials | Rate |
| Complete harvesting sequence successful | 43 | 86% |
| Initial grasp failure | 2 | 4% |
| Inter-arm handover failure | 2 | 4% |
| Box-placement failure | 1 | 2% |
| Motion-planning failure | 2 | 4% |
| Total | 50 | 100% |