Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
autons
Autonomous Selection & Routing Library for vexide.
autons is a library that provides standard interfaces for autonomous route selectors
in programs using the vexide robotics runtime. autons also provides some basic reference
implementations of such selectors (see: SimpleSelect) that can be used for selecting
different autonomous routes.
An "autonomous route" is an asynchronous function takes a robot struct and runs during the
autonomous period of a robotics match. When programming robots, we often have many different
routes that we want to choose between depending on conditions of the match. Rather than
uploading these routes as individual programs to different slots, autons provides a way for
us to choose between these routes in a single program at runtime.
async
async
async
Usage
In vexide, you normally have only one autonomous function provided to you through the Compete
trait:
With autons, you can instead use the SelectCompete trait, which is a modified version of
vexide's Compete trait that allows for multiple autonomous routes chosen through a struct
implementing the [Selector] trait. Here is a basic example using the SimpleSelect selector
with two routes on our robot:
use ;
use *;
async
This will draw an autonomous selector to the display, allowing you to pick between different routes.
