Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

FastDyn · Firmware meets physics

Real firmware.
Your vehicle model.

Connect embedded firmware to a Modelica plant. Change the physics, tune the controller, and follow the results from sensor to trajectory.

FastDyn runs embedded firmware in a configurable QEMU environment. A TOML file describes the CPU, memory map, firmware, peripherals, instrumentation, and any external physics model. You can inspect firmware behavior, supply virtual devices, connect selected hardware, and automate repeatable experiments.

Follow the signals

flowchart LR
    config["TOML<br/>Configuration"] --> firmware["Firmware<br/>in QEMU"]
    firmware <-->|"Device access"| drivers["FastDyn<br/>Drivers"]
    drivers <-->|"PWM · Sensors"| plant["Modelica<br/>Physics model"]
    firmware <-->|"MAVLink"| tools["Mission commands<br/>Logs and plots"]

The Rumoca examples preserve the firmware’s sensor and actuator driver path. Fidelity comes from the emulated firmware, peripheral behavior, timing, and plant working together. A detailed firmware simulation still needs a suitable, validated physical model; an idealized plant does not reproduce every effect of a real airframe.

To preview this book, run mdbook serve docs --open from your chosen development environment and open http://localhost:3000. For a lightweight docs-only setup, see preview and publish the book.