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
- Global heap allocator.
- backtrace
- Support for capturing stack backtraces.
- competition
- Competition control and state.
- devices
- Hardware abstractions and functionality for peripherals on the V5 Brain.
- float
- Floating point arithmetic.
- fs
- Filesystem manipulation operations.
- io
- Traits, helpers, and type definitions for core I/O functionality.
- os
- VEXos-related functionality.
- panic
- Panic handler for
vexide
. - path
- Path manipulation.
- prelude
- Commonly used features of vexide.
- program
- User program state.
- runtime
- Async runtime & executor.
- startup
- Startup routine and behavior in
vexide
. - sync
- Synchronization types for async tasks.
- task
- Asynchronous tasks.
- time
- Utilities for tracking time.
Attribute Macros§
- main
- vexide’s entrypoint macro