SkySim: From a Browser Prototype to a Firmware-in-the-Loop Multirotor Simulator with Blade-Element Aerodynamics
Most simulators used to test multirotor autonomy require Linux and ROS, a game engine, or an NVIDIA GPU. SkySim is an open-source multirotor simulator whose physics core is a single dependency-free C++20 library, compiled unchanged into a Godot 4 desktop extension, a Python shared library and a WebAssembly module that runs in a browser with nothing to install. This paper traces the project from a kinematic browser prototype (November 2025) to its current form, in which each step was forced by a concrete failure of the step before. The core combines blade-element rotor aerodynamics with momentum inflow, ground effect, vortex ring state, turbulence and a voltage-coupled battery. Stock ArduPilot and PX4 fly the simulated vehicle through lockstep bridges. With one physically motivated pitch offset, static thrust matches UIUC wind-tunnel data for an APC 10×4.7 propeller to −0.5% on average. Closed-loop firmware testing exposed an inflow sign error that unit tests had missed. On one 2.1 GHz vCPU the core runs about 550× real time natively and 670× as WebAssembly, with cross-build agreement to 1e-14 m. Position-hold policies trained from scratch in 18 minutes on two CPU cores, with no GPU, outperform a hand-tuned PID baseline. This work has been submitted to the IEEE for possible publication. Copyright may be transferred without notice, after which this version may no longer be accessible.
Authors
- Vishwa GW (ORCID: https://orcid.org/0009-0003-5050-4063)
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-27
- DOI
- https://doi.org/10.5281/zenodo.24575470
- Primary Topic
- Aerospace Engineering and Control Systems
- Type
- preprint