arXiv:2608.29100cs.ROAug 2026

Manuscript Offprint

arXiv:2608.29100

Agri-Sim: Agricultural Simulation Platform for Embodied Intelligence Evaluation in Greenhouse Robotics

Shuhan Shi, Zhenfeng Xue, Minghao Mei, Chao Zheng, Nan Li, Zhonghua Miao

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.

Keywords: Agricultural robot, virtual simulation platform, ROS2, Unity, virtual sensors, mobile manipulation

1. Introduction

Agricultural robots have been increasingly investigated for environmental monitoring, autonomous navigation, crop inspection, spraying, phenotyping, and selective harvesting in response to labor shortages and the growing demand for efficient agricultural production [1, 2, 3]. Among these applications, robotic harvesting remains particularly challenging because a robot must navigate through confined crop rows, perceive partially occluded crops, estimate target poses, and execute manipulation motions without damaging plants or greenhouse facilities. Crop deformability, irregular geometry, and biological variability further increase the difficulty of these tasks [4, 2]. Consequently, greenhouse automation requires the coordinated operation of perception, localization, navigation, manipulation, and control [3, 5].

Direct experiments with physical agricultural robots are costly, time-consuming, and difficult to repeat because illumination, crop growth, fruit arrangement, and obstacle distribution vary over time. Simulation allows robot, sensor, and environmental configurations to be controlled before physical deployment. General-purpose simulators, including Gazebo, Webots, and CoppeliaSim, have been widely used for robot modeling, sensing, navigation, and manipulation [6, 7, 8]. However, simulators differ considerably in rendering, physical dynamics, sensor modeling, software interfaces, and scalability [9]. Agricultural applications additionally require dense vegetation, crop occlusion, illumination variation, and interactions among mobile platforms, manipulators, plants, and greenhouse structures. Modern game engines provide flexible tools for constructing detailed and programmable virtual environments. Unity supports physically based rendering, configurable illumination, interactive scene construction, and interfaces for intelligent-agent development [10]. However, it does not independently provide the complete localization, navigation, motion-planning, and control capabilities required by an integrated robotic system. ROS provides a modular framework for robot perception, planning, and control [11], while MoveIt supports robot-state management, inverse kinematics, collision checking, motion planning, and trajectory execution [12]. Combining Unity with ROS therefore enables visually detailed agricultural simulation to interact with established robotic software.

Unity–ROS2 communication has been investigated in previous robotic simulation studies [13], while agricultural robotics research has separately addressed greenhouse navigation, croprow navigation, mobile-robot simulation, and harvesting manipulation [14, 15, 16, 17]. Nevertheless, many existing systems focus on an individual task or subsystem. A unified platform in which a mobile base and harvesting manipulators share the same greenhouse environment, multimodal sensor observations, coordinate frames, robot-state feedback, and control in-

∗^{*}Corresponding authors.

Email addresses: zfxue0903@shu.edu.cn (Zhenfeng Xue), zhhmiao@shu.edu.cn (Zhonghua Miao)

Figure

High deployment cost

Risk of hardware damage

Limited repeatability

Figure

Figure

Simplified agricultural scenes

Limited sensor fidelity

Incomplete system integration

Configurable greenhouse simulation

Multimodal virtual sensors

ROS 2–Unity closed-loop integration

Figure 1: Motivation for Agri-Sim. The platform bridges the gap between costly and difficult-to-repeat real-world development and conventional simulation with limited agricultural-scene, sensor, and system fidelity.

interfaces remains necessary for system-level development and evaluation. As illustrated in Fig. 1, such a platform should combine the safety and repeatability of simulation with the scene, sensor, and communication fidelity required by agricultural robot tasks.

To address these requirements, this paper presents Agri-Sim, a configurable ROS2–Unity simulation platform for integrated agricultural robot development and evaluation. The platform combines a virtual tomato greenhouse, a mobile dual-arm harvesting robot, and configurable RGB-D, LiDAR, IMU, and joint-state sensors. Weather, illumination, scene arrangement, sensor configuration, and simulation time are adjustable.

Agri-Sim establishes bidirectional communication between Unity and ROS2 for multimodal sensor observations, robot states, target poses, mobile-base commands, gripper commands, and manipulator trajectories. Unity performs environment rendering, physics simulation, virtual-sensor generation, and robot-motion execution, whereas ROS2 and MoveIt 2 provide coordinate transformation, navigation, collision checking, motion planning, and task-level control. Autonomous greenhouse navigation and a complete dual-arm tomato-harvesting workflow verify integrated communication, planning, and execution rather than introduce new algorithms.

The main contributions of this work are summarized as follows:

• We develop Agri-Sim, a configurable ROS2–Unity platform that integrates a tomato-greenhouse environment, a mobile dual-arm robot, and multimodal virtual sensors.

• We provide adjustable environmental, sensor, scene, and simulation-time parameters for controlled and repeatable agricultural robot experiments.

• We establish bidirectional ROS2–Unity communication for sensor data, robot-state feedback, target poses, base and gripper commands, and time-parameterized manipulator trajectories.

• We validate the complete closed-loop workflow through autonomous greenhouse navigation and a dual-arm harvesting task comprising acquisition, inter-arm handover, and box placement.

References (29)