vexide
Open-source Rust runtime for VEX V5 robots.
vexide is a community-maintained no_std
Rust runtime for VEX V5 robots. It allows you to write and run Rust code for the V5 Brain and control V5 devices like motors and sensors. You can think of it as an alternative to PROS or VEXcode, but for the Rust programming language (rather than C or C++).
vexide handles low-level operations like task scheduling, memory allocation, competition state, etc… allowing user code written on top of it to run seamlessly and fast. It heavily leans into Rust's async features for multitasking, providing its own lightweight cooperative scheduler for asynchonous operations.
Features
Open source; no proprietary dependencies.
Cross-platform
Memory Safety
Minimal Runtime Overhead
Hardware-optimized VFPv3 Math Operations
Error handling features for devices.
Supports compiling to WASM and running locally in a WASM simulator or QEMU emulator.
Graphics drivers for Slint and embedded-graphics.
Works with the
cargo
/crates.io package management/dependency ecosystem.Dedicated
cargo-v5
CLI tool for uploading.
vexide is available as a library on crates.io and can be added to an existing Rust project, but the recommended way to create a project is through vexide-template.
Teams Contributed to this Article:
Last updated
Was this helpful?