#random #rand #vexide #vex #v5

no-std veranda

A rand RNG source for vexide

6 releases

new 0.1.5 Mar 6, 2025
0.1.4 Feb 23, 2025
0.1.3 Nov 15, 2024

#231 in Robotics

Download history 23/week @ 2024-11-18 14/week @ 2024-12-02 12/week @ 2024-12-09 2/week @ 2025-02-10 103/week @ 2025-02-17 57/week @ 2025-02-24 149/week @ 2025-03-03

311 downloads per month

MIT license

10KB
95 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

~4MB
~62K SLoC