A drone that learns to efficiently find objects in agricultural fields: from simulation to the real world
Rick van Essen, Gert Kootstra
TL;DR
This work tackles efficient data collection in precision agriculture under drone battery constraints by training a reinforcement-learning path planner in an abstract simulation with uncertain priors and a detection network. The RL agent, based on a Deep Q-Network, is deployed onboard a real drone by mapping real observations to a drone-centered state and translating actions to coordinates, aided by a prior-knowledge map generated from a high-altitude survey. Across four realism levels, the agent achieves substantially shorter flight paths than a full-coverage baseline (roughly 72–78% shorter) but at the cost of reduced recall (approximately 14–25% lower), with real-world performance limited by object distribution and prior-knowledge accuracy. The results suggest the approach is practical for applications prioritizing speed over completeness (e.g., weed detection) and highlight avenues for improvement through more robust priors, better detectors, and adaptive altitude strategies.
Abstract
Drones are promising for data collection in precision agriculture, however, they are limited by their battery capacity. Efficient path planners are therefore required. This paper presents a drone path planner trained using Reinforcement Learning (RL) on an abstract simulation that uses object detections and uncertain prior knowledge. The RL agent controls the flight direction and can terminate the flight. By using the agent in combination with the drone's flight controller and a detection network to process camera images, it is possible to evaluate the performance of the agent on real-world data. In simulation, the agent yielded on average a 78% shorter flight path compared to a full coverage planner, at the cost of a 14% lower recall. On real-world data, the agent showed a 72% shorter flight path compared to a full coverage planner, however, at the cost of a 25% lower recall. The lower performance on real-world data was attributed to the real-world object distribution and the lower accuracy of prior knowledge, and shows potential for improvement. Overall, we concluded that for applications where it is not crucial to find all objects, such as weed detection, the learned-based path planner is suitable and efficient.
