An exploratory study of autopilot software bugs in unmanned aerial vehicles
Dinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu, Yulei Sui
Abstract
Unmanned aerial vehicles (UAVs) are becoming increasingly important and widely used in modern society. Software bugs in these systems can cause severe issues, such as system crashes, hangs, and undefined behaviors. Some bugs can also be exploited by hackers to launch security attacks, resulting in catastrophic consequences. Therefore, techniques that can help detect and fix software bugs in UAVs are highly desirable. However, although there are many existing studies on bugs in various types of software, the characteristics of UAV software bugs have never been systematically studied. This impedes the development of tools for assuring the dependability of UAVs. To bridge this gap, we conducted the first large-scale empirical study on two well-known open-source autopilot software platforms for UAVs, namely PX4 and Ardupilot, to characterize bugs in UAVs. Through analyzing 569 bugs from these two projects, we observed eight types of UAV-specific bugs (i.e., limit, math, inconsistency, priority, parameter, hardware support, correction, and initialization) and learned their root causes. Based on the bug taxonomy, we summarized common bug patterns and repairing strategies. We further identified five challenges associated with detecting and fixing such UAV-specific bugs. Our study can help researchers and practitioners to better understand the threats to the dependability of UAV systems and facilitate the future development of UAV bug diagnosis tools.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext a5278bb0-e155-4179-965f-dc85981ae85dCited by top-tier papers8
- How Does Simulation-Based Testing for Self-Driving Cars Match Human Perception?Christian Birchler, Tanzil Kombarabettu Mohammed, Pooja Rani, Teodora Nechita et al.FSE 2024 · 21 citations
- Compatibility Issues in Deep Learning Systems: Problems and OpportunitiesJun Wang, Guanping Xiao, Shuai Zhang, Huashan Lei et al.FSE 2023 · 13 citations
- State Reconciliation Defects in Infrastructure as CodeMd. Mahadi Hassan, John Salvador, Shubhra Kanti Karmaker Santu, Akond RahmanFSE 2024 · 8 citations
- An Exploratory Investigation of Log Anomalies in Unmanned Aerial VehiclesDinghua Wang, Shuqing Li, Guanping Xiao, Yepang Liu et al.ICSE 2024 · 5 citations
- Applying and Extending the Delta Debugging Algorithm for Elevator Dispatching Algorithms (Experience Paper)Pablo Valle, Aitor Arrieta, Maite ArratibelISSTA 2023 · 3 citations
Builds on1
Related papers
- PatchVerif: Discovering Faulty Patches in Robotic VehiclesHyungsub Kim, Muslum Ozgur Ozmen, Z. Berkay Celik, Antonio Bianchi et al.USENIX Security 2023
- SA4U: Practical Static Analysis for Unit Type Error DetectionMax Taylor, Johnathon Aurand, Feng Qin, Xiaorui Wang et al.ASE 2022 · 5 citations
- From Control Model to Program: Investigating Robotic Aerial Vehicle Accidents with MAYDAYTaegyu Kim, Chung Hwan Kim, Altay Ozen, Fan Fei et al.USENIX Security 2020
- Understanding Bounding Functions in Safety-Critical UAV SoftwareXiaozhou Liang, John Henry Burns, Joseph Sanchez, Karthik Dantu et al.ICSE 2021 · 6 citations
- A Comprehensive Study of Bug-Fix Patterns in Autonomous Driving SystemsYuntianyi Chen, Yuqi Huai, Yirui He, Shilong Li et al.FSE 2025 · 1 citation
