Simulation-based Test Case Generation for Unmanned Aerial Vehicles in the Neighborhood of Real Flights

被引:29
作者
Khatiri, Sajad [1 ]
Panichella, Sebastiano [2 ]
Tonella, Paolo [1 ]
机构
[1] Univ Svizzera italiana, Lugano, Switzerland
[2] Zurich Univ Appl Sci, Winterthur, Switzerland
来源
2023 IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION, ICST | 2023年
基金
欧盟地平线“2020”;
关键词
Autonomous Systems; Software Testing; Unmanned Aerial Vehicles; FAILURES;
D O I
10.1109/ICST57152.2023.00034
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Unmanned aerial vehicles (UAVs), also known as drones, are acquiring increasing autonomy. With their commercial adoption, the problem of testing their functional and non-functional, and in particular their safety requirements has become a critical concern. Simulation-based testing represents a fundamental practice, but the testing scenarios considered in software-in-the-loop testing may not be representative of the actual scenarios experienced in the field. In this paper, we propose SURREALIST (teSting UAVs in the neighboRhood of REAl flIghtS), a novel search-based approach that analyses the logs from real UAV flights and automatically generates simulation-based test cases in the neighborhood of such real flights, thereby improving the realism and representativeness of the simulation-based tests. This is done in two steps: first, SURREALIST faithfully replicates the given UAV flight in the simulation environment, generating a simulation-based test that mirrors a pre-logged real-world behavior. Then, it smoothly manipulates the replicated flight conditions to discover slightly modified test cases that are challenging or trigger misbehaviors of the UAV under test in simulation. In our experiments, we were able to replicate a real flight accurately in the simulation environment and to expose unstable and potentially unsafe behavior in the neighborhood of a replicated flight, which even led to crashes.
引用
收藏
页码:281 / 292
页数:12
相关论文
共 72 条
[1]  
Afzal A., 2021, Automated testing of robotic and cyberphysical systems
[2]   Simulation for Robotics Test Automation: Developer Perspectives [J].
Afzal, Afsoon ;
Katz, Deborah S. ;
Le Goues, Claire ;
Timperley, Christopher S. .
2021 14TH IEEE CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST 2021), 2021, :263-274
[3]   A Study on Challenges of Testing Robotic Systems [J].
Afzal, Afsoon ;
Le Goues, Claire ;
Hilton, Michael ;
Timperley, Christopher Steven .
2020 IEEE 13TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VALIDATION AND VERIFICATION (ICST 2020), 2020, :96-107
[4]   Enabling Unit Testing of Already-Integrated AI Software Systems: The Case of Apollo for Autonomous Driving [J].
Alcon, Miguel ;
Tabani, Hamid ;
Abella, Jaume ;
Cazorla, Francisco J. .
2021 24TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD 2021), 2021, :426-433
[5]  
Ardupilot.org, 2007, ARD VERS TRUST OP
[6]  
Artzi S, 2008, LECT NOTES COMPUT SC, V5142, P542, DOI 10.1007/978-3-540-70592-5_23
[7]   Sensors and Measurements for UAV Safety: An Overview [J].
Balestrieri, Eulalia ;
Daponte, Pasquale ;
De Vito, Luca ;
Picariello, Francesco ;
Tudosa, Ioan .
SENSORS, 2021, 21 (24)
[8]   Testing Vision-Based Control Systems Using Learnable Evolutionary Algorithms [J].
Ben Abdessalem, Raja ;
Nejati, Shiva ;
Briand, Lionel C. ;
Stifter, Thomas .
PROCEEDINGS 2018 IEEE/ACM 40TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2018, :1016-1026
[9]  
Berndt DonaldJ., 1994, KDD WORKSHOP, P359
[10]  
Birchler C., 2022, ACM Trans. Softw. Eng. Methodol. (TOSEM)