cs.ROOct 29, 2026

Veloxity: Towards Memory-Safe UAV Embedded Firmware using the Rust Programming Language

Authors: Derek Ward, Brian Bascom, Tyler Larsen, James Usevitch, Phil Tokumaru, Tim McLain

Organizations: Electrical and Computer Engineering Department, Brigham Young University, Provo, UT, USA · AeroVironment Inc., Moorpark, CA, USA

Abstract

Recent years have witnessed increased momentum towards memory-safe programming languages for safety-critical systems. Memory-safe languages can eliminate entire classes of common software errors that have historically required extensive analysis and expenditure to avoid. Nevertheless, memory-safe language adoption in aerospace remains fragmented and incomplete, particularly for unmanned aerial vehicles (UAVs). Recent Rust UAV projects either run only in simulation, are closed source, or have not been integrated with an established autonomy ecosystem and tested against existing C/C++ firmware. To address this gap, we present Veloxity: an open-source embedded UAV autopilot written in the memory-safe Rust programming language. Veloxity lowers the barrier to using memory-safe languages within modern ecosystems by providing a minimal, modular foundation for autonomous UAVs. We compare Veloxity to equivalent autopilots written in C++ in simulation, with hardware testbenches, and via outdoor waypoint-following flight tests, demonstrating functional parity with improved performance. These results indicate that modern memory-safe languages are a viable option for reliable and performant firmware for autonomous aerospace systems.

Figures & tables

Explore similar work

CardsList
  1. Cybflight: An Embedded Rust Autopilot for Aerial Robotics Research

    Sep 25, 2026Yifan Lin, Chao Qin, H S Helson Go +1Aerial Robotics

  2. Hybrid F' and ROS2 Architecture for Vision-Based Autonomous Flight: Design and Experimental Validation

    Feb 17, 2026Abdelrahman Metwally, Monijesu James, Aleksey Fedoseev +3RoboticsUAV Navigation

  3. RT-SHCUA: Real-Time Self-Hosted Computer-Use Agent for UAV Control

    Jul 20, 2026Di Lu, Bo Zhang, Xiyuan Li +5Aerial RoboticsSafety-Critical Control