Published January 31, 2023 | Version v1
Report Open

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

Description

Unmanned aerial vehicles (UAVs), also known as drones, are acquiring increasing autonomy. With their commercial adoption, the problem of testing they're 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.

Files

TR-Precrime-2023-06.pdf

Files (914.6 kB)

Name Size Download all
md5:607dccbfa39af2c81237066c944d2fe6
914.6 kB Preview Download

Additional details

Related works

Is published in
10.1109/ICST57152.2023.00034 (DOI)

Funding

PRECRIME – Self-assessment Oracles for Anticipatory Testing 787703
European Commission