Expand description
§vexide
Open-source Rust runtime for VEX V5 robots. vexide provides a runtime, async executor, hardware APIs, and more for the VEX V5 Brain!
§Getting Started
To start using vexide, we recommend going through our docs, which contain step-by-step instructions for setting up a development environment using vexide-template and tutorials for many of vexide’s common features.
§Usage
To to get a program running, use the #[vexide::main] attribute on your main function.
use vexide::prelude::*;
#[vexide::main]
async fn main(_peripherals: Peripherals) {
println!("Hello, world!");
}Check out our examples for more examples of different features.
Modules§
- adi
devices - Analog/digital interface (ADI) ports and devices.
- battery
devices - Robot battery information.
- color
devices - Color type for devices and graphics.
- competition
core - Competition control and state.
- controller
devices - Functionality for VEX controllers.
- display
devices - Display and touchscreen input.
- math
devices - Math-related container types.
- os
core - VEXos-related functionality.
- peripherals
devices - Access to a Brain’s peripherals.
- prelude
- Commonly used features of vexide.
- program
core - User program state.
- runtime
async - Async runtime and executor.
- smart
devices - Smart ports and devices.
- sync
sync - Synchronization primitives for async code.
- task
async - Asynchronous multitasking.
- time
coreorasync - Utilities for tracking time.