{'fraction_non_alphanumeric': 0.020390070921985817, 'fraction_numerical': 0.0, 'mean_word_length': 5.237569060773481, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Simulation and Test of UAV Tasks With Resource-Constrained Hardware in the Loop

Simulations are indispensable to reduce costs and risks when developing and testing algorithms for unmanned aerial vehicles (UAV) especially for applications in high risk scenarios like search and rescue (SAR) operations and post-disaster damage assessment. Many UAV applications require real-time tasks for which the timeliness of computations is fundamental. However, standard simulation tools are not guaranteed to run in sync with real-time events, leading to unreliable assessments of the ability of the target hardware to perform specific tasks. In this work we present a simulation and test system able to run UAV tasks on resource-constrained target hardware possibly adopted in these applications. The system allows for hardware-in-the-loop simulations in which a virtual UAV provided with virtual sensors is controlled by the software under test (SUT) running on the target hardware, while simulated and real time are kept in sync. We provide experimental results from the execution of several increasingly difficult tasks in the system.