Skip to content

Software

vexide

By vexide, from github.com/vexide/vexide (opens in a new tab)

  • Microcontrollers and firmware tools
  • Framework
  • MIT

A Rust runtime and set of APIs for programming VEX robots, with an async executor and device control. It is meant for writing robot programs in Rust instead of other languages.

Facts

GitHub stars
94read on 29 Nov 2026
Last update
23 Nov 2026Newest commit on main
Maintenance
Activea commit in the last 90 days
Difficulty
Intermediate
Hardware it needs, as the project states it
Building needs Rust's nightly channel with the rust-src component; running programs requires a VEX V5 Brain, and uploading needs cargo-v5 over a wired or wireless connection.

Checked on GitHub on 29 Nov 2026.

Licenses

Code
MIT (opens in a new tab)

Read by Robotheca from LICENSE (opens in a new tab) (MIT) at commit 8db37bb (opens in a new tab), on 29 Nov 2026.

Commercial use
Yes

At a glance

What it is
  • Provides safe APIs for VEX peripherals such as motors and sensors.
  • Includes an async executor and runtime with common futures and synchronization primitives.
  • Offers low-level system APIs for competition control, OS facilities, and backtrace collection.
  • Supplies a #[vexide::main] attribute and bare-metal startup code for booting a program on a V5 brain.
  • Can be built with cargo and cargo-v5, which converts programs and uploads them to the robot over a wired or wireless connection.
  • Can compile to host targets using a mocked SDK so changes can be tested without a Brain.

Robotheca's summary of the project's documents, not the creator's words.

Robots on Robotheca
No robot on Robotheca uses it yet.
Licence
MIT. Commercial use: Yes. Where it was read
Install
In the creator's words: The project's website (opens in a new tab)
Maintenance
Active, last commit on 23 Nov 2026.

Use it

How to install it, in the creator's words: The project's website (opens in a new tab)

Robotheca doesn't review code. Read it before running it.

Files and versions

Facts read at commit 8db37bb

Robotheca read the repository at two versions: the summary at 0285dfc and the facts and the README at 8db37bb (read on 29 Nov 2026).

Robotheca never hosts the code: each link goes to the creator's own page.

The README

The creator's own README, copied as written: README.md by vexide, at commit 8db37bb, under MIT (opens in a new tab). The original on GitHub (opens in a new tab).

Read the README here

Open-source Rust runtime for VEX V5 robots. vexide provides a safe and efficient set of APIs and tools for programming VEX robots in Rust!

use vexide::prelude::*;

#[vexide::main]
async fn main(peripherals: Peripherals) {
    // Create a green motor on port 1.
    let mut my_motor = Motor::new(peripherals.port_1, Gearset::Green, Direction::Forward);

    // Spin the motor at 10 volts!
    _ = my_motor.set_voltage(10.0);
}
What is vexide?

vexide is an independent, community-maintained library for programming VEX robots. It's an alternative to VEXcode (opens in a new tab) and PROS (opens in a new tab) for students who want to write their VEX V5 robot code in Rust instead of C or C++.

Since vexide handles low-level features like task scheduling, memory allocation, and competition state, you can focus on writing competitive, performant, and reliable code!

Features
  • Reliability: Rust catches whole classes of bugs at compile time, and vexide's APIs are designed around explicit error handling. Safe Rust code should never be able to cause a memory error on the Brain; if it does, that's a bug in vexide.
  • Async multitasking: Instead of an RTOS, vexide uses Rust's async/await. Spawning async tasks is cheap and there are no data races between them.
  • Fast program uploads: Differential uploads only transmit the parts of your program that have changed, so wireless uploads are nearly instant even for large projects.
  • Standard Rust tooling: A vexide project is a normal Cargo project. You can use the standard library, add crates from crates.io (opens in a new tab), organize code into modules and workspaces, and use standard IDE tooling.
  • Testing without a robot: vexide programs can be compiled and run on your computer against a mocked SDK, and you can unit test your robot logic with cargo test.
  • Useful crash reports: If a program panics or the CPU faults, vexide shows detailed info about the error, a backtrace, and register state at the time of the crash.
  • Fully open source: vexide is free and open source under the permissive MIT license with no proprietary code by default. It's maintained by current and former competitors around the world, and we've documented how it works (opens in a new tab).

vexide isn't aimed at people who are new to programming. If you haven't used Rust before, we recommend working through at least the first half of the Rust Book (opens in a new tab) first.

Getting Started

To start using vexide, we recommend going through our documentation (opens in a new tab), which includes step-by-step instructions for setting up a development environment and guides for some of vexide's commonly-used features.

Other resources:

Help

If you have questions, come ask in our Discord server (opens in a new tab)!

License

vexide is distributed under the terms of the MIT license (LICENSE (opens in a new tab) or http://opensource.org/licenses/MIT (opens in a new tab)).

Contributing

For guidelines for contributors, please see CONTRIBUTING.md (opens in a new tab).

Robotheca lists software as a reference: nothing is hosted or run here, and every fact links to where it was read.