Crate vexide

Crate vexide 

Source
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§

allocatorallocator
Global heap allocator.
backtracecore
Support for capturing stack backtraces.
competitioncore
Competition control and state.
devicesdevices
Hardware abstractions and functionality for peripherals on the V5 Brain.
floatcore
Floating point arithmetic.
fscore
Filesystem manipulation operations.
iocore
Traits, helpers, and type definitions for core I/O functionality.
oscore
VEXos-related functionality.
panicpanic
Panic handler for vexide.
pathcore
Path manipulation.
prelude
Commonly used features of vexide.
programcore
User program state.
runtimeasync
Async runtime & executor.
startupstartup
Startup routine and behavior in vexide.
synccore
Synchronization types for async tasks.
taskasync
Asynchronous tasks.
timecore or async
Utilities for tracking time.

Attribute Macros§

mainmacro
vexide’s entrypoint macro