#random #rand #v5 #vex #vexide

no-std veranda

A rand RNG source for vexide

4 releases

0.1.3 Nov 15, 2024
0.1.2 Nov 15, 2024
0.1.1 Nov 15, 2024
0.1.0 Nov 15, 2024

#268 in Robotics

25 downloads per month

MIT license

11KB
103 lines

Veranda

A rand RNG source for vexide programs.

Veranda uses system metrics like brain uptime, program uptime, battery current and voltage, and, optionally, empty ADI ports.

[!NOTE] Veranda is not upheld to the same update schedule as vexide, as it is not an official vexide crate.

Usage

You can choose between two RNG sources:

  • SystemRng: Uses all supported sources of entropy excluding empty ADI ports.
  • AdiRng: Uses all of the sources of entropy used by SystemRng, but can also take advantage of the noise on empty ADI ports.

lib.rs:

Veranda

A rand RNG source for vexide programs.

Veranda uses system metrics like brain uptime, program uptime, battery current and voltage, and, optionally, empty ADI ports.

Dependencies

~2.9–4MB
~61K SLoC