#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

#256 in Robotics

Download history 274/week @ 2024-11-11 23/week @ 2024-11-18 14/week @ 2024-12-02 14/week @ 2024-12-09

70 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.8–4MB
~60K SLoC