Development of an Orchard Inspection Robot: A ROS-Based LiDAR-SLAM System with Hybrid A*-DWA Navigation
Abstract
1. Introduction
2. Materials and Methods
2.1. Robot System
2.2. Kinematic Model of Robot
2.2.1. Transformation of the Robot Coordinate System
2.2.2. Forward Kinematics
2.2.3. Inverse Kinematics
2.3. Path Planning Configuration
- (1)
- Configuration of the Costmap Plugin
- -
- footprint defines the area occupied by the robot on the map;
- -
- obstacle_range specifies the maximum detection range for obstacles, set to 2.5 m;
- -
- raytrace_range denotes the maximum range for spatial detection, set to 3.0 m;
- -
- min_obstacle_height represents the minimum height of obstacles, set to 0.25 m;
- -
- max_obstacle_height denotes the maximum height of obstacles, set to 0.35 m;
- -
- observation_sources declares the required sensor information for the map and is set to scan, which refers to LiDAR point cloud data;
- -
- inflation_radius sets the expansion radius around obstacles.
- -
- global_frame identifies the reference frame for the global costmap. It is set to map, corresponding to the world coordinate system;
- -
- robot_base_frame specifies the robot’s coordinate frame used as a reference for the costmap. It is set to base_link, which refers to the robot’s coordinate system discussed in this paper;
- -
- update_frequency indicates the frequency at which map information is updated and is set to 1 Hz.
- -
- global_frame, robot_base_frame, and update_frequency align with those used in the global planning configuration;
- -
- publish_frequency specifies the frequency at which the map information is visualized, set to 2 Hz;
- -
- width, height, and resolution define the dimensions and resolution of the costmap, set to 10 m, 10 m, and 0.5 m, respectively.
- (2)
- Configuration of the Path Planning Plugin
- (3)
- Launching the Navigation Nodes
2.4. Path Planning Scheme
2.5. Simulation and Experiment of Motion Performance
2.5.1. Simulation for Path Planning Approach
2.5.2. Calibration of Sensors and Navigation Implementation Steps
2.5.3. Navigation Path Test
- (1)
- Stopping Test at a Specific Position
- (2)
- Obstacle avoidance test
3. Results
3.1. Stationary Test at Designated Locations
3.2. Obstacle Avoidance Test
4. Discussion
5. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
References
- Alrowaily, M.A.; Alruwaili, O.; Alghamdi, M.; Alshammeri, M.; Alahmari, M.; Abbas, G. Application of extreme machine learning for smart agricultural robots to reduce manoeuvering adaptability errors. Alex. Eng. J. 2024, 109, 655–668. [Google Scholar] [CrossRef]
- Jin, Y.; Liu, J.; Xu, Z.; Yuan, S.; Li, P.; Wang, J. Development status and trend of agricultural robot technology. Int. J. Agric. Biol. Eng. 2021, 14, 1–19. [Google Scholar] [CrossRef]
- Zhao, J.; Fan, S.; Zhang, B.; Wang, A.; Zhang, L.; Zhu, Q. Research Status and Development Trends of Deep Reinforcement Learning in the Intelligent Transformation of Agricultural Machinery. Agriculture 2025, 15, 1223. [Google Scholar] [CrossRef]
- Priyabrata, K.; Wei, S.T.; Manzur, M.; Pang, S.; Li, Y.; Lin, H. Crop monitoring by multimodal remote sensing: A review. Remote Sens. Appl. Soc. Environ. 2024, 33, 101093. [Google Scholar] [CrossRef]
- Yu, S.; Liu, X.; Tan, Q.; Wang, Z.; Zhang, B. Sensors, systems and algorithms of 3D reconstruction for smart agriculture and precision farming: A review. Comput. Electron. Agric. 2024, 224, 109229. [Google Scholar] [CrossRef]
- Li, Q.; Zhu, H. Performance evaluation of 2D LiDAR SLAM algorithms in simulated orchard environments. Comput. Electron. Agric. 2024, 221, 108994. [Google Scholar] [CrossRef]
- Raikwar, S.; Fehrmann, J.; Herlitzius, T. Navigation and control development for a four-wheel-steered mobile orchard robot using model-based design. Comput. Electron. Agric. 2022, 202, 107410. [Google Scholar] [CrossRef]
- Liu, H.; Zeng, X.; Shen, Y.; Xu, J.; Khan, Z. A Single-Stage Navigation Path Extraction Network for agricultural robots in orchards. Comput. Electron. Agric. 2025, 229, 109687. [Google Scholar] [CrossRef]
- Liu, K.; Yu, J.; Huang, Z.; Liu, L.; Shi, Y. Autonomous navigation system for greenhouse tomato picking robots based on laser SLAM. Alex. Eng. J. 2024, 100, 208–219. [Google Scholar] [CrossRef]
- Chen, Z.; Dou, H.; Gao, Y.; Zhai, C.; Wang, X.; Zou, W. Research on an orchard row centreline multipoint autonomous navigation method based on LiDAR. Artif. Intell. Agric. 2025, 15, 221–231. [Google Scholar] [CrossRef]
- Fasiolo, D.T.; Scalera, L.; Maset, E.; Gasparetto, A. Towards autonomous mapping in agriculture: A review of supportive technologies for ground robotics. Robot. Auton. Syst. 2023, 169, 104514. [Google Scholar] [CrossRef]
- Rakun, J.; Duchoň, F.; Lepej, P. Spatial LiDAR odometry and mapping for complex agricultural environments—Spatial FieldLOAM. Biosyst. Eng. 2024, 248, 15. [Google Scholar] [CrossRef]
- Linus, N.; Clemens, F.; Konrad, B.; Rueckert, E. ROMR: A ROS-based open-source mobile robot. HardwareX 2023, 14, e00426. [Google Scholar] [CrossRef]
- Xu, Z.; Liu, J.; Wang, J.; Cai, L.; Jin, Y.; Zhao, S.; Xie, B. Realtime Picking Point Decision Algorithm of Trellis Grape for High-Speed Robotic Cut-and-Catch Harvesting. Agronomy 2023, 13, 1618. [Google Scholar] [CrossRef]
- Lu, E.; Ma, Z.; Li, Y.; Xu, L.; Tang, Z. Adaptive backstepping control of tracked robot running trajectory based on real-time slip parameter estimation. Int. J. Agric. Biol. Eng. 2020, 13, 178–187. [Google Scholar] [CrossRef]
- Liu, W.; Zhou, J.; Liu, Y.; Zhang, T.; Yan, M.; Chen, J.; Zhou, C.; Hu, J.; Chen, X. An Ultrasonic Ridge-Tracking Method Based on Limiter Sliding Window Filter and Fuzzy Pure Pursuit Control for Ridge Transplanter. Agriculture 2024, 14, 1713. [Google Scholar] [CrossRef]
- Cui, B.; Cui, X.; Wei, X.; Zhu, Y.; Ma, Z.; Zhao, Y.; Liu, Y. Design and Testing of a Tractor Automatic Navigation System Based on Dynamic Path Search and a Fuzzy Stanley Model. Agriculture 2024, 14, 2136. [Google Scholar] [CrossRef]
- Pan, S.; Xie, Z.; Jiang, Y. Sweeping Robot Based on Laser SLAM. Proced. Comput. Sci. 2022, 199, 1205–1212. [Google Scholar] [CrossRef]
- Jin, W.; Li, J.; Lv, X.; Zhang, T. An optimized path planning approach for automatic parking using hybrid A* bidirectional search. Appl. Intell. 2024, 55, 201. [Google Scholar] [CrossRef]
- Vásconez, J.P.; Basoalto, F.; Briceo, I.C.; Pantoja, J.M.; Larenas, R.A.; Rios, J.H.; Castro, F.A. Comparison of path planning methods for robot navigation in simulated agricultural environments. Proced. Comput. Sci. 2023, 220, 898–903. [Google Scholar] [CrossRef]
- Li, P.; Chen, D.; Wang, Y.; Zhang, L.; Zhao, S. Path planning of mobile robot based on improved TD3 algorithm in dynamic environment. Heliyon 2024, 10, e32167. [Google Scholar] [CrossRef] [PubMed]
- Song, B.; Tang, S.; Li, Y. A new path planning strategy integrating improved ACO and DWA algorithms for mobile robots in dynamic environments. Math. Biosci. Eng. 2024, 21, 2189–2211. [Google Scholar] [CrossRef]
- Cao, G.; Zhang, B.; Li, Y.; Wang, Z.; Diao, Z.; Zhu, Q.; Liang, Z. Environmental mapping and path planning for robots in orchard based on traversability analysis, improved LeGO-LOAM and RRT* algorithms. Comput. Electron. Agric. 2025, 230, 109889. [Google Scholar] [CrossRef]
- Zhao, S.; Hwang, S.H. Complete coverage path planning scheme for autonomous navigation ROS-based robots. ICT Express 2024, 10, 83–89. [Google Scholar] [CrossRef]
- Guo, H.; Li, Y.; Wang, H.; Wang, C.; Zhang, J.; Wang, T.; Rong, L.; Wang, H.; Wang, Z.; Huo, Y. Path planning of greenhouse electric crawler tractor based on the improved A* and DWA algorithms. Comput. Electron. Agric. 2024, 227, 109596. [Google Scholar] [CrossRef]
- Yang, H.; Teng, X. Mobile Robot Path Planning Based on Enhanced Dynamic Window Approach and Improved A* Algorithm. J. Robot. 2022, 2022, 2183229. [Google Scholar] [CrossRef]
- Wang, Y.; Fu, C.; Huang, R.; Tong, K.; He, Y.; Xu, L. Path planning for mobile robots in greenhouse orchards based on improved A* and fuzzy DWA algorithms. Comput. Electron. Agric. 2024, 227, 109598. [Google Scholar] [CrossRef]
- Xing, S.; Fan, P.; Ma, X.; Wang, Y. Research on robot path planning by integrating state-based decision-making A* algorithm and inertial dynamic window approach. Intel. Serv. Robot. 2024, 17, 901–914. [Google Scholar] [CrossRef]
- Zhong, X.; Tian, J.; Hu, H.; Peng, X. Hybrid Path Planning Based on Safe A* Algorithm and Adaptive Window Approach for Mobile Robot in Large-Scale Dynamic Environment. J. Intell. Robot. Syst. 2020, 99, 65–77. [Google Scholar] [CrossRef]
- Jiang, S.; Qi, P.; Han, L.; Liu, L.; Li, Y.; Huang, Z.; Liu, Y.; He, X. Navigation system for orchard spraying robot based on 3D LiDAR SLAM with NDT_ICP point cloud registration. Comput. Electron. Agric. 2024, 220, 108870. [Google Scholar] [CrossRef]
- Ye, L.; Wu, F.; Zou, X.; Li, J. Path planning for mobile robots in unstructured orchard environments: An improved kinematically constrained bi-directional RRT approach. Comput. Electron. Agric. 2023, 215, 108453. [Google Scholar] [CrossRef]
- Ha, V.T.; Thuong, T.T.; Thanh, N. Thi. Design of adjustable slider controller in combination with A* algorithm in motion control for mobile robot. Int.J. Technol. 2024, 15, 1487–1501. [Google Scholar] [CrossRef]
- Ouamane, F.Z.; Cherif, F.; Zouai, M. Enhancing robot navigation in crowded environments with DeepReinforcement learning. Arab. J. Sci. Eng. 2025, 16, 1–38. [Google Scholar] [CrossRef]












| Types of Errors | Waypoint 1 | Waypoint 2 | Waypoint 3 | Waypoint 4 | Average Value | Standard Deviation |
|---|---|---|---|---|---|---|
| lateral error/m | 0.097 | 0.241 | 0.273 | 0.040 | 0.163 | 0.112 |
| Longitudinal error/m | 0.253 | 0.310 | 0.526 | 0.040 | 0.282 | 0.200 |
| Orientation Error (°) | 2.1 | 3.5 | 4.2 | 1.8 | 2.9 | 1.140 |
| Expansion Radius Value/m | Fall into Trajectory Confusion | Collision with Obstacles | Closest Distance to Obstacles/m |
|---|---|---|---|
| 1.0 | Yes | No | 1.284 |
| 0.8 | No | No | 0.826 |
| 0.6 | No | No | 0.643 |
| 0.4 | No | No | 0.375 |
| 0.3 | No | Yes | 0 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Qu, J.; Gu, Y.; Qiu, Z.; Guo, K.; Zhu, Q. Development of an Orchard Inspection Robot: A ROS-Based LiDAR-SLAM System with Hybrid A*-DWA Navigation. Sensors 2025, 25, 6662. https://doi.org/10.3390/s25216662
Qu J, Gu Y, Qiu Z, Guo K, Zhu Q. Development of an Orchard Inspection Robot: A ROS-Based LiDAR-SLAM System with Hybrid A*-DWA Navigation. Sensors. 2025; 25(21):6662. https://doi.org/10.3390/s25216662
Chicago/Turabian StyleQu, Jiwei, Yanqiu Gu, Zhinuo Qiu, Kangquan Guo, and Qingzhen Zhu. 2025. "Development of an Orchard Inspection Robot: A ROS-Based LiDAR-SLAM System with Hybrid A*-DWA Navigation" Sensors 25, no. 21: 6662. https://doi.org/10.3390/s25216662
APA StyleQu, J., Gu, Y., Qiu, Z., Guo, K., & Zhu, Q. (2025). Development of an Orchard Inspection Robot: A ROS-Based LiDAR-SLAM System with Hybrid A*-DWA Navigation. Sensors, 25(21), 6662. https://doi.org/10.3390/s25216662

