Expand description
§vexide
Open-source Rust runtime for VEX V5 robots. vexide provides a no_std Rust runtime,
async executor, device API, and more for the VEX V5 Brain!
§Getting Started
If you’re just getting started, we recommend going through our docs, which provide step-by-step instructions for setting up a development environment and using vexide’s common features.
§Usage
In order to get a program running, use the #[vexide::main] attribute on your main function.
use vexide::prelude::*;
#[vexide::main]
async fn main() {
println!("Hello, world!");
}Check out our examples for more examples of different features.
Modules§
- allocator
allocator - Global heap allocator.
- backtrace
core - Support for capturing stack backtraces.
- competition
core - Competition control and state.
- devices
devices - Hardware abstractions and functionality for peripherals on the V5 Brain.
- float
core - Floating point arithmetic.
- fs
core - Filesystem manipulation operations.
- io
core - Traits, helpers, and type definitions for core I/O functionality.
- os
core - VEXos-related functionality.
- panic
panic - Panic handler for
vexide. - path
core - Path manipulation.
- prelude
- Commonly used features of vexide.
- program
core - User program state.
- runtime
async - Async runtime & executor.
- startup
startup - Startup routine and behavior in
vexide. - sync
core - Synchronization types for async tasks.
- task
async - Asynchronous tasks.
- time
coreorasync - Utilities for tracking time.
Attribute Macros§
- main
macro - vexide’s entrypoint macro